Failed to connect: libaws-c-mqtt: AWS_ERROR_MQTT_UNEXPECTED_HANGUP, The connection was closed unexpectedly #479
-
Hi everyone, I follow the instruction on the main page to run the sample in However, I got this error Note: Im sure that cert, key and ca files are all correct because I can connect and do pub/sub with aws-iot-device-sdk-python-v2 or use Kindly advise. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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