cancel
Showing results for 
Search instead for 
Did you mean: 

Error when trying to connect STEVAL-STWIN to Azure cloud

JTauc.1
Associate II

I am receiving the following error when I was working through the industrial webinar

Error: Time:Thu Jun 3 18:09:35 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:onOpenComplete Line:455 Error: failure opening connection to endpoint

Error: Time:Thu Jun 3 18:09:35 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\c-utility\adapters\tlsio_mbedtls.c Func:tlsio_mbedtls_open Line:623 Underlying IO open failed

Error: Time:Thu Jun 3 18:09:35 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:mqtt_client_connect Line:1044 Error: io_open failed

Error: Time:Thu Jun 3 18:09:35 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\iothub_client\src\iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2733 failure connecting to address iotc-a2a71bcc-aa78-478b-95b7-03b897fbbaa2.azure-devices.net.

ERROR: C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\ST\STM32_Network_Library\core\net_socket.c:366 low level socket creation failed.

Error: Time:Thu Jun 3 18:09:39 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:onOpenComplete Line:455 Error: failure opening connection to endpoint

Error: Time:Thu Jun 3 18:09:39 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\c-utility\adapters\tlsio_mbedtls.c Func:tlsio_mbedtls_open Line:623 Underlying IO open failed

Error: Time:Thu Jun 3 18:09:39 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:mqtt_client_connect Line:1044 Error: io_open failed

Error: Time:Thu Jun 3 18:09:39 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\iothub_client\src\iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2733 failure connecting to address iotc-a2a71bcc-aa78-478b-95b7-03b897fbbaa2.azure-devices.net.

ERROR: C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\ST\STM32_Network_Library\core\net_socket.c:169 Socket allocation failed.

Error: Time:Thu Jun 3 18:09:47 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:onOpenComplete Line:455 Error: failure opening connection to endpoint

Error: Time:Thu Jun 3 18:09:47 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\c-utility\adapters\tlsio_mbedtls.c Func:tlsio_mbedtls_open Line:623 Underlying IO open failed

Error: Time:Thu Jun 3 18:09:47 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:mqtt_client_connect Line:1044 Error: io_open failed

Error: Time:Thu Jun 3 18:09:47 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\iothub_client\src\iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2733 failure connecting to address iotc-a2a71bcc-aa78-478b-95b7-03b897fbbaa2.azure-devices.net.

ERROR: C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\ST\STM32_Network_Library\core\net_socket.c:169 Socket allocation failed.

Error: Time:Thu Jun 3 18:10:03 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:onOpenComplete Line:455 Error: failure opening connection to endpoint

Error: Time:Thu Jun 3 18:10:03 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\c-utility\adapters\tlsio_mbedtls.c Func:tlsio_mbedtls_open Line:623 Underlying IO open failed

Error: Time:Thu Jun 3 18:10:03 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\umqtt\src\mqtt_client.c Func:mqtt_client_connect Line:1044 Error: io_open failed

Error: Time:Thu Jun 3 18:10:03 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Middlewares\Third_Party\azure-iot-sdk-c_public_preview\iothub_client\src\iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2733 failure connecting to address iotc-a2a71bcc-aa78-478b-95b7-03b897fbbaa2.azure-devices.net.

Error: Time:Thu Jun 3 18:10:33 2021 File:C:\nobackup\Code\repo\FP-CLD-AZURE1_New\Firmware\Projects\STWINCSV1\Applications\AzurePnP\DigitalTwin\digitaltwin_client_helper.c Func:DigitalTwinClientHelper_RegisterInterfacesAndWait Line:148 Timed out attempting to register DigitalTwin interfaces

Err: DigitalTwinClientHelper_RegisterInterfacesAndWait failed

Err Type AZURE_ERR_IOT_START

    Necessity to restart the Board

2 REPLIES 2
GAmin.1
Associate

I have the same problem, has this been resolved?

JTauc.1
Associate II

No, I am going to try an FAE. I will post back here if I find something. The Azure trial is only good for 7 days, hopefully, I can get a new trial.