Search code examples
azure-iot-hubazure-iot-edge

Stuck in Network azure-iot-edge-dev is external, skipping


Runing the Build and Run Iot Edge Solution in Simulator stopped working suddenly, and the log builds the containers and stops at this message Network azure-iot-edge-dev is external, skipping Everything was working fine 5mins ago, tried rebooting, restarting docker, iotedgehubdev, but in vain. Do you know how can I get more logs and/or resolve this problem ?


Solution

  • This is a generic error that is thrown for a variety of reasons. Possible causes can be:

    • Proxy blocking pulling images of edgeHub and edgeAgent
    • A problem in the deployment.template.json (or debug template), e.g. missing brackets
    • Ports of edgeHub that are in use
    • Docker configured for Windows containers when targeting Linux or visa-versa

    The Build output or IoT hub output in Visual Studio usually gives a bit more information.