Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CU cant connect to the NearRT-RIC #1047

Open
Gmclaro opened this issue Feb 12, 2025 · 2 comments
Open

CU cant connect to the NearRT-RIC #1047

Gmclaro opened this issue Feb 12, 2025 · 2 comments

Comments

@Gmclaro
Copy link

Gmclaro commented Feb 12, 2025

Hello
I have this problems that when enable both of this fields

e2:
  enable_cu_cp_e2: true # Optional BOOLEAN (false). Enables the CU-CP E2 agent. Supported: [false, true].
  enable_cu_up_e2: true # Optional BOOLEAN (false). Enables the CU-UP E2 agent. Supported: [false, true].

in the CU configuration. When i run the config this error appears

--== srsRAN CU (commit cc2869f96) ==--

terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at
Aborted

If the fields are both disabled the cu does not connect to the SC-RIC
with this output

--== srsRAN CU (commit cc2869f96) ==--

N2: Connection to AMF on 10.0.23.62:38412 completed
F1-C: Listening for new connections on 127.0.10.1:38472...
==== CU started ===
Type <h> to view help

This was run with a CU-DU split connected to a USRP, the DU connects successfully to the RIC and CU.

@pgawlowicz
Copy link
Collaborator

Please update to the newest project version.

@Gmclaro
Copy link
Author

Gmclaro commented Feb 13, 2025

Hi
I noticed yesterday that you updated somethings in the repository, and i pulled the updates
But a new errors have appeared
I didn't change the configs
Now when i enable cu_cp and cu_up this pops up

--== srsRAN CU (commit a041e3162) ==--
N2: Connection to AMF on 10.0.23.62:38412 completed
E2AP: Failed to connect to RIC on 10.0.2.10:36421. error="Connection refused" timeout=0ms
F1-C: Listening for new connections on 127.0.10.1:38472...
Segmentation fault

When i disable them and try to connect the du to it this shows up

--== srsRAN DU (commit a041e3162) ==--

INI was not able to parse nru.++
Run with --help for more information.

the cu and du configuration file are as follows

cu_cp:
  amf:
    addr: 10.0.23.62 
    bind_addr: 10.0.22.176 
    supported_tracking_areas: 
      - tac: 1
        plmn_list:
          - plmn: "00101"
            tai_slice_support_list:
              - sst: 1
  f1ap:
    bind_addr: 127.0.10.1

e2:
  enable_cu_cp_e2: true
  enable_cu_up_e2: false 
  addr: 10.0.2.10 
  port: 36421 
  bind_addr: 10.0.22.176 
  sctp_init_max_attempts: 3
  e2sm_kpm_enabled: true
  e2sm_rc_enabled: true 

f1ap:
  cu_cp_addr: 127.0.10.1
  bind_addr: 127.0.10.2
nru:
  bind_addr: 127.0.10.2

ru_sdr:
  srate: 23.04                                                   
  device_driver: uhd                                             
  device_args: type=b200,num_recv_frames=64,num_send_frames=64  
  otw_format: sc12
  tx_gain: 80
  rx_gain: 40

e2: 
  enable_du_e2: true         
  addr: 10.0.2.10                 
  port: 36421                  # Optional UINT (36421). Sets the RIC Port. Supported: [20000 - 40000].
  bind_addr: 10.0.22.176                  # Optional TEXT (127.0.0.1). Sets the local IP address to bind for RIC connection. 
  sctp_rto_initial: 120                 # Optional INT (120). Sets the initial retransmission timeout when creating the SCTP 
  sctp_rto_min: 120                     # Optional INT (120). Sets the minimum retransmission timeout for the SCTP connection.
  sctp_rto_max: 500                     # Optional INT (500). Sets the maximum retransmission timeout for the SCTP connection.
  sctp_init_max_attempts: 3          # Optional INT (3). Sets the maximum retransmission attempts for the initial SCTP 
  sctp_max_init_timeo: 500              # Optional INT (500). Sets the maximum retransmission timeout for the initial SCTP 
  e2sm_kpm_enabled: true           # Optional BOOLEAN (false). Enabled the E2SM KPM service module. 
  e2sm_rc_enabled: true               # Optional BOOLEAN (false). Enabled the E2SM RC service module. Supported: [false, true].



cell_cfg:
  dl_arfcn: 650000
  band: 78
  channel_bandwidth_MHz: 20
  common_scs: 30
  plmn: "00101"
  tac: 1
  pci: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants