srsran / oran-sc-ric

Simplified ORAN SC RIC with improved usability and xApp examples
GNU Affero General Public License v3.0
17 stars 2 forks source link

xApp onboarding & deployment: error during RIC indication decoding: E2SM-KPM-IndicationHeader-Format1.colletStartTime: out of data (At bit offset: 8) #4

Closed werefin closed 2 months ago

werefin commented 2 months ago

Hi @pgawlowicz. Firstly, thanks a lot for the great resources! I was wondering about what the problem indicated below might be. I have meticulously followed your procedure provided in the README.md however I am experiencing this problem when deploying the simple xApp. Do you know how to solve it? Do you have any suggestions regarding this error or any dependencies you can think of?

sudo docker compose exec python_xapp_runner ./simple_mon_xapp.py --metrics=DRB.UEThpDl,DRB.UEThpUl

Screenshot from 2024-04-22 17-49-04

Thank you in advance.

pgawlowicz commented 2 months ago

Did you use the newest srsRAN-Project release or the test branch?

werefin commented 2 months ago

Hi, I'm using the srsRAN-Project release, I'll try with the test branch.

werefin commented 2 months ago

Hi, I'm sorry but I'm still experiencing some issues related to the xApp deployment, as you can see below. It seems that there's no E2 connection, but I followed the procedure as exposed in the documentation.

Screenshot from 2024-04-24 10-56-52 Screenshot from 2024-04-24 10-57-37

Do you know how to solve it? Thanks in advance.

pgawlowicz commented 2 months ago

Hi, it seems that the gnb connected at 08:50:24 and disconnected at 08:50:47, could you share your gnb logs?

werefin commented 2 months ago

Here it is the gnb.log file.

gnb.log

Thanks in advance.

pgawlowicz commented 2 months ago

and the gnb_e2.pcap?

werefin commented 2 months ago

I'm sorry, I thought it was attached, here it is:

gnb_e2ap.pcap.log

Thanks.

pgawlowicz commented 2 months ago

seems the RIC does not respond to the E2-Setup-Request from gnb. Could you show you routing table? route -n

werefin commented 2 months ago

Screenshot from 2024-04-24 11-39-48

werefin commented 2 months ago

Hi, now it seems that it works correctly. Can you confirm my guess?

Screenshot from 2024-04-24 12-07-45

Where should I see the displayed messages?

pgawlowicz commented 2 months ago

yes, but you should also get indication messages and the xapp should display their content here

werefin commented 2 months ago

Yes, also restarting it I can't see any message displayed. Do you know where I could see those messages?

pgawlowicz commented 2 months ago

you can monitor e2ap traffic on the docker bridge interface with wireshark

werefin commented 2 months ago

Thank you so much. I'll close the issue, it was simply a problem related to the test branch.

LoganCome commented 1 month ago

@werefin , Hi, I met the same error as the following. Could you share how you addressed this issue?

  1. The figure is the error output in app and containers: Screenshot 2024-06-07 02:10:30 Screenshot 2024-06-07 02:14:01 Screenshot 2024-06-07 02:14:45

  2. The gNB log file gnb.log

  3. Contents of gNB configure file gnb_rf_x410_tdd_n78_20mhz.txt