Skip to content
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

MQTT not connecting to AWS IOT with MKR NB 15000 #82

Open
mrks89 opened this issue Jan 22, 2023 · 3 comments
Open

MQTT not connecting to AWS IOT with MKR NB 15000 #82

mrks89 opened this issue Jan 22, 2023 · 3 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@mrks89
Copy link

mrks89 commented Jan 22, 2023

I am using the Cloud Example from Arduino IDE and could establish a NB-IOT connection but now I am stuck on the mqtt connection. I read many thread but nobody seems to have the exact same issue. The sole response of "ERROR" does not lead me to anything.
I am connected to PC via USB and antenna attached.

Here is my debug log:

OK
AT+CEREG?

+CEREG: 0,1

OK
You're connected to the cellular network

Attempting to MQTT broker: xxxxxx.1.amazonaws.com
AT+USOCR=6

+USOCR: 0

OK
AT+USOCO=0,"xxxxxx.1.amazonaws.com",8883

ERROR

+UUSOCL: 0
AT+USOCL=0

ERROR
.AT+USOER

+USOER: 9

OK
AT+USOCR=6

+USOCR: 0

OK
AT+USOCO=0,"xxxxxx.1.amazonaws.com",8883

ERROR

This repeats infinite times.

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Jan 22, 2023
@mrks89
Copy link
Author

mrks89 commented Jan 23, 2023

@per1234 what is missing?

@per1234
Copy link
Contributor

per1234 commented Jan 23, 2023

@mrks89 this is a place to submit formal reports of defects or proposals for enhancements regarding the code hosted in the repository. Those reports and proposals may eventually be evaluated and resolved by the developers.

This is not a place to request assistance with your project. If you were hoping for that, you must post on the Arduino Forum:

https://forum.arduino.cc/

@sprucify
Copy link

Check if you get back an DNS server from your provider

AT+CGCONTRDP

Have you setup certificates right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants