aws / aws-iot-device-sdk-arduino-yun

SDK for connecting to AWS IoT from an Arduino Yún.
Apache License 2.0
163 stars 77 forks source link

SSL Connect Error #68

Closed ayyoob closed 5 years ago

ayyoob commented 5 years ago

Hi,

I am trying to execute the BasicPubSub example in an Arduino Yun, I ended up with an error connection failed with the error code -10. Its working fine when I use the certs using a desktop MQTT.fx client or when using the AWS IoT Python SDK. However, I am struggling to connect it with the Arduino Yun. Any thoughts on possible reason where this can go wrong ?.

Thanks,

gordonwang0 commented 5 years ago

Hi @ayyoob,

This error generally happens because of an incorrect endpoint. Please see:

gordonwang0 commented 5 years ago

Hi @ayyoob,

Please let me know if you need any more help with this. Closing issue.