Skip to content

AWS_IoT_GSM Cannot get it to connect to broker. #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
attie44 opened this issue Nov 7, 2019 · 6 comments
Open

AWS_IoT_GSM Cannot get it to connect to broker. #8

attie44 opened this issue Nov 7, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@attie44
Copy link

attie44 commented Nov 7, 2019

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

@sandeepmistry
Copy link
Contributor

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.

@SkyFoxProjects
Copy link

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

@netskink

This comment was marked as outdated.

@marcelchelo

This comment was marked as duplicate.

@dynk

This comment was marked as duplicate.

@gabos-levente

This comment was marked as duplicate.

@per1234 per1234 added the bug Something isn't working label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants