free5gc / free5gc

Open source 5G core network base on 3GPP R15
https://free5gc.org
Apache License 2.0
1.85k stars 606 forks source link

[Bugs] Registration Status Update Error when connecting to a physical UE #567

Open osamirabo opened 2 months ago

osamirabo commented 2 months ago

Describe the bug

Currently we are trying to deploy a physical setup using the following components:

but this doesn't happen and instead we got the following error : amf | 2024-05-20T12:10:42.713761098Z [ERRO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000001] Registration Status Update Error[: server no response]

To Reproduce

Steps to reproduce the behavior:

  1. Change config as described in the configs file
  2. Add the subscriber in the web console with the corresponding values
  3. Run free5GC: docker compose -f docker-compose-build.yaml up
  4. Run srsRAN: docker compose -f srsgnb.yaml down
  5. Change UE from airplane mode to data

Expected behavior

UE shall connects to 5G network but this don't happen.

Screenshots

Screenshot from 2024-05-20 16-23-09

Environment (please complete the following information):

Trace File

Configuration File

config.zip

PCAP File

wireshark_free5g_pcap.zip

Log File

amf.log.txt

amf | 2024-05-20T12:10:42.713761098Z [ERRO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000001] Registration Status Update Error[: server no response] nrf | 2024-05-20T12:10:42.714954709Z [INFO][NRF][DISC] Handle NFDiscoveryRequest nrf | 2024-05-20T12:10:42.717942641Z [INFO][NRF][GIN] | 200 | 10.100.200.10 | GET | /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=AMF | amf | 2024-05-20T12:10:42.718718668Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.250:45511] Send Reroute Nas Request amf | 2024-05-20T12:10:42.719221065Z [ERRO][AMF][Gmm] AMF can not select an target AMF by NRF

System architecture

free5GC is deployed using docker

Walkthrough

It seems that the mobile RequestedNssai - ServingSnssai: &{Sst:1 Sd:}, but we cannot configure free5GC to accept Sd = "". We tried to reset ore set SD from the mobile but we don't succeeded.

ianchen0119 commented 2 months ago

Hi @osamirabo

This issue will be fixed in the next release. Thanks for your information.

linouxis9 commented 2 months ago

Hi @osamirabo,

In the meanwhile, does it work if you configure your network functions with sd: "ffffff"

Valentin

osamirabo commented 1 month ago

@ianchen0119 Great to hear it will be fixed in next release. Thank you for your quick response.

osamirabo commented 1 month ago

@linouxis9 I tried using sd: "ffffff" but still have the same issue

ianchen0119 commented 1 month ago

@osamirabo Did you set the related slice (sd: ffffff) in NF configurations?

Thanks.

osamirabo commented 1 month ago

@ianchen0119

Yes I set it in the configuration files and in the webconsole interface also. Please find the config files attached config_0xffffff.zip

Thank You