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
Socket error on bridge connection to the things network (TTN) #1635
Comments
try adding attempt_unsubscribe = false, that's another one I've had to add with some cloud brokers? but you've already covered the usual suspects (notifications, try_private and cleansession) so nothing obvious |
The documentation states |
Rather than letting the bridge fail later. Issue #1635. Thanks to pokerazor.
Thanks for your responses! Yes, the problem was the notation of the topic for the local client.
was necessary for connecting to The Things Network. Those additional checks and detailed error messages at config parsing time will be extremely helpful, thank you! :-) |
Rather than letting the bridge fail later. Issue eclipse#1635. Thanks to pokerazor.
Hi. We are trying to set up an inward bridge connection to https://www.thethingsnetwork.org/docs/applications/mqtt/api.html
The config looks like this:
But we are getting an error as follows:
It works via the commandline:
mosquitto_sub -u XXX -P ttn-account-v2.XXX -t 'XXX/#' -h eu.thethings.network -d -v -p 1883
We tried with and without TLS, we are certain that the credentials are correct (otherwise we get an auth error), also it looks suspicious that the
local.mosquitto.external-bridge
is mentioned with thelocal.
part, so it seems the external connection works, but the local not? The connection attempt is repeated every couple of seconds, always with the same result. We also tried connecting to our own server through the external port, that worked. Any idea what we're might be doing wrong or how we could debug better? Unfortunately, the log doesn't say what kind of socket error or why...Thanks in advance.
The text was updated successfully, but these errors were encountered: