espressif / esp-azure

SDK to connect ESP8266 and ESP32 to Microsoft Azure IoT services
176 stars 92 forks source link

No connection with NB-IoT (CA-308) #135

Open SputnikTheMighty opened 1 year ago

SputnikTheMighty commented 1 year ago

I'm trying to connect to azure using NB-IoT

I've successfully used NB-IoT for http GET and POST requests, but the connection to azure never succeeds, even with a 45 min timeout.

I manage to connect to the DPS and get the registration information from of the IoT hub, but the last step of connect never succeeds.

Is there something I am missing?

SputnikTheMighty commented 1 year ago

I get MQTT client timed out error:

Error: Time:Thu Aug 24 11:56:11 2023 File:/home/esp/firmware/components/esp-azure/azure-iot-sdk-c/iothub_client/src/iothubtransport_mqtt_common.c Func:InitializeConnection Line:2428 mqtt_client timed out waiting for CONNACK