Common Troubleshooting Topics
Module deployment failures
+Ensure your device is connected and has sufficient resources. Verify the module manifest and version compatibility. Check the iotedge daemon logs for detailed error messages.
Device connectivity issues
+Confirm network firewall rules allow outbound traffic on ports 443 and 5671. Use iotedge check to diagnose connectivity. Verify the device certificate is valid and not expired.
Runtime errors
+Inspect the module logs via iotedge logs <module-name>. Common errors include missing environment variables or mismatched Docker runtime versions. Update Docker to the latest supported version for Edge.
Updating modules
+Use the IoT Hub portal to push new module images. After an update, run iotedge restart <module-name> to apply changes. Verify the new image tag is correctly referenced in the deployment manifest.
Security & permissions
+Check that the device identity has the proper IoT Hub role assignments. Ensure that the edge runtime has access to the system's TPM or HSM for secure key storage.