Azure IoT Edge stuck restarting

If your Azure IoT Edge runtime is giving the status of:

IoT Edge Status: RESTARTING
ERROR: Runtime is restarting. Please retry later.

and is not allowing for any of the other commands and you have waited an appropriated amount of time, then try the following:

First stop the edgeAgent container in docker:

sudo docker stop edgeAgent

Then, run the setup script for the iotedgectl again:

sudo iotedgectl setup --connection-string "{device connection string}" --auto-cert-gen-force-no-passwords (make sure to use your parameters)

The edge run-time should restart appropriately.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s