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

CONNECT_SSL_ERROR -10 #67

Closed romeogb closed 6 years ago

romeogb commented 6 years ago

Hello,

A couple of days ago I was able to make the BAsicPubSub and the other sample programs to work, but as of today, i am getting the -10 error.

I have tried creating policies and certificates, attaching them, activating them, but nothing seems to work.

The only difference from those days is that i added to my profile a cognito pool_id, which is working with an android app.

Please help me to find the problem.

Thanks,

romeogb commented 6 years ago

Hello,

I found the problem. The endpoint had a different region. turns out that each region has its own separate object rep.

Regards,