Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

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.
Please be positive and constructive with your questions and comments.

MQTT connection failed

by amitc on Wed Jun 02, 2021 8:44 pm

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...

amitc
 
Posts: 2
Joined: Thu Apr 22, 2021 5:13 pm

Re: MQTT connection failed

by brubell on Fri Jun 04, 2021 9:28 am

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] tags?

brubell
 
Posts: 1381
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.