aligungr / UERANSIM

Open source 5G UE and RAN (gNodeB) implementation.
GNU General Public License v3.0
758 stars 316 forks source link

512 UE subscribe failed #392

Open williamlin0504 opened 3 years ago

williamlin0504 commented 3 years ago

Sorry for asking questions so frequently, but I'm facing some problems. For the scenario of my work I need to test multiple user subscribe to free5gc as many as I could, so I run the command ./nr-ue -c ../config/free5gc-ue.yaml -n 512, but it seems the server is not able to handle the request. image image

aligungr commented 3 years ago

@williamlin0504 Thanks for the question.

I once saw this error from some other user. I suspect that there is a bug in RRC layer about the initial random IDs, but I'm not sure.

I'll try to figure this out.

Thanks

williamlin0504 commented 2 years ago

I've found this error on my free5gc docker-compse server, while the [error] Initial random ID conflict [380760590264], discarding RRC Setup Request comes out, hope this will help out. This error also bumps out when I try the command ping -I uesimtun0 google.com

image

And also, my ping never success image

Let me know if any log or image I need to provide. Thanks.

William Lin Fu Jen Catholic University Department of Information Management

williamlin0504 commented 2 years ago

With a brief status report, I just done my ping success with the solution at free5gc-compose which is the 26 one.

Still I'm not trying a too large number, I type in sudo ./nr-ue -c ../config/free5gc-ue.yaml -n 10 The output result is the same.

AMF Log: image

GNB Log: image

aligungr commented 2 years ago

@williamlin0504

Ill try to fix this

aligungr commented 2 years ago

@williamlin0504

I was on holiday and now could allocate some time for this issue.

I fixed this and pushed to the master branch. Please try again with the latest code. And let me know if it's working.

Thanks

noormohammedli commented 2 years ago

Hello @williamlin0504 @aligungr , I am trying to all many UE but i have this issues, This is my logs file could you please check it.

error when i run 10 ue at the same time.zip

I have the same issue with RRT "Initial random ID conflict [451364123779], discarding RRC Setup Request"

Thanks, Noor

aligungr commented 2 years ago

Hello @noormohammedli I think your UERANSIM is outdated according to your logs, so please try again with the latest version.