-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Mosquitto bridge connection to IoT failing periodically. #367
Comments
Closing it. This was happening because I had another instance of mosquitto with same client ID trying to connect to same IoT endpoint. As per mqtt protocol, broker drops existing connection when it receives another connection with same clientID. So these instances kept disconnecting each other. Resolution was to change the clientID. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a mosquitto instance running on an ec2 host. We have bridged this
to AWS IoT. Everything works fine except that the bridge looses connection
to IoT endpoint every now and then. Our restart_timeout setting is at 1
second. But all the messages in that 1-2 second period of re-connection are
lost. My ec2 instance and IoT endpoint are in the same region as well.
I am not sure if this is a bug in the mosquitto bridging connection or AWS IoT dropping the connection. But would want to know what's happening.
My bridge config is as follow:
The text was updated successfully, but these errors were encountered: