Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
146 stars 83 forks source link

Issue with Dual Connectivity #112

Closed AlexandrLangolfCAU closed 1 year ago

AlexandrLangolfCAU commented 1 year ago

Hello, I have recently set up a simulation envionment deploying dual connectivity, however upon observing it for an extended duration I realized that at some point a handover will be executed that connects the UE with an eNB instead of its secondary gNB. From this point onward the data in an Uplink scenario is not forwarded to the router or server anymore, due to setting the tos to 10. Afterwards no further handovers to gNBs are undertaken and the UE stays connected solely to eNBs instead.

Before the handover: Before problematic handover

After the handover:

After the problematic handover

The airframe is send to the eNB, but due to the tos of 10 no data is send further: Airframe only

I was actually capable of recreating the behavior in the NR/dualConnectivity_multicell scenario by changing the duration of the simulation and finishTime of the SingleConnection-CBR-UL configuration:

multicell_1

Letting the simulation continue even further leads to the following error message, which I have also received during my simulations numerous times:

multicell2

Setting allow-object-stealing-on-deletion to true at the right point within the configuration can prevent this last error.

For all of these issues the following versions were used: omnetpp: 6.0.1 inet: 4.4.1 simu5g: 1.2.1

giovanninardini commented 1 year ago

This issue is solved by commit 6365f94, which applies the fix described in #157