You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-edge/troubleshoot-common-errors.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.custom: [amqp, mqtt]
17
17
18
18
Use this article to identify and resolve common issues when using IoT Edge solutions. If you need information on how to find logs and errors from your IoT Edge device, see [Troubleshoot your IoT Edge device](troubleshoot.md).
19
19
20
-
## Installation, Provisioning and Deployment
20
+
## Provisioning and Deployment
21
21
22
22
### IoT Edge module deploys successfully then disappears from device
23
23
@@ -27,7 +27,7 @@ After setting modules for an IoT Edge device, the modules are deployed successfu
27
27
28
28
#### Cause
29
29
30
-
If an automatic deployment targets a device, it takes priority over manually setting the modules for a single device. The **Set modules** functionality in Azure portal or **Create deployment for single device** functionality in Visual Studio Code will take effect for a moment. You see the modules that you defined start on the device. Then the automatic deployment's priority kicks in and overwrites the device's desired properties.
30
+
If an automatic deployment targets a device, it takes priority over manually setting the modules for a single device. The **Set modules** functionality in Azure portal or **Create deployment for single device** functionality in Visual Studio Code takes effect for a moment. You see the modules that you defined start on the device. Then the automatic deployment's priority starts and overwrites the device's desired properties.
31
31
32
32
#### Solution
33
33
@@ -83,7 +83,7 @@ A group enrollment is used to provision an IoT Edge device to an IoT Hub. The Io
83
83
1. If the device isn't reprovisioned, restart the device using `sudo iotedge system restart`.
84
84
1. If the device isn't reprovisioned, force reprovisioning using `sudo iotedge system reprovision`.
85
85
86
-
To automatically reprovision, set `dynamic_reprovisioning: true` in the device configuration file. Setting this flag to true opts in to the dynamic reprovisioning feature. IoT Edge detects situations where the device appears to have been reprovisioned in the cloud by monitoring its own IoT Hub connection for certain errors. IoT Edge responds by shutting itself and all Edge modules down. The next time the daemon starts up, it will attempt to reprovision this device with Azure to receive the new IoT Hub provisioning information.
86
+
To automatically reprovision, set `dynamic_reprovisioning: true` in the device configuration file. Setting this flag to true opts in to the dynamic reprovisioning feature. IoT Edge detects situations where the device appears to have been reprovisioned in the cloud by monitoring its own IoT Hub connection for certain errors. IoT Edge responds by shutting down all Edge modules and itself. The next time the daemon starts up, it will attempt to reprovision this device with Azure to receive the new IoT Hub provisioning information.
87
87
88
88
When using external provisioning, the daemon will also notify the external provisioning endpoint about the reprovisioning event before shutting down. For more information, see [IoT Hub device reprovisioning concepts](../iot-dps/concepts-device-reprovision.md).
89
89
@@ -96,7 +96,7 @@ When using external provisioning, the daemon will also notify the external provi
96
96
97
97
#### Symptoms
98
98
99
-
The edgeAgent module starts and runs successfully for about a minute, then stops. The logs indicate that the IoT Edge agent attempts to connect to IoT Hub over AMQP, and then attempts to connect using AMQP over WebSocket. When that fails, the IoT Edge agent exits.
99
+
The *edgeAgent* module starts and runs successfully for about a minute, then stops. The logs indicate that the IoT Edge agent attempts to connect to IoT Hub over AMQP, and then attempts to connect using AMQP over WebSocket. When that fails, the IoT Edge agent exits.
100
100
101
101
Example edgeAgent logs:
102
102
@@ -121,7 +121,7 @@ Ensure that there's a route to the internet for the IP addresses assigned to thi
121
121
122
122
#### Symptoms
123
123
124
-
The device has trouble starting modules defined in the deployment. Only the edgeAgent is running but continually reporting 'empty config file...'.
124
+
The device has trouble starting modules defined in the deployment. Only the *edgeAgent* is running but continually reporting 'empty config file...'.
125
125
126
126
#### Cause
127
127
@@ -366,7 +366,7 @@ For all Linux distros except CentOS 7, IoT Edge's default configuration is to us
366
366
367
367
#### Solution
368
368
369
-
You don't need to disable socket activation on a distro where socket activation is supported. However, if you prefer to not use socket activation at all, put the sockets in `/var/lib/iotedge/`.
369
+
You don't need to disable socket activation on a distribution where socket activation is supported. However, if you prefer to not use socket activation at all, put the sockets in `/var/lib/iotedge/`.
370
370
1. Run `systemctl disable iotedge.socket iotedge.mgmt.socket` to disable the socket units so that systemd doesn't start them unnecessarily
371
371
1. Change the iotedge config to use `/var/lib/iotedge/*.sock` in both `connect` and `listen` sections
372
372
1. If you already have modules, they have the old `/var/run/iotedge/*.sock` mounts, so `docker rm -f` them.
0 commit comments