-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
ChirpStack Gateway Bridge binds to udp6 only #235
Comments
Could you confirm if there is an actual issue? Are you unable to receive UDP data from IPv4 interfaces when binding to |
Yes, the ChirpStack Gateway Bridge started on a terminal: # chirpstack-gateway-bridge -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
INFO[0000] starting ChirpStack Gateway Bridge docs="https://www.chirpstack.io/gateway-bridge/" version=4.0.11
INFO[0000] backend/semtechudp: starting gateway udp listener addr="0.0.0.0:1700"
WARN[0000] [store] memorystore wiped module=mqtt
INFO[0000] integration/mqtt: connected to mqtt broker Meanwhile I check the bindings on an another terminal: # netstat -lun
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp6 0 0 :::1700 :::* |
A solution (workaround?) should be to add |
But what is the actual problem? I can see that when I start the ChirpStack Gateway Bridge it will show as From the Go documentation:
|
What happened?
If you have IPv6 configured and set
in your
/etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
file (this isthe default setting),ChirpStack Gateway Bridge binds to ipv6 socket only:
If you set a valid IPv4 socket, it binds only to it as expected.
Tested with the latest precompiled Debian binaries.
What did you expect?
It binds only IPv4 socket or both IPv4 and IPv6.
Steps to reproduce this issue
Steps:
udp_bind
parameter on the default0.0.0.0:1700
value.Could you share your log output?
Your Environment
The text was updated successfully, but these errors were encountered: