Skip to content

Failed to connect: libaws-c-mqtt: AWS_ERROR_MQTT_UNEXPECTED_HANGUP, The connection was closed unexpectedly #479

Answered by jmklix
hchautrung asked this question in Q&A
Discussion options

You must be logged in to vote

What does the IAM policy for the certificates look like?

You can always go to the AWS console and follow the IoT getting started guide. It will download new certs and a shell script to get the pubsub running. Trying that will help us determine what might be causing your UNEXPECTED_HANGUP

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jmklix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 2 days.
2 participants