aws/aws-iot-device-sdk-cpp

Secure Tunneling

rangi-vivek opened this issue · 3 comments

I have compiled Secure Tunneling sample application. But when i am running the application using the command: ./tunnel-notification --endpoint --cert <My_cert_pem.crt> --key <my_private_key.pem.key> --ca_file <my_ca_file> --thing_name <my_thing_name> , I am getting following error:
AWS libcrypto resolve: searching process and loaded modules
AWS libcrypto resolve: found static aws-lc HMAC symbols
AWS libcrypto resolve: found static aws-lc libcrypto 1.1.1 EVP_MD symbols
Connecting...
Connection completed with return code 0
############################################################################################notification
topic =
topic = $aws/things/secure-tunnel-demo/tunnels/notify
MQTT Connection failed with error 5138 : 2

Can anyone tell why I am getting the Connection failed error with compiled "tunnel-notification" application. I have also followed the link https://github.com/aws-samples/iot-secure-tunneling-demo/blob/master/docs/prereqs.md to configure the AWS Clpoud 9 environment. Kindly help

I am getting error "MQTT Connection failed with error 5138". The ": 2" is my debug print

It looks like you are trying to use the v2 sdk. Can you open an issue there?

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.