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
Reconnect is failing #232
Comments
Hi, |
CocoaMQTT - I m also facing problem in connecting (iOS 12) |
CocoaMQTT - Connection Problem. |
i am also facing same problem in connecting with cocoamqtt only in iOS12. |
facing the same problem in connecting only in iOS12(cocoamqtt) |
@keshavx11 Can you provide the example code to help me to reproduce it? Thanks! |
How do you test the re-connect mechanism? |
Please ignore. The issue i have is because of #259 |
Close it. Pls reopen there if someone has reproduced it again. |
We are getting a client disconnect message immediately after the connection was successfully setup, this happens when the server is down and then comes to active
According to the traces, while the server is down, one connection channel is keep opened on port 8883.
When the server is restarted and it tries to reconnect (using
mqttclient.connect
), the connection is established and immediately the connection is closed after few milliseconds. This is also happening, when we call the disconnect message after the device notices that the server is down.Any ideas? Thank you for the help.
I'm using CocoaMQTT 1.1.0 and iOS 11
Update:
Issue is reproducible in iOS 12
The text was updated successfully, but these errors were encountered: