Comments (17)
The issue was introduced in commit 065ac91
from srsran_project.
Hi @smunaut , we were able to reproduce the issue and provided a fix. Could you test if:
https://github.com/srsran/srsRAN_Project/tree/fix_disconnect
fixes it for you?
FYI, the problem seemed to be we were using the extended size bit in the MAC header to indicate the size of a PDU which didn't need it.
from srsran_project.
@ismagom 🎉 It works perfectly. Been connected for 10 min without issues. It also goes IDLE after 5s inactivity and comes back directly no issues there either.
Thanks for the fix !
Is that behavior phone dependent that it wasn't noticed before ?
from srsran_project.
The behaviour is phone dependant yes. Even depends on the release, for instance the Quectel RM500 has the issue but the RM520 doesn't...
from srsran_project.
Release 23_10_1
works fine too FWIW.
I'll try to bisect but not sure how that will work out.
from srsran_project.
Around 66e7ef966adb5b08634b897483db882514857d06
is my best guess from the bisecting ... not super easy to tell because although in recent commits the bug happens very quickly, in some older commits, it happens after a longer time, and some commits around there just plain crash/segfault, but it should be close I think.
bcbc26eec2c5935bf7af5dc09216b397015f4ddf
a few commits before seems to be fine.
from srsran_project.
Thanks for reporting this @smunaut. The git commit hashs you mentioned as stable are quite old, so it is weird that this would remain undetected for so long.
Can you share new logs with the gnb mac log set to debug level? I want to observe the SINR of the PUCCH that is reporting ack=222
(which means inability to detect the ACKs)
Edit: Sorry, can you also set the phy log to debug level? I hope it won't be too heavy
from srsran_project.
Hi @frankist
Sure, here's the requested log attached.
gnb_log.zip
Once with just MAC as debug and once with both PHY and MAC. (I didn't see the "edit" at first 😅 )
And yeah ,those commits are quite old so I'm not sure why I would be the only one to hit that, I find it weird too.
Although at those commit, although the same issue seems to happen, it's not as "immediate", it can take a couple of minutes.
But with 23_10 for sure it works fine, I've been connected all morning without issue and when I go out of RF coverage, I do get lots of errors and then loose connection, but when I come back, it reconnects immediately.
With latest master when the issue occur, getting the phone to reconnect is a hassle, I need to go in/out of airplane mode several time, change APN, use the 5G forcer on/off and eventually it will retry but it takes a while ...
from srsran_project.
Hi @smunaut , could you repeat the same log with the release 23_10_1
that works? thanks
from srsran_project.
@ismagom Sure. Here's the same log, using the same config on 23_10 _1 and running a speedtest while connected.
from srsran_project.
sorry to disturb...but my version is 23_10_1-1542-g4d9f22329
, it still gets released exactly after 5 lines gnb output. Always 5 lines...
from srsran_project.
@achkonsa Your issue maybe different than what @smunaut is facing. In your case the behavior maybe due to UE inactivity timer. You could use the below configuration in your gNB config file so that UE is not released after 5 seconds of inactivity (inactivity time is by default set to 5 seconds)
cu_cp:
inactivity_timer: 7200
from srsran_project.
thank you so much!!! It helps me a loooooot. And I want to ask that does 7200 mean the gnb will end after 7200 seconds? Or it will keep connection all the time? Thanks a loooooot!!!!! By the way, my partner does not meet this issue. I wonder why...His version is 23_10_1-821-g0b2702cca
...:)
from srsran_project.
And I want to ask that does 7200 mean the gnb will end after 7200 seconds?
inactivity_timer
represents the time in seconds after which UE gets release if there is no activity in UE (e.g. no data flow from/to UE etc). Its not the time after which gNB will end.
from srsran_project.
@achkonsa Please open a discussion if you want to discuss this idle behavior but this is distinct from the actual problem discussed in this issue.
from srsran_project.
OK, Im sorry.
from srsran_project.
And as a side question : was I anywhere close with the bisect as to where that was introduced ? 😅
from srsran_project.
Related Issues (20)
- Not all UEs recoved their data after a reestablishment. HOT 53
- RRC released for ZMQ setup: DNN Not Supported OR Not Subscribed in the Slice No GUTI allocated HOT 5
- ZMQ ue-gnb connection validation HOT 21
- ORAN cannot connect a UE HOT 1
- Error trying to set UEs with 25 PRBs HOT 6
- RF status overflow HOT 19
- Failed to connect SCTP socket to 127.0.0.100:38412. error="Connection refused" timeout=0ms srsGNB ERROR: Failed to create SCTP gateway. HOT 2
- High DL BLER when Running Ping Tests with 4X2 MIMO VS 2X2 MIMO HOT 13
- No U-plane packets from RU to DU HOT 12
- gNB is not scheduling uplink C-plane on release_24_04 HOT 14
- UE Fales to attach to the 5G Network HOT 22
- UEs Connected but can't reach the core HOT 56
- Capturing IQ data for zmq-based setup HOT 17
- srsRAN gNB with srsUE over ZMQ, but not send PRACH HOT 28
- Antenna Numbers on srsRAN gNB and Amarisoft UE Need Synchronization with New Version HOT 9
- Problem with FDD band n28 - 15 kHz HOT 12
- Starting the gnb got "Floating point exception" on 24.04 HOT 2
- Data throughput limited to 600-800 Mbps HOT 3
- Issue when connecting 2 RUs, UE is attaching to only one RU HOT 3
- gNB crashing for long run HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srsran_project.