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

basic PubSub Error connect failed -1

Daniel-Git-Hub opened this issue · 2 comments

config is as follows
AWS_IOT_MQTT_HOST "**************.iot.ap-northeast-1.amazonaws.com"

define AWS_IOT_MQTT_PORT 8883 // your port

define AWS_IOT_CLIENT_ID "seeeduino" // your client ID

define AWS_IOT_MY_THING_NAME "seeeduino" // your thing name

define AWS_IOT_ROOT_CA_FILENAME "rootCA.pem" // your root-CA filename

define AWS_IOT_CERTIFICATE_FILENAME "certificate.pem.crt" // your certificate filename

define AWS_IOT_PRIVATE_KEY_FILENAME "private.pem.key" // your private key filename

Hi @Daniel-Git-Hub ,

Thank you very much for using AWS IoT Arduino Yun SDK!

As the initial debugging step, can you go ahead and verify the integrity of your connectivity information and credentials using another MQTT client, e.g., MQTT.fx, and see if you can connect?

Please let us know how it goes.

Thanks,
Liusu

thanks yes I can connect to that.
But I fully reset it (using a seeduino) and then re uploaded everything and set it up again
and I could connect using the default MQTT client