arduino/ArduinoCloudProviderExamples

AWS_IoT_GSM Cannot get it to connect to broker.

Opened this issue · 6 comments

After uploading this example a connection to GSM is made successfully.

After this it just keeps printing a . and keeps on trying to connect to the broker unsuccessfully.

How can I troubleshoot this to find out why it is not connecting to the broker?

Additional context

Additional reports

Hi @attie44,

Could you please change this line in your sketch: https://github.com/arduino/ArduinoCloudProviderExamples/blob/master/examples/AWS%20IoT/AWS_IoT_GSM/AWS_IoT_GSM.ino#L36

from GSM gsmAccess; to GSM gsmAccess(true);, then copy and paste the output of the serial monitor here. Thank you.

Hi @sandeepmistry

I am also having similar issues, I can get my board to initiate the GSM but when it reaches the MQTT connection it only shows "." and never managed to get pass that . I have triple check the setting on AWS and I do see the connection count going up every time I initiate the board. as requested please find attached the output of the serial monitor after changing the GSM gsmAccess to GSM gsmAccess(true);

logs for GSM AWS IoT MKR 1400 arduino board by Ruben skyfoxdigital.txt

@SkyFoxProjects did you ever get MQTT to work?

I have the same problem.
I can't connect to the aws broker.

dynk commented

I have the same problem, has anyone figured that out already?

Same by me... has anyone a working solution?