Error when receiving data with ESP32 Azure IOT Arduino

oliverbru
Posts: 14
Joined: Thu Sep 26, 2019 8:52 am

Error when receiving data with ESP32 Azure IOT Arduino

Postby oliverbru » Wed Oct 16, 2019 9:56 pm

Hello,

I am using IOT Azure on Arduino IDE 1.8.10 with Wifi connection.
The device is able to send data via MQTT on Azure IOT Hub. No problem for that.
But when the device receives data, it reboots and I get this error :

23:48:07.225 -> Error: Time:Wed Oct 16 21:48:04 2019 File:C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\AzureIoT\src\az_iot\umqtt\src\mqtt_client.c Func:recvCompleteCallback Line:665 failure in mqttmessage_create

23:48:07.272 -> Error: Time:Wed Oct 16 21:48:04 2019 File:C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\AzureIoT\src\az_iot\iothub_client\src\iothubtransport_mqtt_common.c Func:mqtt_error_callback Line:1354 INTERNAL ERROR: unexpected error value received MQTT_CLIENT_MEMORY_ERROR

23:48:07.272 -> Error: Time:Wed Oct 16 21:48:05 2019 File:C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\AzureIoT\src\az_iot\iothub_client\src\iothubtransport_mqtt_common.c Func:mqtt_error_callback Line:1354 INTERNAL ERROR: unexpected error value received MQTT_CLIENT_PARSE_ERROR

23:48:07.319 -> Info: tlsio_openssl_close has been called when in neither TLSIO_STATE_OPEN nor TLSIO_STATE_ERROR.

I really do not understand what is happening.

Regards,

Who is online

Users browsing this forum: Google [Bot] and 38 guests