Error in amf and smf while connecting UE

Dear,
when I am running free5GC core stage 1, and i am trying to connect to ue, i am getting below error in smf:

[06/23 14:15:50.034] INFO: APN_type: 2 (smf_context.c:1466)
[06/23 14:15:50.035] ERRR: CHECK CONFIGURATION: Cannot find UE Pool (smf_context.c:1329)
[06/23 14:15:50.035] ASSERT: !(subnet). (smf_context.c:1342)
[06/23 14:15:50.035] ASSERT: !(sess->ipv4). Can’t allocate IPv4 Pool (smf_context.c:817)
[06/23 14:15:50.035] ASSERT: !(sess). No Session Context (smf_context.c:1470)
[06/23 14:15:50.035] SMF try to terminate

in amf:

2020/06/23 14:15:50 error making request: Post “https://127.0.0.1:8080/nsmf-pdusession/v1/sm-contexts”: read tcp 127.0.0.1:36960->127.0.0.1:8080: read: connection reset by peer

any suggestion would be very helpful.

Thanks

Dear @vikash,

Can you provide your config?

Dear,
I tried to debug this from RAN side, and i found the solution like i was not providing the correct CIDR for UE allocation in free5GC.conf file, after providing the correct CIDR the problem got resolved.
Thanks for your help.

1 Like

Do you need to change free5gc.conf file in order to register UE? Is the web portal enough?

Best Regards,
Ying

Dear @ywang06,
no need to change free5gc.conf file apart from our corresponding ip addresses with cidr value. i think web portal is enough with some modifications like giving some examples such as if IP addresses are of class C then cidr would be /24 etc…

i have attached the web portal value i modified according to my requirement. and my ue is able to access DN.

1 Like

Got it, thank you so much. I think we should add the PGW IP value as well as you shown here. We will try it.
Best Regards,
Ying