Azure / iot-hub-device-update-yocto

A Yocto Project for the Device Update for IotHub
4 stars 4 forks source link

Failed DNS Lookup #6

Open wayne-david opened 1 year ago

wayne-david commented 1 year ago

du-sample dns_error I tried implementing azure-device-update using this repository but ran into an issue.It builds correctly but agent fails to connect to Azure .Here is the Error and my sample du-config.json. Kindly assist.

jw-msft commented 1 year ago

In the logs, the mqtt transport layer is showing socket failure due to DNS lookup failure. On the device's shell, does a dns lookup for the same host also fail? You can check the config there against the expected DNS configuration. Are there specific dns server(s) required for the network environment of the device? Are the firewall rules on the network nodes along the route allowing DNS traffic?