ArduinoCloudProviderExamples icon indicating copy to clipboard operation
ArduinoCloudProviderExamples copied to clipboard

AWS_IoT_GSM Cannot get it to connect to broker.

Open attie44 opened this issue 5 years ago • 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

  • https://github.com/arduino/ArduinoCloudProviderExamples/issues/8#issuecomment-1144797251
  • https://github.com/arduino/ArduinoCloudProviderExamples/issues/8#issuecomment-1374869069
  • https://github.com/arduino/ArduinoCloudProviderExamples/issues/8#issuecomment-1522117167

attie44 avatar Nov 07 '19 14:11 attie44

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.

sandeepmistry avatar Nov 11 '19 21:11 sandeepmistry

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 avatar Mar 09 '20 18:03 SkyFoxProjects

@SkyFoxProjects did you ever get MQTT to work?

netskink avatar Aug 11 '21 13:08 netskink

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

marcelchelo avatar Jun 02 '22 12:06 marcelchelo

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

dynk avatar Jan 08 '23 16:01 dynk

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

gabos-levente avatar Apr 25 '23 16:04 gabos-levente