Skip to content
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

MQTT client looses connection to the Broker #6

Open
NitramLegov opened this issue Dec 21, 2018 · 0 comments
Open

MQTT client looses connection to the Broker #6

NitramLegov opened this issue Dec 21, 2018 · 0 comments

Comments

@NitramLegov
Copy link
Member

Unfortunately, the MQTT client looses the connection to the broker regularly.

In the broker log, you can see that the client tries to reconnect, but the broker throws an socket error.
We have two options:

  1. change the mqtt library used on the client side (@Narquadah mentioned pubsubclient works for him).
    Here we need to ensure the paket sizes can be adjusted. According to Function to change the MQTT packet size outside of the library knolleary/pubsubclient#110 this should work.
  2. Try to debug why there is a socket error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant