-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Google IoT Core w/ NB IoT can't connect #7
Comments
This comment was marked as spam.
This comment was marked as spam.
Yes indeed, and the appropriate ArduinoMqttClient and MKRNB librairies. |
Can you please change the It would also be great to know what carrier you are using etc. |
Btw, I was able to connect to my GCP IoT Core with mosquitto. Google IoT Core needs a complete cerficate package (roots.pem) and I don't find the corresponding cert in the utility NBrootscert, so my guess is the problem comes from here. |
Here it is:
Then it continues in loop. |
I forgot to mention carrier is SFR NB-IOT. |
Is still working on your side ? I checked that every basic information was entered right with mosquitto. So then I tried checking what was happening with SSL connection. I have tried :
Nothing worked, but I am not an expert so I might have done something wrong. If you have time, any help would be gladly appreciated. |
@nicolasgarnet the SSL layer seems ok on my side (I haven't tried the JWT again however). Via
Here's the debug log when I run the
I've attached the root cert from the lib: Would you be able to check with your provider if the connection was allowed? |
The write is failing in the debug log you provided:
|
Hello @sandeepmistry , I took the time to investigate more before responding. Provider is saying that there are no limitation on my NB sim card. They don't see what reason could not make it work on their part. What suggests to you the problem comes from my provider ? From the error in the debug log I provided, it seems the handshake between the socket and the remote server doesn't work. I have tried translating it from HEX:
The second part is the jwt key, which I am sure is correct. Is it a problem located on my MKR 1500, or is it on the network provided ? What's your opinion ? So I checked and it seems that my ublox sara-R410M 02B-00 doesn't have the lastest firmware version. I can see this with ATI9:
Could it be the origin the error ? I can't manage to update it with "program m-center. Do you think buying a recent MKR 1500 directly from Arduino could solve this ? I am starting to get a bit lost behind all the AT commands and understanding the origin of the problem... I am really grateful that you tested the code on your side, at least I am not suspecting errors from it now. |
I am unsure, for whatever reason after the socket is connected and the MQTT connection data is written the socket is marked as closed. It could be the server disconnecting or the the u-blox module.
It appears the timestamp of the module is fine:
At this point I doubt it. Would you be able to try with another SIM from a different provider? |
Hi, I am facing same problem,
|
Is it possible if the certifications used by the MKRNB are expired? |
This problem with GCP / IoT exists on the MKRNB1500, GSM1400, and WiFi1010. None of these platforms are successfully opening a connection on 8883. Secure MQTT to test.mostquitto.org works fine on all platforms. This appears to be a problem with establishment of the initial SSL connection to Google Cloud Platform. |
I have such a problem on my MKR GSM 1400 board. Internet connection works, but I cannot connect to the Google platform
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@fabltd Now my MKR board don't won't use any CA
|
Hi,
I am using the arduino tutorial for connecting MKR 1500 (NB-IoT) to Google IoT Core with the corresponding librairies.
It doesn't work.
Azure tutorial works fine, but not IoT Core.
I have done it several times while following each step precisely.
I have different hypothesis :
Is it still working for other MKR 1500 and Google IoT Core users ?
The text was updated successfully, but these errors were encountered: