UERANSIM
UERANSIM copied to clipboard
How to deal with this problem?RLS failure
./nr-gnb -c ../config/free5gc-gnb.yaml UERANSIM v3.2.3 [2022-03-29 00:39:44.313] [rls-udp] [error] RLS failure [Socket bind failed: Cannot assign requested address] [2022-03-29 00:39:44.319] [sctp] [info] Trying to establish SCTP connection... (10.100.200.12:38412) [2022-03-29 00:39:44.321] [sctp] [info] SCTP connection established (10.100.200.12:38412) [2022-03-29 00:39:44.321] [sctp] [debug] SCTP association setup ascId[5] [2022-03-29 00:39:44.321] [ngap] [debug] Sending NG Setup Request [2022-03-29 00:39:44.327] [ngap] [debug] NG Setup Response received [2022-03-29 00:39:44.327] [ngap] [info] NG Setup procedure is successful
Hello, maybe you have already another program listening on udp port 4997.
Try ss -unlp | grep ':4997'
to check this.
您好,您可能已经有另一个程序在监听 udp 端口 4997。 尝试
ss -unlp | grep ':4997'
检查一下。
I tried to execute the command, but nothing happened
Ok, in config/free5gc-gnb.yaml
have you modified the IP Address for linkIp
? It is the IP your gNB will listen on for Radio Link Simulation. Please double check your gNB's host has an interface up with this address set.
Ok, in
config/free5gc-gnb.yaml
have you modified the IP Address forlinkIp
? It is the IP your gNB will listen on for Radio Link Simulation. Please double check your gNB's host has an interface up with this address set.
linkIp: 10.100.200.100 # gNB's local IP address for Radio Link Simulation (Usually same with local IP) ngapIp: 172.28.82.134 # gNB's local IP address for N2 Interface (Usually same with local IP) gtpIp: 172.28.82.134 # gNB's local IP address for N3 Interface (Usually same with local IP)
List of AMF address information
amfConfigs:
- address: 10.100.200.9
- address: 10.100.200.11
port: 38412
Hi @niyingdong @louisroyer I'm also facing the same issue, Did you get the solution for the above?
when executing ss -unlp | grep ':4997'
I'm getting below one
Croot@ueransim-gnb-deployment-ddf87f74c-bntvq:/UERANSIM# ss -unlp | grep ':4997'
UNCONN 0 0 0.0.0.0:4997 0.0.0.0:* users:(("nr-gnb",pid=1,fd=4))
and this is when firing ps -ax | grep nr-gnb
root@ueransim-gnb-deployment-ddf87f74c-bntvq:/UERANSIM# ps -ax | grep nr-gnb
1 ? Ssl 0:13 ./build/nr-gnb -c ./config/free5gc-gnb.yaml
355 ? Z 0:00 [nr-gnb] <defunct>
1021 pts/2 S+ 0:00 grep --color=auto nr-gnb
Waiting for your quick reply!!
^Croot@rudra:/home/rudra/Desktop/UERANSIM# ./build/nr-gnb -c config/open5gs-gnb.yaml UERANSIM v3.2.6 [2023-02-10 20:18:38.221] [rls-udp] [error] RLS failure [Socket bind failed: Cannot assign requested address] [2023-02-10 20:18:38.222] [sctp] [info] Trying to establish SCTP connection... (172.31.10.16:38412) [2023-02-10 20:18:38.222] [gtp] [error] GTP/UDP task could not be created. Socket bind failed: Cannot assign requested address [2023-02-10 20:18:38.226] [sctp] [error] Binding to 172.31.13.37:0 failed. SCTP bind failed: Cannot assign requested address
root@rudra:/home/rudra/Desktop/UERANSIMss -unlp | grep ':4997' root@rudra:/home/rudra/Desktop/UERANSIM# ss -unlp | grep ':4997' root@rudra:/home/rudra/Desktop/UERANSIM# sudo ss -unlp | grep ':4997' root@rudra:/home/rudra/Desktop/UERANSIM# ps -ax | grep nr-gnb 60677 pts/0 S+ 0:00 grep --color=auto nr-gnb root@rudra:/home/rudra/Desktop/UERANSIM#
pls solve this
Hello @niyingdong @louisroyer,
Did you manage to fix this problem?
I am setting for gnbcfg.yaml file the same IP for the three values linkIp, ngapIp, gtpIp.
Still, I can register and deregister a UE but I am not sure why this error still appears.
and regarding this command I can see the right IP for the gnb:
@aligungr do you have any idea about this error?
Thank you for your help. Nathalie Wehbe