srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

Open5gs Attach Reject

Open miniskar opened this issue 2 years ago • 1 comments

Open5gs Attach Reject

I am trying Open5gs + srsran 4g (ENB) + srsran 4g (UE). I am getting Open5gs attach reject. It looks like some Open5gs configuration issue for srsran.

Setup Details

I have attached configuration files used for Open5gs and srsran4g in the same folder. ENB: open5gs_srsran4g/enb.conf UE: open5gs_srsran4g/ue.conf RR: open5gs_srsran4g/rr.conf RB: open5gs_srsran4g/rb.conf MME: open5gs_srsran4g/mme.yaml

Attachment of Configuration files: open5gs_srsran4g.tar.gz

Run

$ // Run Open5gs all services $ srsenb --rf.device_name=zmq --rf.device_args="tx_port=tcp://127.0.0.1:2000,rx_port=tcp://127.0.0.1:2001,id=enb,base_srate=23.04e6" --log.all_level=debug --log.filename=/tmp/enb0.log $ srsue /etc/srsran/ue.conf --rf.device_name=zmq --rf.device_args="tx_port=tcp://127.0.0.1:2001,rx_port=tcp://127.0.0.1:2000,id=ue,base_srate=23.04e6" --log.all_level=debug --log.filename /tmp/ue1.log

[Specify details of the test setup. This would help us reproduce the problem reliably] e.g. Network configuration, Operation System, Hardware, RF front-end, library and driver versions

Expected Behavior

UE suppose to establish the connection with ENB.

Actual Behaviour

It is throwing several errors and warnings image

image

srsUE error: image

All logs are attached: all_logs.tar.gz

Steps to reproduce the problem

  1. Run Open5gs
  2. Run srsRan4g ENB
  3. Run srsRan4g UE

Additional Information

None

miniskar avatar Oct 24 '23 02:10 miniskar

It appears that your UPF may not have been running at the time.

10/23 22:30:45.760: [pfcp] DEBUG: [1] LOCAL Response Timeout for step 1 type 5 peer [127.0.0.7]:8805 (../lib/pfcp/xact.c:579) 10/23 22:30:45.760: [pfcp] WARNING: [1] LOCAL No Reponse. Give up! for step 1 type 5 peer [127.0.0.7]:8805 (../lib/pfcp/xact.c:599) 10/23 22:30:49.253: [smf] WARNING: Retry to association with peer [127.0.0.7]:8805 failed (../src/smf/pfcp-sm.c:110)

jmasterfunk84 avatar Dec 14 '23 01:12 jmasterfunk84