Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run NSA deployment. #16

Open
r00tb33 opened this issue Nov 21, 2023 · 1 comment
Open

Unable to run NSA deployment. #16

r00tb33 opened this issue Nov 21, 2023 · 1 comment

Comments

@r00tb33
Copy link

r00tb33 commented Nov 21, 2023

Hi @gmaruzz ,

I am trying to run the NSA deployment but facing the error connect(): Connection timed out & Failed to initiate NG connection. Attempting reconnection in 10 seconds.

Here are the logs:

1. Open5Gs

open5Gs.log

2. gNB

$ docker-compose -f srsgnb_zmq.yaml up && docker container attach srsgnb_zmq

WARNING: Found orphan containers (metrics, amf, hss, osmomsc, nrf, ausf, upf, osmohlr, webui, nssf, sgwc, smf, pcf, sgwu, udr, bsf, udm, pcrf, scp, mme, mongo) 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 srsgnb_zmq ... done
Attaching to srsgnb_zmq
srsgnb_zmq    | Configuring component: 'gnb_zmq'
srsgnb_zmq    |  * Starting system message bus dbus                      [ OK ] 
srsgnb_zmq    | avahi-daemon: unrecognized service
srsgnb_zmq    | Deploying component: 'gnb_zmq'
srsgnb_zmq    | ---  Software Radio Systems LTE eNodeB  ---
srsgnb_zmq    | 
srsgnb_zmq    | Couldn't open , trying /root/.config/srsran/enb.conf
srsgnb_zmq    | Couldn't open /root/.config/srsran/enb.conf either, trying /etc/srsran/enb.conf
srsgnb_zmq    | Reading configuration file /etc/srsran/enb.conf...
srsgnb_zmq    | 
srsgnb_zmq    | Built in Release mode using commit 10f81ca03 on branch lc/main.
srsgnb_zmq    | 
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | Opening 1 channels in RF device=zmq with args=fail_on_disconnect=true,tx_port=tcp://172.22.0.22:2000,rx_port=tcp://172.22.0.34:2001,id=enb,base_srate=23.04e6
srsgnb_zmq    | Supported RF device list: UHD soapy zmq lime file
srsgnb_zmq    | CHx base_srate=23.04e6
srsgnb_zmq    | CHx id=enb
srsgnb_zmq    | Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation)
srsgnb_zmq    | CH0 rx_port=tcp://172.22.0.34:2001
srsgnb_zmq    | CH0 tx_port=tcp://172.22.0.22:2000
srsgnb_zmq    | CH0 fail_on_disconnect=true
srsgnb_zmq    | 
srsgnb_zmq    | ==== eNodeB started ===
srsgnb_zmq    | Type <t> to view trace
srsgnb_zmq    | Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation)
srsgnb_zmq    | Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation)
srsgnb_zmq    | Setting frequency: DL=1842.5 Mhz, DL_SSB=1842.05 Mhz (SSB-ARFCN=368410), UL=1747.5 MHz for cc_idx=0 nof_prb=52
t
srsgnb_zmq    | RACH:  slot=1931, cc=0, preamble=0, offset=0, temp_crnti=0x4601
srsgnb_zmq    | Disconnecting rnti=0x4601.
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds
srsgnb_zmq    | connect(): Connection timed out
srsgnb_zmq    | Failed to initiate NG connection. Attempting reconnection in 10 seconds

3. UE

$ docker-compose -f srsue_5g_zmq.yaml up -d && docker attach srsue_5g_zmq

WARNING: Found orphan containers (hss, sgwu, udm, osmomsc, bsf, pcrf, scp, ausf, udr, upf, srsgnb_zmq, smf, webui, pcf, metrics, nrf, mme, nssf, mongo, amf, osmohlr, sgwc) 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

Built in Release mode using commit 10f81ca03 on branch lc/main.

Opening 1 channels in RF device=zmq with args=tx_port=tcp://172.22.0.34:2001,rx_port=tcp://172.22.0.22:2000,id=ue,base_srate=23.04e6
Supported RF device list: UHD soapy zmq lime file
CHx base_srate=23.04e6
CHx id=ue
Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation)
CH0 rx_port=tcp://172.22.0.22:2000
CH0 tx_port=tcp://172.22.0.34:2001
Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation)
Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation)
Waiting PHY to initialize ... done!
Attaching UE...
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=1931
Received RRC Reject
Random Access Complete.     c-rnti=0x4601, ta=0

Have I misconfigured something?

Or is the issue withing the components itself?

Awaiting for a response...

Thanks!!

@GinesGarcia
Copy link

Hi,
There is the same issue here when trying to deploy using the main docker-compose file of the repository. The problem seems to be related with Open5GS deployment and someone proposed this (https://www.mail-archive.com/[email protected]/msg169231.html) in a mailing list but I'm still trying to figure out if it also applies here.

Any ideas?

Regards,
Ginés.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants