Skip to content

Commit 832f258

Browse files
committed
Remove duplicate section
1 parent c890cff commit 832f258

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

articles/iot-edge/troubleshoot-common-errors.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -537,22 +537,6 @@ You do not need to disable socket activation on a distro where socket activation
537537
1. Change the iotedge config to use `/var/lib/iotedge/*.sock` in both `connect` and `listen` sections
538538
1. If you already have modules, they have the old `/var/run/iotedge/*.sock` mounts, so `docker rm -f` them.
539539
540-
## DPS client error
541-
542-
**Observed behavior:**
543-
544-
IoT Edge fails to start with error message `failed to provision with IoT Hub, and no valid device backup was found dps client error.`
545-
546-
**Root cause:**
547-
548-
A group enrollment is used to provision an IoT Edge device to an IoT Hub. The registration is deleted in DPS. A new registration is created in DPS to link to a different IoT hub. The device isn't reprovisioned because reprovisioning is set to false.
549-
550-
**Resolution:**
551-
552-
If you remove the group enrollment and re-create it, you must run `sudo iotedge system reprovision` to reprovision the device. Run the reprovision command even if no DPS information has changed in `config.toml` for the device.
553-
554-
To automatically reprovision, use the `always_reprovision_on_startup` or `dynamic_reprovisioning` lines to configure your device's reprovisioning behavior. If a device is set to reprovision on startup, it will always attempt to provision with DPS first and then fall back to the provisioning backup if that fails. If a device is set to dynamically reprovision itself, IoT Edge (and all modules) will restart and reprovision if a reprovisioning event is detected, like if the device is moved from one IoT Hub to another. Specifically, IoT Edge checks for `bad_credential` or `device_disabled` errors from the SDK to detect the reprovision event. To trigger this event manually, disable the device in IoT Hub. For more information, see [IoT Hub device reprovisioning concepts](../iot-dps/concepts-device-reprovision.md).
555-
556540
## Next steps
557541
558542
Do you think that you found a bug in the IoT Edge platform? [Submit an issue](https://github.com/Azure/iotedge/issues) so that we can continue to improve.

0 commit comments

Comments
 (0)