herlesupreeth / docker_open5gs

Docker files to run open5gs + IMS + eNB + gNB + NR-UE in a docker
BSD 2-Clause "Simplified" License
311 stars 169 forks source link

UE not attaching!! #246

Closed r00tb33 closed 11 months ago

r00tb33 commented 11 months ago

Hi All,

I am trying to play around with the 5G-SA E2E deployment using zmq driver, everything runs fine but the UE is unable to attach I don't see any attach request from UE side it seems there isn't any communication happening between UE and RAN.

$ docker-compose -f srsue_5g_zmq.yaml up
WARNING: Found orphan containers (udm, smf, metrics, ausf, upf, nssf, bsf, srsgnb_zmq, mongo, amf, scp, webui, nrf, udr, pcf) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating srsue_5g_zmq ... done
Attaching to srsue_5g_zmq
srsue_5g_zmq    | Configuring component: 'ue_5g_zmq'
srsue_5g_zmq    |  * Starting system message bus dbus                    [ OK ] 
srsue_5g_zmq    | avahi-daemon: unrecognized service
srsue_5g_zmq    | Deploying component: 'ue_5g_zmq'
srsue_5g_zmq    | Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_soapy.so libsrsran_rf_zmq.so
srsue_5g_zmq    | Inactive RF plugins: 
srsue_5g_zmq    | Couldn't open , trying /root/.config/srsran/ue.conf
srsue_5g_zmq    | Couldn't open /root/.config/srsran/ue.conf either, trying /etc/srsran/ue.conf
srsue_5g_zmq    | Reading configuration file /etc/srsran/ue.conf...
srsue_5g_zmq    | 
srsue_5g_zmq    | Built in Release mode using commit fa56836b1 on branch HEAD.
srsue_5g_zmq    | 
srsue_5g_zmq    | Opening 1 channels in RF device=zmq with args=tx_port=tcp://172.22.0.34:2001,rx_port=tcp://172.22.0.37:2000,id=ue,base_srate=11.52e6
srsue_5g_zmq    | Supported RF device list: UHD soapy zmq file
srsue_5g_zmq    | CHx base_srate=11.52e6
srsue_5g_zmq    | CHx id=ue
srsue_5g_zmq    | Current sample rate is 1.92 MHz with a base rate of 11.52 MHz (x6 decimation)
srsue_5g_zmq    | CH0 rx_port=tcp://172.22.0.37:2000
srsue_5g_zmq    | CH0 tx_port=tcp://172.22.0.34:2001
srsue_5g_zmq    | Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
srsue_5g_zmq    | Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
srsue_5g_zmq    | Waiting PHY to initialize ... done!
srsue_5g_zmq    | Attaching UE...
srsue_5g_zmq    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2251
srsue_5g_zmq    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2281
srsue_5g_zmq    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2311
srsue_5g_zmq    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2341
srsue_5g_zmq    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2371
srsue_5g_zmq    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2401
srsue_5g_zmq    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2431
^CGracefully stopping... (press Ctrl+C again to force)
Stopping srsue_5g_zmq ... 
Killing srsue_5g_zmq  ... done

Can anyone point out whats going wrong here?

Thank You!!

herlesupreeth commented 11 months ago

Please pull the latest changes in this repo and give it a try. This commit https://github.com/herlesupreeth/docker_open5gs/commit/85878f7ebb040c144405cd2aa2e8013e050a3693 should have fixed that issue.