MQTT connection failed

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
amitc
 
Posts: 3
Joined: Thu Apr 22, 2021 5:13 pm

MQTT connection failed

Post by amitc »

Hi ,

I received the USER id from a previous lab mate and updated the new user id with my details and also regenerated new key. Now device is not able to transfer data. It
I changed the user id and key in the code however no luck. Kindly help.

---> AT+CAOPEN?
<---
---> AT+CIPCLOSE
<---
---> AT+CMEE=2
<--- OK
---> AT+CMEE?
<--- +CMEE: 2
---> AT+CACID=1
<--- +CME ERROR: operation not allowed
Connection failed
Retrying MQTT connection in 5 seconds...

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: MQTT connection failed

Post by brubell »

Hi,

What software/libraries are you using to connect to Adafruit IO?

What hardware are you using?

Could you please post your FULL code within

Code: Select all

 tags?

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”