-
Notifications
You must be signed in to change notification settings - Fork 549
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
The Android IoT SDK disconnects when a message arrives on a get/accepted topic. #1539
Comments
It looks like this happens in AWSIotMqttNewMessageCallback().onMessageArrived() |
@jarvis32123 Thanks for reaching out. I am unable to reproduce this on the latest version of the SDK. I tried the following to reproduce the issue :
I get state information on the Can you please provide the following :
|
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems. |
I have the same issue, the interesting thing is that it works perfectly in kotlin. |
The solution is "Coroutines" |
This wasn't happening until recently but I get a "connection is Lost" message from mqtt after I push a "get" on a topic. It says "message arrived on topic: [my-topic]" but then the connection is lost. mqtt then reconnects. However, this keeps happening sort of in a loop. This is because I get a topic when mqtt connects. So one causes the connection lost and then it reconnects, gets again and once more connection is lost.
Has something changed here in mqtt? Maybe some backend settings?
The text was updated successfully, but these errors were encountered: