srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
528 stars 179 forks source link

Non cleartext IEs is included #558

Closed faratell closed 6 months ago

faratell commented 7 months ago

I have implimented senario as described in https://github.com/s5uishida/open5gs_5gc_srsran_sample_config.

two openstack instance for open5gs user plane(172.20.70.103) and control plane(172.20.70.123). one openstack image for gnb (172.20.70.110)and another for ue_zmq(172.20.70.115) the configuration file are attached bellow. gnb_zmq.txt registraion ![Uploading registraion.png…]()

ue_zmq.txt amf.txt

all open5gs function are running ok and show no error. gnb connected to amf but I have this error when running ue: Non cleartext IEs is included

04/10 19:14:03.420: [amf] INFO: [Added] Number of gNB-UEs is now 1 (../src/amf/c ontext.c:2523) 04/10 19:14:03.420: [amf] INFO: RAN_UE_NGAP_ID[0] AMF_UE_NGAP_ID[1] TAC[1] C ellID[0x19b0] (../src/amf/ngap-handler.c:562) 04/10 19:14:03.420: [amf] INFO: [suci-0-001-01-0000-0-0-0000000000] Unknown UE b y SUCI (../src/amf/context.c:1789) 04/10 19:14:03.421: [amf] INFO: [Added] Number of AMF-UEs is now 1 (../src/amf/c ontext.c:1570) 04/10 19:14:03.421: [gmm] INFO: Registration request (../src/amf/gmm-sm.c:1061) 04/10 19:14:03.421: [gmm] ERROR: Non cleartext IEs is included [0xc] (../src/amf /gmm-handler.c:116) 04/10 19:14:03.421: [gmm] ERROR: Unknown reg_type[0] (../src/amf/gmm-sm.c:1080) 04/10 19:14:03.421: [gmm] ERROR: gmm_handle_registration_request() failed [95] ( ../src/amf/gmm-sm.c:1084) 04/10 19:14:03.421: [amf] ERROR: Unknown reg_type[0] (../src/amf/nas-path.c:215) 04/10 19:14:03.421: [amf] WARNING: [(null)] Registration reject [95] (../src/amf /nas-path.c:219) 04/10 19:14:03.565: [amf] INFO: UE Context Release [Action:3] (../src/amf/ngap-h andler.c:1677) 04/10 19:14:03.565: [amf] INFO: RAN_UE_NGAP_ID[0] AMF_UE_NGAP_ID[1] (../src/ amf/ngap-handler.c:1678) 04/10 19:14:03.565: [amf] INFO: SUCI[Unknown] (../src/amf/ngap-handler.c:168 1) 04/10 19:14:03.565: [amf] INFO: [Removed] Number of gNB-UEs is now 0 (../src/amf /context.c:2530) 04/10 19:14:03.565: [amf] INFO: [Removed] Number of AMF-UEs is now 0 (../src/amf /context.c:1663) 04/10 19:15:50.247: [app] INFO: Signal-NUM[28] received (Window changed) (../src/main.c:63)

I delete the line 281:286 in srsRAN_4G/srsue/src/stack/upper/nas_5g.cc file. but also have the same error.

pgawlowicz commented 7 months ago

Hi, it is hard to say as we did not prepare the example, as well as the issue inside a third-party core network (Open5gs)

Have you tried our example following this tutorial? https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html#zeromq-based-setup