With free5gc v3.0.5, not able to test Registration TC. After Registration Request, AMF is not able to get AUSF NF Instance from NRF

Free5gc_3_0_5_Installation.zip (647.3 KB)

INstalled the latest free5gc version 3.0.5. Installation procedure followed as per Installation · free5gc/free5gc Wiki · GitHub

Make was successful

./test.sh TestRegistration — failed with below error "Nausf_UEAU Authenticate Request Error: server no response"

2021-02-02T19:03:34+05:30 [INFO][AMF][GMM][AMF_UE_NGAP_ID:1] Handle Registration Request
2021-02-02T19:03:34+05:30 [INFO][AMF][GMM][AMF_UE_NGAP_ID:1] Authentication procedure
2021-02-02T19:03:34+05:30 [INFO][NRF][DSCV] Handle NFDiscoveryRequest
2021-02-02T19:03:34+05:30 [INFO][NRF][GIN] | 200 | 127.0.0.1 | GET | /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=AUSF |
2021-02-02T19:03:34+05:30 [ERRO][AMF][GMM][AMF_UE_NGAP_ID:1] Nausf_UEAU Authenticate Request Error: server no response
2021-02-02T19:03:34+05:30 [ERRO][AMF][GMM] Authentication procedure failed

In wireshark log, After Registration Request, AMF is not able to get AUSF NF Instance from NRF.

Below logs are attached.
Wireshark log – Free5gc_3_0_5_LogCapture.pcap
copy of free5gc/log folder after Test Registration - log_3_0_5.zip
TestRegistration.txt — Registration test output
Free5gc_3_0_5_Installation.txt - INstallation output

Hi,
it might be that there are old entries in the database. Try to delete it by:

  1. run mongo with “mongo” in the CLI
  2. delete the following entries:

db.NfProfile.remove({})

db.policyData.ues.amData.remove({})
db.policyData.ues.smData.remove({})
db.subscriptionData.authenticationData.authenticationStatus.remove({})
db.subscriptionData.authenticationData.authenticationSubscription.remove({})
db.subscriptionData.contextData.amf3gppAccess.remove({})
db.subscriptionData.provisionedData.amData.remove({})
db.subscriptionData.provisionedData.smData.remove({})
db.subscriptionData.provisionedData.smfSelectionSubscriptionData.remove({})

In my case that helped.

best,
Ralf

Hello,
I am having the same issue and could not solve it with deleting old entries. Any other suggestions please.
[ERRO][AMF][GMM][AMF_UE_NGAP_ID:1] Nausf_UEAU Authenticate Request Error: server no response
2021-06-01T21:33:44Z [ERRO][AMF][GMM] Authentication procedure failed

@hela-hcl

Please follow New Subscriber via webconsole · free5gc/free5gc Wiki · GitHub to do again and do the step 2 if you have run the previous version of free5GC before.