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

stops working(?) if server is not reachable for longer(?) time #63

Open
st0ff3r opened this issue Jun 15, 2016 · 2 comments
Open

stops working(?) if server is not reachable for longer(?) time #63

st0ff3r opened this issue Jun 15, 2016 · 2 comments
Labels

Comments

@st0ff3r
Copy link
Contributor

st0ff3r commented Jun 15, 2016

has to check when it happens

@st0ff3r st0ff3r added the bug label Jun 15, 2016
@st0ff3r
Copy link
Contributor Author

st0ff3r commented Jun 15, 2016

can be provoked by DROP'ing packets with iptables

@st0ff3r
Copy link
Contributor Author

st0ff3r commented Jun 15, 2016

posible fix in b832239

tuanpmt/esp_mqtt@0f980bf

"If the current connection is terminated unexpectedly (e.g. because the
WiFi connection is dropped) the disconnect callback is not called. This
means that reestablishing the existing connection is not possible any
more.

Avoid this issue by forcefully removing the existing connection before
initiating the reconnection. Calling MQTT_Disconnect and waiting for
the disconnection callback should still be performed for intentional
disconnections."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant