Skip to content

Instantly share code, notes, and snippets.

@kpm-at-hfi
Created April 7, 2021 17:16
Show Gist options
  • Save kpm-at-hfi/dcd951b996aae5a91d9747a64744a541 to your computer and use it in GitHub Desktop.
Save kpm-at-hfi/dcd951b996aae5a91d9747a64744a541 to your computer and use it in GitHub Desktop.
~ $ sudo iotedge check --iothub-hostname my-iot-hub.azure-devices.net
Configuration checks
--------------------
√ config.yaml is well-formed - OK
√ config.yaml has well-formed connection string - OK
√ container engine is installed and functional - OK
√ config.yaml has correct hostname - OK
√ config.yaml has correct URIs for daemon mgmt endpoint - OK
‼ latest security daemon - Warning
Installed IoT Edge daemon has version 1.0.10.4 but 1.1.1 is the latest stable version available.
Please see https://aka.ms/iotedge-update-runtime for update instructions.
√ host time is close to real time - OK
√ container time is close to host time - OK
√ DNS server - OK
√ production readiness: identity certificates expiry - OK
√ production readiness: certificates - OK
√ production readiness: container engine - OK
√ production readiness: logs policy - OK
√ production readiness: Edge Agent's storage directory is persisted on the host filesystem - OK
√ production readiness: Edge Hub's storage directory is persisted on the host filesystem - OK
Connectivity checks
-------------------
√ host can connect to and perform TLS handshake with DPS endpoint - OK
√ host can connect to and perform TLS handshake with IoT Hub AMQP port - OK
√ host can connect to and perform TLS handshake with IoT Hub HTTPS / WebSockets port - OK
√ host can connect to and perform TLS handshake with IoT Hub MQTT port - OK
× container on the default network can connect to IoT Hub AMQP port - Error
Container on the default network could not connect to my-iot-hub.azure-devices.net:5671
× container on the default network can connect to IoT Hub HTTPS / WebSockets port - Error
Container on the default network could not connect to my-iot-hub.azure-devices.net:443
× container on the default network can connect to IoT Hub MQTT port - Error
Container on the default network could not connect to my-iot-hub.azure-devices.net:8883
× container on the IoT Edge module network can connect to IoT Hub AMQP port - Error
Container on the azure-iot-edge network could not connect to my-iot-hub.azure-devices.net:5671
× container on the IoT Edge module network can connect to IoT Hub HTTPS / WebSockets port - Error
Container on the azure-iot-edge network could not connect to my-iot-hub.azure-devices.net:443
× container on the IoT Edge module network can connect to IoT Hub MQTT port - Error
Container on the azure-iot-edge network could not connect to my-iot-hub.azure-devices.net:8883
18 check(s) succeeded.
1 check(s) raised warnings. Re-run with --verbose for more details.
6 check(s) raised errors. Re-run with --verbose for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment