Comments (9)
OK, I see.
What about your open5gs docker-compose.yaml setting?
In the amf setting:
Did you uncomment the #port #38412?
from docker_open5gs.
Hi
I met the same issue,but finally solved.
My network topology is as follows:
((open5gs+kamalio docker)deployed in VM1) <--------------------->(UERANSIM deployed in VM2)
VM ip: 192.168.120.130/24 VM ip: 192.168.120.126/24
Thats is in the open5gs-gnb.yaml of UERANSIM,you should modify the linkIp ngapIp gtpIp to your real used ip,for me it is 192.168.120.126(for your case,it should be 172.18.56.*)
from docker_open5gs.
Thank you for your answer. My setup is slightly different.
((open5gs docker-compose)) <---DOCKER_HOST----> ((UERANSIM docker-compose with "bridge" n/w mode))
"Subnet": "172.22.0.0/24" 172.18.56.177 "Subnet": "172.17.0.0/16", "Gateway": "172.17.0.1"
I can ping docker host from UERANSIM container.
# ping 172.18.56.177
PING 172.18.56.177 (172.18.56.177) 56(84) bytes of data.
64 bytes from 172.18.56.177: icmp_seq=1 ttl=37 time=2.96 ms
64 bytes from 172.18.56.177: icmp_seq=2 ttl=37 time=2.35 ms_
Also I did set all three values along with the amfConfigs, here...
mcc: '001' # Mobile Country Code value
mnc: '01' # Mobile Network Code value (2 or 3 digits)
nci: '0x000000010' # NR Cell Identity (36-bit)
idLength: 32 # NR gNB ID length in bits [22...32]
tac: 1 # Tracking Area Code
linkIp: 172.17.0.2 # gNB's local IP address for Radio Link Simulation (Usually same with local IP)
ngapIp: 172.17.0.2 # gNB's local IP address for N2 Interface (Usually same with local IP)
gtpIp: 172.17.0.2 # gNB's local IP address for N3 Interface (Usually same with local IP)
# List of AMF address information
amfConfigs:
- address: 172.18.56.177
port: 38412
# List of supported S-NSSAIs by this gNB
slices:
- sst: 1
# Indicates whether or not SCTP stream number errors should be ignored.
ignoreStreamIds: true
But I can't understand what I am doing wrong that SCTP connection doesn't work for me?
# build/nr-gnb -c config/open5gs-gnb.yaml
UERANSIM v3.1.9
[2021-08-07 18:46:05.259] [sctp] [info] Trying to establish SCTP connection... (172.18.56.177:38412)
[2021-08-07 18:51:09.640] [sctp] [error] Connecting to 172.18.56.177:38412 failed. SCTP could not connect: Connection timed out
from docker_open5gs.
Rightly pointed out. You need to uncomment ports 38412 under amf section of your docker compose file
from docker_open5gs.
I did that already. All required ports are mapped.
from docker_open5gs.
OK, I see.
What about your open5gs docker-compose.yaml setting?
In the amf setting:
Did you uncomment the #port #38412?
yes
from docker_open5gs.
I can think of two things
- If you are using Windows to run the containers by any change then its not possible due to lack of SCTP support
- Can you run the below command on the host machine and send me the output?
sudo netstat -tuplnS | grep 38412
from docker_open5gs.
Yes I am using windows. May be it's windows that lack support for sctp.
So netstat doesn't work as it in windows, lacks some flags but looking at the output for netstat -n don't think it has port 38412 anywhere. But also I can't even see 3000 which is webui which is working fine.
These are the flags available in windows
NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-x] [-t] [interval]
from docker_open5gs.
Closing this as the repo is not tested in Windows OS
from docker_open5gs.
Related Issues (20)
- RRC release / Registration reject / UE not in subscriber database HOT 1
- icscf | 28(58) ERROR: while running "sudo docker compose -f 4g-volte-deploy.yaml up" HOT 2
- sgwc is crashing if the call answered from Freeswitch HOT 12
- Initial Registration failed [PLMN_NOT_ALLOWED] HOT 11
- Failed to setup/configure GW interface HOT 30
- Does open5gs-hss support sms over ims? HOT 11
- VoNR SCSCF forwarding INVITE message with wrong request-uri HOT 4
- VoLTE don't work HOT 15
- IMS Registration with Samsung devices HOT 6
- IMS registration and network deploy HOT 5
- VoNR Rx interface HOT 1
- MME not responding to Create Bearer Request after device wake up HOT 3
- PCSCF blocking with latest configs HOT 4
- Add multiple user on open5gs without using WebUI HOT 2
- Does the SMSC module support sending emojis? HOT 5
- VoLTE_UEs HOT 3
- CoIMS sim card config has no effect HOT 6
- using latest rtpengine for hss-cx branch HOT 1
- VONR : SIP REGISTERING : 403 Forbidden - HSS User Unknown HOT 19
- VOLTE, INVITE create 408 Request Timeout HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker_open5gs.