srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

open5gs connection error: Failed to initiate NG connection

Open jqhu27 opened this issue 1 year ago • 2 comments

Issue Description

I attempted to set up a 5G Standalone (SA) End-to-End scenario using open5gs as the core. I meticulously followed the step-by-step instructions provided in the documentation found here to deploy the scenario. However, when I attempted to execute the command sudo srsenb, I encountered the following error: srsENB

Subsequently, I investigated the open5gs amf.log file and observed the following: open5gs_amf_log

I noticed that if I use the original open5gs amf.yaml, the AMF service can be started and runs without issues. However, when I attempt to use the modified amf.yaml provided on the srsRAN website, the service fails to start.

I suspect that there may be an issue with the amf.yaml configuration file. Could you kindly assist me in resolving this matter? Your help would be greatly appreciated. Thank you in advance.

jqhu27 avatar Nov 03 '23 20:11 jqhu27

I have the same problem and I don't know how to solve it either.

Igormartinssilva avatar Nov 22 '23 13:11 Igormartinssilva

The Open5gs version has been updated from 2.6.6 to 2.7.0 recently. I think they changed some rules about config files. I have faced same issue that you showed and I fixed it by carefully changing enb's config file(enb.conf, rr.conf) which is related with 5g core connection. Mostly I changed was IP addresses. Read this article and find your way. I can't tell how I did exactly cause I barely tracked how I did. https://open5gs.org/open5gs/docs/guide/01-quickstart/

whitecloudy avatar Dec 27 '23 06:12 whitecloudy