-
Notifications
You must be signed in to change notification settings - Fork 113
Description
-
I have tried and tested everything that is written on these issues.
1. Error : AWS_ERROR_MQTT_UNEXPECTED_HANGUP #110
2.AWS_ERROR_MQTT_UNEXPECTED_HANGUP in sample mqtt/basic_pub_sub awslabs/aws-crt-cpp#96
And I still get the error(in the title). -
I try to run the shadow.py (from this sample 'https://github.com/aws/aws-iot-device-sdk-python-v2/tree/main/samples' ),
like that
python3 shadow.py --endpoint "xxxxxxx-ats.iot.eu-central-1.amazonaws.com" --root-ca /Users/sec/root_ca.pem --cert /Users/sec/cer.pem --key /Users/sec/private_key.pem --thing-name "myThingName" -
I also tried different format for the files (.key .pem .crt)
The thing is exists and has an activate certificate and the endpoint is rigth -
The full error:
awscrt.exceptions.AwsCrtError: AWS_ERROR_MQTT_UNEXPECTED_HANGUP: The connection was closed unexpectedly.
10x!!!