[INFO][AUSF][UeAuthPost] 403 Forbidden

detail logs as the below , there is “403” Forbidden , how i can solve it ? for subscription-data,

2020-10-14T08:41:59+08:00 [INFO][UDM][UEAU] Handle GenerateAuthDataRequest
2020-10-14T08:41:59+08:00 [INFO][UDM][UEAU] suciPart [suci 0 001 01 0 0 0 1234567890]
2020-10-14T08:41:59+08:00 [INFO][UDM][UEAU] scheme 0
2020-10-14T08:41:59+08:00 [INFO][UDM][UEAU] SUPI type is IMSI
2020-10-14T08:41:59+08:00 [INFO][UDR][DataRepo] Handle QueryAuthSubsData
2020-10-14T08:41:59+08:00 [INFO][UDR][GIN] | 404 | 127.0.0.1 | GET | /nudr-dr/v1/subscription-data/imsi-001011234567890/authentication-data/authentication-subscription |
2020-10-14T08:41:59+08:00 [ERRO][UDM][UEAU] Return from UDR QueryAuthSubsData error
2020-10-14T08:41:59+08:00 [INFO][UDM][GIN] | 403 | 127.0.0.1 | POST | /nudm-ueau/v1/suci-0-001-01-0-0-0-1234567890/security-information/generate-auth-data |
2020-10-14T08:41:59+08:00 [INFO][AUSF][UeAuthPost] 403 Forbidden
2020-10-14T08:41:59+08:00 [INFO][AUSF][GIN] | 500 | 127.0.0.1 | POST | /nausf-auth/v1/ue-authentications |
2020-10-14T08:41:59+08:00 [ERRO][AMF][Gmm] Nausf_UEAU Authenticate Request Failed: &{Type: Title: Status:500 Detail: Instance: Cause:AV_GENERATION_PROBLEM InvalidParams:[]} (/home/da40/free5gc/src/amf/gmm/handler.go:1721 free5gc/src/amf/gmm.AuthenticationProcedure)


my Subscribers informtion as the below
PLMN ID*
00101
SUPI (IMSI)*
001011234567890
EAP_AKA_PRIME
K
00112233445566778899AABBCCDDEEFF
OPc
000102030405060708090A0B0C0D0E0F

What’s the procedure you are testing?

Do you add the subscription data into mongodb via webconsole or mongo command?

I add new one data into mongodb via webconsole (http),
and i wanna to do Registration testing , but i use real RAN(amarisoft)

webconsole will issue the below message …when i modify my data

2020-10-14T17:32:51+08:00 [INFO][WebUI][GIN] | 200 | 192.168.40.71 | GET | /api/subscriber/[object Object]/undefined |

Hi,
Are you running free5gc v3? I observed similar issues. Maybe don’t try to modify the entry - only add and delete them. Modifications are (at least for me) not working.

Offtopic: is free5gc v3 working with the Amarisoft box in SA? (If you are working on that - maybe we should sync :wink: )

Best,
Ralf Kundel

HI,

I have same issue
our testing uses free5gc v3

Hi,
This situation is caused due to bug in Modify function, and it has been fixed in the latest version (v3.0.5). Please try again and let us know if you have any questions.

Thanks