-
Notifications
You must be signed in to change notification settings - Fork 421
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
Every MQTTClient disconnect results in a disconnectTimeoutException #96
Comments
Hi @daviian , Thank you very much for using AWS IoT Python SDK. Can you attach the log output when you are experiencing this issue? Can you clarify which version of the SDK you are using? You can get the information using the following commands:
I tested with similar code snippet against v1.3.1 and got the following log output: Code:
Logs:
|
My AWSIoTPythonSDK version is also 1.3.1 This is my log output:
Maybe I should add some more information. |
Hi @daviian , Thank you for providing the information. That's really helpful. You mentioned that you are using the shadow client and MQTT client at the same time. Can you elaborate more on that? Are those 2 separate connections to the server or you get the access to the underneath MQTT client from your shadow client using this API: Thanks, |
Hi @liuszeng I overlooked that method in the API und totally forgot that I can't connect twice with the same Will close this and open a new one if necessary. |
Using this code the disconnect on the MQTT Client always results in a
disconnectTimeoutException
Is this intended behaviour or am I doing something wrong?
The text was updated successfully, but these errors were encountered: