Skip to content

Commit 0ead1ee

Browse files
authored
Merge pull request #51747 from neerajks77/patch-4
Possibility of device to cloud communication failure even when the device shows as running
2 parents 1c74a2b + ee280df commit 0ead1ee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

articles/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,17 @@ The sample application is running successfully when you see the following result
323323
324324
![Serial monitor output](media/iot-hub-arduino-devkit-az3166-get-started/getting-started/result-serial-output.png)
325325
326+
> [!NOTE]
327+
> You might encounter an error during testing in which the LED isn't blinking, the Azure portal doesn't show incoming data from the device, but the device OLED screen shows as **Running...**. To resolve the issue, in the Azure portal, go to the device in the IoT hub and send a message to the device. If you see the following response in the serial monitor in VS Code, it's possible that direct communication from the device is blocked at the router level. Check firewall and router rules that are configured for the connecting devices. Also, ensure that outbound port 1833 is open.
328+
>
329+
> ERROR: mqtt_client.c (ln 454): Error: failure opening connection to endpoint
330+
> INFO: >>>Connection status: disconnected
331+
> ERROR: tlsio_mbedtls.c (ln 604): Underlying IO open failed
332+
> ERROR: mqtt_client.c (ln 1042): Error: io_open failed
333+
> ERROR: iothubtransport_mqtt_common.c (ln 2283): failure connecting to address atcsliothub.azure-devices.net.
334+
> INFO: >>>Re-connect.
335+
> INFO: IoThub Version: 1.3.6
336+
326337
### View the telemetry received by Azure IoT Hub
327338
328339
You can use [Azure IoT Tools](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools) to monitor device-to-cloud (D2C) messages in IoT Hub.

0 commit comments

Comments
 (0)