srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.36k stars 1.1k forks source link

Non cleartext IEs is included #1321

Open faratell opened 2 months ago

faratell commented 2 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

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.

achkonsa commented 2 months ago

maybe it can be solved by this :)