Skip to content

Connection interrupted intermittently #548

Answered by sbSteveK
tucker-SB asked this question in Q&A
Discussion options

You must be logged in to vote

If you are just getting started, I highly recommend you use the MQTT5 client instead of the MQTT311 client. It's better in a number of ways including more information related to disconnections and errors. The setup process is very similar and you can use the same certificate/key/etc during its setup.

The MQTT5 sample can be found here: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/mqtt5_pubsub.py
And its readme here: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/mqtt5_pubsub.md
The MQTT5 client also has a very good user guide here: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/documents/MQTT5_Userguide.md

Disconnects from the…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants