Cannot connect srsUE to gNB through ZMQ. Gets stuck on RRC Connected. #92
-
Hi all, I've followed the steps in the tutorial. I have built open5gs, srsRAN_Project and srsRAN_4G from sources on Ubuntu 22.04.2 LTS (actually, I'm on a Mac M1 Max). Each of them seems to work fine and apparently the gNB and open5gs connect with each other. However, when the srsUE seems to fail in connecting. Details follow. gNB commit is ce86e47 (Expected behavior) (Observed behavior) Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so Built in Release mode using commit 921f17484 on branch master. Opening 1 channels in RF device=zmq with args=tx_port=tcp://127.0.0.1:2001,rx_port=tcp://127.0.0.1:2000,base_srate=11.52e6 In particular, I do not get the lines: PDU Session Establishment successful. IP: 10.45.10.2 which indicate successful connection (according to the tutorial). When I test the connection with ping, it doesn't work. gNB output is: --== srsRAN gNB (commit ce86e47) ==-- Connecting to AMF on 127.0.0.5:38412 ==== gNodeB started === Configuration files are attached: EDIT: forgot to attach open5gs config files As an aside, the field rf_driver in gnb_zmq.txt does not seem to be correctly parsed. Indeed I get the following error when running the gNB: EDIT: For this reason, after inspecting the config files provided with the release, I switched to ru_sdr. If I do so, it works fine. This is commented inline in the gNB configuration file. To reproduce the issue, just run the open5gs, followed by the gNB, then by the srsUE. If needed, I can provide the specific command lines used, as well as the logs. Thank you in advance for any help you can provide. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
I encountered the same issue when i forgot to add ue1 if the list is empty try: |
Beta Was this translation helpful? Give feedback.
-
@SadeghKrmi I see that Core Network is rejecting your UE registration request so its a issue in your Core Network configuration. I would suggest to check whether you have correctly entered UE's SIM details in the Core Network and also check the MNC and MCC. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I've followed the srsRAN installation guide and successfully set up Open5GS as the core network. However, when I try to run the gNB using the following command: bash ./gnb -c ./gnb_zmq.yaml I encounter the following error: sql --== srsRAN gNB (commit ) ==-- INI was not able to parse amf.++ Could someone help me resolve this issue? It seems to be related to the amf configuration in the gnb_zmq.yaml file, but I haven't been able to fix it. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
@SadeghKrmi I see that Core Network is rejecting your UE registration request so its a issue in your Core Network configuration. I would suggest to check whether you have correctly entered UE's SIM details in the Core Network and also check the MNC and MCC.