On latest v3.05, PDU session fails with 'has no pre-config route', referred to previous similar post, no luck

I’m getting the same ‘has no pre-config route’ error along with a few AMF errors and a somewhat similar go panic in my free5gc log. The same process worked in v3.0.4. I didn’t add all the logs as this can probably be figured out with the logs you provided; but I think my error is a little different.

There was one error higher in the log:

2021-02-02T16:54:38-07:00 [ERRO][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-208930000000003] RequestedNssai: [{ServingSnssai:0xc000303740 HomeSnssai:<nil>}]

And here is the panic:

2021-02-02T16:54:38-07:00 [INFO][SMF][GSM] In HandlePDUSessionEstablishmentRequest                                                                                                                       
2021-02-02T16:54:38-07:00 [INFO][NAS][Convert] ProtocolOrContainerList:  [0xc00012d440 0xc00012d480]                                                                                                     
2021-02-02T16:54:38-07:00 [INFO][SMF][GSM] Protocol Configuration Options                            
2021-02-02T16:54:38-07:00 [INFO][SMF][GSM] &{[0xc00012d440 0xc00012d480]}                            
2021-02-02T16:54:38-07:00 [INFO][SMF][GSM] Didn't Implement container type IPAddressAllocationViaNASSignallingUL                                                                                         
2021-02-02T16:54:38-07:00 [INFO][SMF][PduSess] PCF Selection for SMContext SUPI[imsi-208930000000003] PDUSessionID[1]                                                                                     
2021-02-02T16:54:38-07:00 [INFO][NRF][DSCV] Handle NFDiscoveryRequest                                
2021-02-02T16:54:38-07:00 [INFO][NRF][GIN] | 200 |       127.0.0.1 | GET     | /nnrf-disc/v1/nf-instances?requester-nf-type=SMF&target-nf-type=PCF |
2021-02-02T16:54:38-07:00 [INFO][PCF][SMpolicy] Handle CreateSmPolicy                                
2021-02-02T16:54:38-07:00 [INFO][UDR][DRepo] Handle PolicyDataUesUeIdSmDataGet                                                                                                                           
2021-02-02T16:54:38-07:00 [INFO][UDR][GIN] | 200 |       127.0.0.1 | GET     | /nudr-dr/v1/policy-data/ues/imsi-208930000000003/sm-data?dnn=internet&snssai=%7B%22sst%22%3A1%2C%22sd%22%3A%22010203%22%7D |                                                
2021-02-02T16:54:38-07:00 [INFO][PCF][GIN] | 201 |       127.0.0.1 | POST    | /npcf-smpolicycontrol/v1/sm-policies |                                                                                     
CheckUEHasPreConfig                               
map[imsi-208930000000003:0xc000451790 imsi-2089300007486:0xc000451950 imsi-2089300007487:0xc000451870]                                                                                                   
2021-02-02T16:54:38-07:00 [INFO][SMF][PduSess] SUPI[imsi-208930000000003] has pre-config route                                                                                                           


2021/02/02 16:54:38 [Recovery] 2021/02/02 - 16:54:38 panic recovered:                                
runtime error: invalid memory address or nil pointer dereference                                     
/usr/local/go/src/runtime/panic.go:212 (0x449339)                                                    
        panicmem: panic(memoryError)              
/usr/local/go/src/runtime/signal_unix.go:695 (0x449188)                                              
        sigpanic: panicmem()                      
/root/free5gc/NFs/smf/context/upf.go:106 (0xb345c3)                                                  
        (*UPFInterfaceInfo).IP: if pduSessType == nasMessage.PDUSessionTypeIPv4 && len(i.IPv4EndPointAddresses) != 0 {
/root/free5gc/NFs/smf/context/datapath.go:389 (0xb2a4b7)                                             
        (*DataPath).ActivateTunnelAndPDR: if upIP, err := iface.IP(smContext.SelectedPDUSessionType); err != nil {                                                                                        
/root/free5gc/NFs/smf/producer/pdu_session.go:144 (0xb598a2)                                         
        HandlePDUSessionSMContextCreate: defaultPath.ActivateTunnelAndPDR(smContext, 255)                                                                                                                
/root/free5gc/NFs/smf/pdusession/api_sm_contexts_collection.go:54 (0xb6b484)                                                                                                                             
        HTTPPostSmContexts: HTTPResponse := producer.HandlePDUSessionSMContextCreate(req.Body.(models.PostSmContextsRequest))
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 (0x996f5a)                                
        (*Context).Next: c.handlers[c.index](c)                                                      
/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:83 (0x9a932f)                                
        RecoveryWithWriter.func1: c.Next()                                                           
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 (0x996f5a)                                
        (*Context).Next: c.handlers[c.index](c)                                                      
/go/pkg/mod/github.com/free5gc/[email protected]/logger_util.go:65 (0x9aaedd)                                                                                                                           
        ginToLogrus.func1: c.Next()               
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 (0x996f5a)                                
        (*Context).Next: c.handlers[c.index](c)                                                      
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:409 (0x9a0a05)                                    
        (*Engine).handleHTTPRequest: c.Next()                                                        
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:367 (0x9a011c)                                    
        (*Engine).ServeHTTP: engine.handleHTTPRequest(c)                                             
/go/pkg/mod/golang.org/x/[email protected]/http2/server.go:2152 (0x9ce96a)                                                                                                          
        (*serverConn).runHandler: handler(rw, req)                                                   
/usr/local/go/src/runtime/asm_amd64.s:1373 (0x463030)                                                
        goexit: BYTE    $0x90   // NOP                                                               

2021-02-02T16:54:38-07:00 [INFO][SMF][GIN] | 500 |       127.0.0.1 | POST    | /nsmf-pdusession/v1/sm-contexts |                                                                                         
2021-02-02T16:54:38-07:00 [ERRO][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-208930000000003] CreateSmContextRequest Error: undefined response type