UE Authentication issue when using gnbsim simulator

Hi,

I am getting following error in UDR when running registration from gnbsim.

2020-12-04T11:50:52Z [INFO][UDR][GIN] | 404 |  172.16.223.197 | GET     | /nudr-dr/v1/subscription-data/imsi-208930000748700/authentication-data/authentication-subscription | (/go/src/free5gc/lib/logger_util/logger_util.go:76 free5gc/lib/logger_util.ginToLogrus.func1)

The ueId is also present in database

db.subscriptionData.authenticationData.authenticationSubscription.find()
{ "_id" : ObjectId("5fca0da16e47f726ac05bce2"), "sequenceNumber" : "16f3b3f70fc3", "authenticationManagementField" : "8000", "milenage" : { "op" : { "encryptionAlgorithm" : 0, "encryptionKey" : 0, "opValue" : "c9e8763286b5b9ffbdf56e1297d0887b" } }, "opc" : { "encryptionAlgorithm" : 0, "encryptionKey" : 0, "opcValue" : "981d464c7c52eb6e5036234984ad0bcf" }, "ueId" : "imsi-208930000748700", "authenticationMethod" : "5G_AKA", "permanentKey" : { "encryptionKey" : 0, "permanentKeyValue" : "5122250214c33e723a5dd523fc145fc0", "encryptionAlgorithm" : 0 } }

I am running this on kubernetes and gnbsim from a VM.

Actually I am getting following error in AUSF and on debugging found that issue in UDR

2020-12-04T12:10:28Z [DEBU][AMF][Gmm] UE in GMM State[DeRegistered] (/go/src/free5gc/src/amf/gmm/sm.go:14 free5gc/src/amf/gmm.DeRegistered)
2020-12-04T12:10:28Z [DEBU][AMF][Gmm] Start Authentication (/go/src/free5gc/src/amf/gmm/sm.go:44 free5gc/src/amf/gmm.DeRegistered)
2020-12-04T12:10:28Z [DEBU][AMF][Gmm] UE in GMM State [Authentication] (/go/src/free5gc/src/amf/gmm/sm.go:124 free5gc/src/amf/gmm.Authentication)
2020-12-04T12:10:28Z [INFO][AMF][Gmm] Authentication procedure (/go/src/free5gc/src/amf/gmm/handler.go:1675 free5gc/src/amf/gmm.AuthenticationProcedure)
2020-12-04T12:10:28Z [DEBU][AMF][Gmm] UE has SUCI / SUPI (/go/src/free5gc/src/amf/gmm/handler.go:1679 free5gc/src/amf/gmm.AuthenticationProcedure)
2020-12-04T12:10:58Z [ERRO][AMF][Gmm] Nausf_UEAU Authenticate Request Failed: &{Type: Title: Status:500 Detail: Instance: Cause:AV_GENERATION_PROBLEM InvalidParams:[]} (/go/src/free5gc/src/amf/gmm/handler.go:1721 free5gc/src/amf/gmm.AuthenticationProcedure)
2020-12-04T12:10:58Z [ERRO][AMF][NGAP] NGAP decode error : sequence truncated (/go/src/free5gc/src/amf/ngap/dispatcher.go:37 free5gc/src/amf/ngap.Dispatch)
2020-12-04T12:10:58Z [DEBU][AMF][NGAP] Read EOF from client (/go/src/free5gc/src/amf/ngap/service/service.go:145 free5gc/src/amf/ngap/service.handleConnection)

From UDM logs

2020-12-04T12:10:58Z [ERRO][UDM][UEAU] Return from UDR QueryAuthSubsData error (/go/src/free5gc/src/udm/producer/generate_auth_data.go:174 free5gc/src/udm/producer.GenerateAuthDataProcedure)
2020-12-04T12:10:58Z [INFO][UDM][GIN] | 403 |  172.16.223.194 | POST    | /nudm-ueau/v1/suci-0-208-93-0000-0-0-0000748700/security-information/generate-auth-data | (/go/src/free5gc/lib/logger_util/logger_util.go:76 free5gc/lib/logger_util.ginToLogrus.func1)

Any help or suggestion on this ??