My UEs are not attatching when running the multi UE scenario in different machines. #1354
Replies: 14 comments 19 replies
-
01717853529
…On Fri, 12 Sept 2025, 11:43 pm JoaoGabrielTN, ***@***.***> wrote:
Context
I'm following this tutorial:
https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html
When I get to the part where I have to execute the flow graph, the
gnuradio terminal gives me this error:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Traceback (most recent call last):
File "/home/oranor/multi_ue_scenario.py", line 227, in <module>
main()
File "/home/oranor/multi_ue_scenario.py", line 205, in main
tb = top_block_cls()
File "/home/oranor/multi_ue_scenario.py", line 104, in __init__
self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
RuntimeError: Cannot assign requested address
The only thing I'm doing different from the tutorial is that I'm not
running everthing on localhost. I'm trying to replicate the tutorial using
two different machines (one for the core and gNB (IP 192.168.0.108), the
other for the UEs (IP 192.168.0.206)). I'm running the gnuradio command on
the same host that is running the gNB.
My UEs run o a docker with Ubuntu 22.04 as the base image. Communication
between the UE and Core works when I follow the tutorial with a single UE.
Configs
All configs files I'm using are the defaults files from the srsRAN Project
and the files provided on the tutorial, so I will share only the parts I've
changed.
open5gs.env
# SUBSCRIBER_DB=001010123456780,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,9,10.45.1.2
SUBSCRIBER_DB="subscriber_db.csv"
gNB config:
...
device_args: tx_port=tcp://192.168.0.108:2000,rx_port=tcp://192.168.0.206:2001,base_srate=11.52e6 # Optionally pass arguments to the selected RF driver.
...
prach:
prach_config_index: 1 # Sets PRACH config to match what is expected by srsUE
total_nof_ra_preambles: 64 # Sets number of available PRACH preambles. J
nof_ssb_per_ro: 1 # Sets the number of SSBs per RACH occasion. J
nof_cb_preambles_per_ssb: 64 # Sets the number of contention based preambles per SSB. J
UE1 config:
device_args = tx_port=tcp://192.168.0.206:2101,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
UE2 config
device_args = tx_port=tcp://192.168.0.206:2201,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
UE3 config
device_args = tx_port=tcp://192.168.0.206:2301,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
multi_ue_scenario.py
self.zeromq_req_source_1_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2201', zmq_timeout, False, zmq_hwm)
self.zeromq_req_source_1 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2101', zmq_timeout, False, zmq_hwm)
self.zeromq_req_source_0_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2301', zmq_timeout, False, zmq_hwm)
self.zeromq_req_source_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2000', zmq_timeout, False, zmq_hwm)
self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
self.zeromq_rep_sink_0_1 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2001', zmq_timeout, False, zmq_hwm)
self.zeromq_rep_sink_0_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2200', zmq_timeout, False, zmq_hwm)
self.zeromq_rep_sink_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2100', zmq_timeout, False, zmq_hwm)
self.blocks_throttle_0 = blocks.throttle(gr.sizeof_gr_complex*1, 1.0*samp_rate/(1.0*slow_down_ratio),True)
self.blocks_multiply_const_vxx_0_1_1 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
self.blocks_multiply_const_vxx_0_1_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
self.blocks_multiply_const_vxx_0_1 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
self.blocks_multiply_const_vxx_0_0_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
self.blocks_multiply_const_vxx_0_0 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
self.blocks_multiply_const_vxx_0 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
self.blocks_add_xx_0 = blocks.add_vcc(1)
Image of the graph multi_ue_scenario.png (view on web)
<https://github.com/user-attachments/assets/03f036f2-59e3-4680-8224-dfbbd9fd97d2>
I run my container with the following arguments:
docker run --rm -it --network host --name ue --privileged srsran:latest
bash
Questions
Why it doesn't connect? Did I miss something/did something wrong with the
configs? If so, what should I fix? Or how can I tackle (debug) this problem?
—
Reply to this email directly, view it on GitHub
<#1354>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BUXNJGH56VIBMDY6IZF4XCD3SMA2TAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYHA4DOMRZG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@JoaoGabrielTN in your flowgraph you send DL to UEs at 192.168.0.206, but UEs receive at 192.168.0.108. Please review all IPs. |
Beta Was this translation helpful? Give feedback.
-
01717853529
…On Fri, 26 Sept 2025, 6:56 pm Piotr, ***@***.***> wrote:
looks good. The UE got released before getting IP address, maybe sth wrong
with core network? could you share /tmp/gnb_ngap.pcap file?
—
Reply to this email directly, view it on GitHub
<#1354 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BUXNJGARFQO2QCVKU4TABCL3UUZXHAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJSGE4TQMY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
On Sat, 27 Sept 2025, 3:39 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Fri, 26 Sept 2025, 6:56 pm Piotr, ***@***.***> wrote:
> looks good. The UE got released before getting IP address, maybe sth
> wrong with core network? could you share /tmp/gnb_ngap.pcap file?
>
> —
> Reply to this email directly, view it on GitHub
> <#1354 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BUXNJGARFQO2QCVKU4TABCL3UUZXHAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJSGE4TQMY>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
On Sat, 27 Sept 2025, 3:40 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Sat, 27 Sept 2025, 3:39 am md sahazan ali, ***@***.***>
wrote:
>
>
> 01717853529
>
> On Fri, 26 Sept 2025, 6:56 pm Piotr, ***@***.***> wrote:
>
>> looks good. The UE got released before getting IP address, maybe sth
>> wrong with core network? could you share /tmp/gnb_ngap.pcap file?
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#1354 (reply in thread)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/BUXNJGARFQO2QCVKU4TABCL3UUZXHAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJSGE4TQMY>
>> .
>> You are receiving this because you commented.Message ID:
>> ***@***.***
>> com>
>>
>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
On Sat, 27 Sept 2025, 3:44 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Sat, 27 Sept 2025, 3:40 am md sahazan ali, ***@***.***>
wrote:
>
>
> 01717853529
>
> On Sat, 27 Sept 2025, 3:39 am md sahazan ali, ***@***.***>
> wrote:
>
>>
>>
>> 01717853529
>>
>> On Fri, 26 Sept 2025, 6:56 pm Piotr, ***@***.***> wrote:
>>
>>> looks good. The UE got released before getting IP address, maybe sth
>>> wrong with core network? could you share /tmp/gnb_ngap.pcap file?
>>>
>>> —
>>> Reply to this email directly, view it on GitHub
>>> <#1354 (reply in thread)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/BUXNJGARFQO2QCVKU4TABCL3UUZXHAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJSGE4TQMY>
>>> .
>>> You are receiving this because you commented.Message ID:
>>> ***@***.***
>>> com>
>>>
>>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
On Sat, 27 Sept 2025, 4:08 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Sat, 27 Sept 2025, 3:44 am md sahazan ali, ***@***.***>
wrote:
>
>
> 01717853529
>
> On Sat, 27 Sept 2025, 3:40 am md sahazan ali, ***@***.***>
> wrote:
>
>>
>>
>> 01717853529
>>
>> On Sat, 27 Sept 2025, 3:39 am md sahazan ali, ***@***.***>
>> wrote:
>>
>>>
>>>
>>> 01717853529
>>>
>>> On Fri, 26 Sept 2025, 6:56 pm Piotr, ***@***.***> wrote:
>>>
>>>> looks good. The UE got released before getting IP address, maybe sth
>>>> wrong with core network? could you share /tmp/gnb_ngap.pcap file?
>>>>
>>>> —
>>>> Reply to this email directly, view it on GitHub
>>>> <#1354 (reply in thread)>,
>>>> or unsubscribe
>>>> <https://github.com/notifications/unsubscribe-auth/BUXNJGARFQO2QCVKU4TABCL3UUZXHAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJSGE4TQMY>
>>>> .
>>>> You are receiving this because you commented.Message ID:
>>>> ***@***.***
>>>> com>
>>>>
>>>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
On Sat, 27 Sept 2025, 4:12 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Sat, 27 Sept 2025, 4:08 am md sahazan ali, ***@***.***>
wrote:
>
>
> 01717853529
>
> On Sat, 27 Sept 2025, 3:44 am md sahazan ali, ***@***.***>
> wrote:
>
>>
>>
>> 01717853529
>>
>> On Sat, 27 Sept 2025, 3:40 am md sahazan ali, ***@***.***>
>> wrote:
>>
>>>
>>>
>>> 01717853529
>>>
>>> On Sat, 27 Sept 2025, 3:39 am md sahazan ali, ***@***.***>
>>> wrote:
>>>
>>>>
>>>>
>>>> 01717853529
>>>>
>>>> On Fri, 26 Sept 2025, 6:56 pm Piotr, ***@***.***> wrote:
>>>>
>>>>> looks good. The UE got released before getting IP address, maybe sth
>>>>> wrong with core network? could you share /tmp/gnb_ngap.pcap file?
>>>>>
>>>>> —
>>>>> Reply to this email directly, view it on GitHub
>>>>> <#1354 (reply in thread)>,
>>>>> or unsubscribe
>>>>> <https://github.com/notifications/unsubscribe-auth/BUXNJGARFQO2QCVKU4TABCL3UUZXHAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJSGE4TQMY>
>>>>> .
>>>>> You are receiving this because you commented.Message ID:
>>>>> ***@***.***
>>>>> .com>
>>>>>
>>>>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
On Sat, 27 Sept 2025, 4:25 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Fri, 12 Sept 2025, 11:43 pm JoaoGabrielTN, ***@***.***>
wrote:
> Context
>
> I'm following this tutorial:
> https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html
> When I get to the part where I have to execute the flow graph, the
> gnuradio terminal gives me this error:
>
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
> Traceback (most recent call last):
> File "/home/oranor/multi_ue_scenario.py", line 227, in <module>
> main()
> File "/home/oranor/multi_ue_scenario.py", line 205, in main
> tb = top_block_cls()
> File "/home/oranor/multi_ue_scenario.py", line 104, in __init__
> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
> RuntimeError: Cannot assign requested address
>
> The only thing I'm doing different from the tutorial is that I'm not
> running everthing on localhost. I'm trying to replicate the tutorial using
> two different machines (one for the core and gNB (IP 192.168.0.108), the
> other for the UEs (IP 192.168.0.206)). I'm running the gnuradio command on
> the same host that is running the gNB.
>
> My UEs run o a docker with Ubuntu 22.04 as the base image. Communication
> between the UE and Core works when I follow the tutorial with a single UE.
> Configs
>
> All configs files I'm using are the defaults files from the srsRAN
> Project and the files provided on the tutorial, so I will share only the
> parts I've changed.
>
> open5gs.env
>
> # SUBSCRIBER_DB=001010123456780,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,9,10.45.1.2
> SUBSCRIBER_DB="subscriber_db.csv"
>
> gNB config:
>
> ...
> device_args: tx_port=tcp://192.168.0.108:2000,rx_port=tcp://192.168.0.206:2001,base_srate=11.52e6 # Optionally pass arguments to the selected RF driver.
> ...
> prach:
> prach_config_index: 1 # Sets PRACH config to match what is expected by srsUE
> total_nof_ra_preambles: 64 # Sets number of available PRACH preambles. J
> nof_ssb_per_ro: 1 # Sets the number of SSBs per RACH occasion. J
> nof_cb_preambles_per_ssb: 64 # Sets the number of contention based preambles per SSB. J
>
> UE1 config:
>
> device_args = tx_port=tcp://192.168.0.206:2101,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> UE2 config
>
> device_args = tx_port=tcp://192.168.0.206:2201,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> UE3 config
>
> device_args = tx_port=tcp://192.168.0.206:2301,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> multi_ue_scenario.py
>
> self.zeromq_req_source_1_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2201', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_1 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2101', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_0_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2301', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2000', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
> self.zeromq_rep_sink_0_1 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2001', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2200', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2100', zmq_timeout, False, zmq_hwm)
> self.blocks_throttle_0 = blocks.throttle(gr.sizeof_gr_complex*1, 1.0*samp_rate/(1.0*slow_down_ratio),True)
> self.blocks_multiply_const_vxx_0_1_1 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_1_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_1 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_0_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_0 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
> self.blocks_add_xx_0 = blocks.add_vcc(1)
>
> Image of the graph multi_ue_scenario.png (view on web)
> <https://github.com/user-attachments/assets/03f036f2-59e3-4680-8224-dfbbd9fd97d2>
>
> I run my container with the following arguments:
> docker run --rm -it --network host --name ue --privileged srsran:latest
> bash
> Questions
>
> Why it doesn't connect? Did I miss something/did something wrong with the
> configs? If so, what should I fix? Or how can I tackle (debug) this problem?
>
> —
> Reply to this email directly, view it on GitHub
> <#1354>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BUXNJGH56VIBMDY6IZF4XCD3SMA2TAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYHA4DOMRZG4>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
***@***.***
01717853529
On Sat, 27 Sept 2025, 4:40 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Sat, 27 Sept 2025, 4:25 am md sahazan ali, ***@***.***>
wrote:
>
>
> 01717853529
>
> On Fri, 12 Sept 2025, 11:43 pm JoaoGabrielTN, ***@***.***>
> wrote:
>
>> Context
>>
>> I'm following this tutorial:
>> https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html
>> When I get to the part where I have to execute the flow graph, the
>> gnuradio terminal gives me this error:
>>
>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
>> Traceback (most recent call last):
>> File "/home/oranor/multi_ue_scenario.py", line 227, in <module>
>> main()
>> File "/home/oranor/multi_ue_scenario.py", line 205, in main
>> tb = top_block_cls()
>> File "/home/oranor/multi_ue_scenario.py", line 104, in __init__
>> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
>> RuntimeError: Cannot assign requested address
>>
>> The only thing I'm doing different from the tutorial is that I'm not
>> running everthing on localhost. I'm trying to replicate the tutorial using
>> two different machines (one for the core and gNB (IP 192.168.0.108), the
>> other for the UEs (IP 192.168.0.206)). I'm running the gnuradio command on
>> the same host that is running the gNB.
>>
>> My UEs run o a docker with Ubuntu 22.04 as the base image. Communication
>> between the UE and Core works when I follow the tutorial with a single UE.
>> Configs
>>
>> All configs files I'm using are the defaults files from the srsRAN
>> Project and the files provided on the tutorial, so I will share only the
>> parts I've changed.
>>
>> open5gs.env
>>
>> # SUBSCRIBER_DB=001010123456780,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,9,10.45.1.2
>> SUBSCRIBER_DB="subscriber_db.csv"
>>
>> gNB config:
>>
>> ...
>> device_args: tx_port=tcp://192.168.0.108:2000,rx_port=tcp://192.168.0.206:2001,base_srate=11.52e6 # Optionally pass arguments to the selected RF driver.
>> ...
>> prach:
>> prach_config_index: 1 # Sets PRACH config to match what is expected by srsUE
>> total_nof_ra_preambles: 64 # Sets number of available PRACH preambles. J
>> nof_ssb_per_ro: 1 # Sets the number of SSBs per RACH occasion. J
>> nof_cb_preambles_per_ssb: 64 # Sets the number of contention based preambles per SSB. J
>>
>> UE1 config:
>>
>> device_args = tx_port=tcp://192.168.0.206:2101,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>>
>> UE2 config
>>
>> device_args = tx_port=tcp://192.168.0.206:2201,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>>
>> UE3 config
>>
>> device_args = tx_port=tcp://192.168.0.206:2301,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>>
>> multi_ue_scenario.py
>>
>> self.zeromq_req_source_1_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2201', zmq_timeout, False, zmq_hwm)
>> self.zeromq_req_source_1 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2101', zmq_timeout, False, zmq_hwm)
>> self.zeromq_req_source_0_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2301', zmq_timeout, False, zmq_hwm)
>> self.zeromq_req_source_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2000', zmq_timeout, False, zmq_hwm)
>> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
>> self.zeromq_rep_sink_0_1 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2001', zmq_timeout, False, zmq_hwm)
>> self.zeromq_rep_sink_0_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2200', zmq_timeout, False, zmq_hwm)
>> self.zeromq_rep_sink_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2100', zmq_timeout, False, zmq_hwm)
>> self.blocks_throttle_0 = blocks.throttle(gr.sizeof_gr_complex*1, 1.0*samp_rate/(1.0*slow_down_ratio),True)
>> self.blocks_multiply_const_vxx_0_1_1 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
>> self.blocks_multiply_const_vxx_0_1_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
>> self.blocks_multiply_const_vxx_0_1 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
>> self.blocks_multiply_const_vxx_0_0_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
>> self.blocks_multiply_const_vxx_0_0 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
>> self.blocks_multiply_const_vxx_0 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
>> self.blocks_add_xx_0 = blocks.add_vcc(1)
>>
>> Image of the graph multi_ue_scenario.png (view on web)
>> <https://github.com/user-attachments/assets/03f036f2-59e3-4680-8224-dfbbd9fd97d2>
>>
>> I run my container with the following arguments:
>> docker run --rm -it --network host --name ue --privileged srsran:latest
>> bash
>> Questions
>>
>> Why it doesn't connect? Did I miss something/did something wrong with
>> the configs? If so, what should I fix? Or how can I tackle (debug) this
>> problem?
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#1354>, or
>> unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/BUXNJGH56VIBMDY6IZF4XCD3SMA2TAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYHA4DOMRZG4>
>> .
>> You are receiving this because you are subscribed to this thread.Message
>> ID: ***@***.***>
>>
>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
On Mon, 15 Sept 2025, 10:07 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Fri, 12 Sept 2025, 11:43 pm JoaoGabrielTN, ***@***.***>
wrote:
> Context
>
> I'm following this tutorial:
> https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html
> When I get to the part where I have to execute the flow graph, the
> gnuradio terminal gives me this error:
>
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
> Traceback (most recent call last):
> File "/home/oranor/multi_ue_scenario.py", line 227, in <module>
> main()
> File "/home/oranor/multi_ue_scenario.py", line 205, in main
> tb = top_block_cls()
> File "/home/oranor/multi_ue_scenario.py", line 104, in __init__
> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
> RuntimeError: Cannot assign requested address
>
> The only thing I'm doing different from the tutorial is that I'm not
> running everthing on localhost. I'm trying to replicate the tutorial using
> two different machines (one for the core and gNB (IP 192.168.0.108), the
> other for the UEs (IP 192.168.0.206)). I'm running the gnuradio command on
> the same host that is running the gNB.
>
> My UEs run o a docker with Ubuntu 22.04 as the base image. Communication
> between the UE and Core works when I follow the tutorial with a single UE.
> Configs
>
> All configs files I'm using are the defaults files from the srsRAN
> Project and the files provided on the tutorial, so I will share only the
> parts I've changed.
>
> open5gs.env
>
> # SUBSCRIBER_DB=001010123456780,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,9,10.45.1.2
> SUBSCRIBER_DB="subscriber_db.csv"
>
> gNB config:
>
> ...
> device_args: tx_port=tcp://192.168.0.108:2000,rx_port=tcp://192.168.0.206:2001,base_srate=11.52e6 # Optionally pass arguments to the selected RF driver.
> ...
> prach:
> prach_config_index: 1 # Sets PRACH config to match what is expected by srsUE
> total_nof_ra_preambles: 64 # Sets number of available PRACH preambles. J
> nof_ssb_per_ro: 1 # Sets the number of SSBs per RACH occasion. J
> nof_cb_preambles_per_ssb: 64 # Sets the number of contention based preambles per SSB. J
>
> UE1 config:
>
> device_args = tx_port=tcp://192.168.0.206:2101,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> UE2 config
>
> device_args = tx_port=tcp://192.168.0.206:2201,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> UE3 config
>
> device_args = tx_port=tcp://192.168.0.206:2301,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> multi_ue_scenario.py
>
> self.zeromq_req_source_1_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2201', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_1 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2101', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_0_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2301', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2000', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
> self.zeromq_rep_sink_0_1 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2001', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2200', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2100', zmq_timeout, False, zmq_hwm)
> self.blocks_throttle_0 = blocks.throttle(gr.sizeof_gr_complex*1, 1.0*samp_rate/(1.0*slow_down_ratio),True)
> self.blocks_multiply_const_vxx_0_1_1 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_1_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_1 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_0_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_0 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
> self.blocks_add_xx_0 = blocks.add_vcc(1)
>
> Image of the graph multi_ue_scenario.png (view on web)
> <https://github.com/user-attachments/assets/03f036f2-59e3-4680-8224-dfbbd9fd97d2>
>
> I run my container with the following arguments:
> docker run --rm -it --network host --name ue --privileged srsran:latest
> bash
> Questions
>
> Why it doesn't connect? Did I miss something/did something wrong with the
> configs? If so, what should I fix? Or how can I tackle (debug) this problem?
>
> —
> Reply to this email directly, view it on GitHub
> <#1354>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BUXNJGH56VIBMDY6IZF4XCD3SMA2TAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYHA4DOMRZG4>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
💖
md sahazan reacted via Gmail
<https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app>
On Mon, 15 Sept 2025, 10:07 am md sahazan ali, ***@***.***>
wrote:
…
01717853529
On Fri, 12 Sept 2025, 11:43 pm JoaoGabrielTN, ***@***.***>
wrote:
> Context
>
> I'm following this tutorial:
> https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html
> When I get to the part where I have to execute the flow graph, the
> gnuradio terminal gives me this error:
>
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
> Traceback (most recent call last):
> File "/home/oranor/multi_ue_scenario.py", line 227, in <module>
> main()
> File "/home/oranor/multi_ue_scenario.py", line 205, in main
> tb = top_block_cls()
> File "/home/oranor/multi_ue_scenario.py", line 104, in __init__
> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
> RuntimeError: Cannot assign requested address
>
> The only thing I'm doing different from the tutorial is that I'm not
> running everthing on localhost. I'm trying to replicate the tutorial using
> two different machines (one for the core and gNB (IP 192.168.0.108), the
> other for the UEs (IP 192.168.0.206)). I'm running the gnuradio command on
> the same host that is running the gNB.
>
> My UEs run o a docker with Ubuntu 22.04 as the base image. Communication
> between the UE and Core works when I follow the tutorial with a single UE.
> Configs
>
> All configs files I'm using are the defaults files from the srsRAN
> Project and the files provided on the tutorial, so I will share only the
> parts I've changed.
>
> open5gs.env
>
> # SUBSCRIBER_DB=001010123456780,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,9,10.45.1.2
> SUBSCRIBER_DB="subscriber_db.csv"
>
> gNB config:
>
> ...
> device_args: tx_port=tcp://192.168.0.108:2000,rx_port=tcp://192.168.0.206:2001,base_srate=11.52e6 # Optionally pass arguments to the selected RF driver.
> ...
> prach:
> prach_config_index: 1 # Sets PRACH config to match what is expected by srsUE
> total_nof_ra_preambles: 64 # Sets number of available PRACH preambles. J
> nof_ssb_per_ro: 1 # Sets the number of SSBs per RACH occasion. J
> nof_cb_preambles_per_ssb: 64 # Sets the number of contention based preambles per SSB. J
>
> UE1 config:
>
> device_args = tx_port=tcp://192.168.0.206:2101,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> UE2 config
>
> device_args = tx_port=tcp://192.168.0.206:2201,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> UE3 config
>
> device_args = tx_port=tcp://192.168.0.206:2301,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6
>
> multi_ue_scenario.py
>
> self.zeromq_req_source_1_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2201', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_1 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2101', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_0_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2301', zmq_timeout, False, zmq_hwm)
> self.zeromq_req_source_0 = zeromq.req_source(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2000', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0_2 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2300', 100, False, zmq_hwm)
> self.zeromq_rep_sink_0_1 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.108:2001', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2200', zmq_timeout, False, zmq_hwm)
> self.zeromq_rep_sink_0 = zeromq.rep_sink(gr.sizeof_gr_complex, 1, 'tcp://192.168.0.206:2100', zmq_timeout, False, zmq_hwm)
> self.blocks_throttle_0 = blocks.throttle(gr.sizeof_gr_complex*1, 1.0*samp_rate/(1.0*slow_down_ratio),True)
> self.blocks_multiply_const_vxx_0_1_1 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_1_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_1 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_0_0 = blocks.multiply_const_cc(10**(-1.0*ue3_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0_0 = blocks.multiply_const_cc(10**(-1.0*ue2_path_loss_db/20.0))
> self.blocks_multiply_const_vxx_0 = blocks.multiply_const_cc(10**(-1.0*ue1_path_loss_db/20.0))
> self.blocks_add_xx_0 = blocks.add_vcc(1)
>
> Image of the graph multi_ue_scenario.png (view on web)
> <https://github.com/user-attachments/assets/03f036f2-59e3-4680-8224-dfbbd9fd97d2>
>
> I run my container with the following arguments:
> docker run --rm -it --network host --name ue --privileged srsran:latest
> bash
> Questions
>
> Why it doesn't connect? Did I miss something/did something wrong with the
> configs? If so, what should I fix? Or how can I tackle (debug) this problem?
>
> —
> Reply to this email directly, view it on GitHub
> <#1354>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BUXNJGH56VIBMDY6IZF4XCD3SMA2TAVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYHA4DOMRZG4>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
01717853529
|
Beta Was this translation helpful? Give feedback.
-
01717853529
…On Tue, 16 Sept 2025, 12:19 am JoaoGabrielTN, ***@***.***> wrote:
I changed the UEs rx_port addresses:
UE1 config:
device_args = tx_port=tcp://192.168.0.206:2101,rx_port=tcp://192.168.0.206:2100,base_srate=11.52e6
UE2 config:
device_args = tx_port=tcp://192.168.0.206:2201,rx_port=tcp://192.168.0.206:2200,base_srate=11.52e6
UE3 config:
device_args = tx_port=tcp://192.168.0.206:2301,rx_port=tcp://192.168.0.206:2300,base_srate=11.52e6
I also changed the gNB config:
device_args: tx_port=tcp://192.168.0.108:2000,rx_port=tcp://192.168.0.108:2001,base_srate=11.52e6 # Optionally pass arguments to the selected RF driver.
But running the gnuradio gives the same error. Can you recommend me some
repo/tutorial using multi UEs, running in different machines, with srsue.
—
Reply to this email directly, view it on GitHub
<#1354 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BUXNJGGL3GK33GTMF5IF6VT3S37J5AVCNFSM6AAAAACGLVEMJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINBQGY3TKMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
I'm following this tutorial: https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html
When I get to the part where I have to execute the flow graph, the gnuradio terminal gives me this error:
The only thing I'm doing different from the tutorial is that I'm not running everthing on localhost. I'm trying to replicate the tutorial using two different machines (one for the core and gNB (IP 192.168.0.108), the other for the UEs (IP 192.168.0.206)). I'm running the gnuradio command on the same host that is running the gNB.
My UEs run o a docker with Ubuntu 22.04 as the base image. Communication between the UE and Core works when I follow the tutorial with a single UE.
Configs
All configs files I'm using are the defaults files from the srsRAN Project and the files provided on the tutorial, so I will share only the parts I've changed.
open5gs.env
gNB config:
UE1 config:
UE2 config
UE3 config
multi_ue_scenario.py
Image of the graph
I run my container with the following arguments:
docker run --rm -it --network host --name ue --privileged srsran:latest bash
Questions
Why it doesn't connect? Did I miss something/did something wrong with the configs? If so, what should I fix? Or how can I tackle (debug) this problem?
Further info
Each host can ping the other
Beta Was this translation helpful? Give feedback.
All reactions