Azure device update agent unable to connect from device

Simran Singh 61 Reputation points


I'm trying to add the device update agent on my ubuntu 18.04 VM, following the provided reference (

I got everything to the point where I need to start the daemon. The device update agent is unable to start on device with the error; Cannot read configuration file: /etc/adu/du-config.json

File(/etc/adu/du-config.json) looks like this:


<Connection String> is obviously the primary connection String from my IoT Hub Device.

Here are the error logs from device update agent service on my ubuntu VM device when I am starting the device update agent service:-


*Please note,
--> My device is already connected to IOT Hub as an edge device.
--> Device optimization service is up and running on my system.
--> Connection string is replaced in file.
--> The edgeAgent and edgeHub are in running state.


Please let me know the possible solutions. Also if any other information needed.

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
385 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,136 questions
{count} vote

Accepted answer
  1. chbeier 1,866 Reputation points

    Good morning @Simran Singh ,

    You mentioned that you replaced the connection string in the config. Did you also set manufacturer, model, and name to get a valid /etc/adu/du-config.json? You might load the resulting JSON config to vs code to check the syntax. Unfortunately, in my eyes the documentation is not perfectly accurate in step 3.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful