You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The modules in my images are failing because the edgeHub module has not yet started and thus the IoT Clients are not getting initialized.
No module should be started until the edgeHub starts.
Also, I have a server module that is dependent on a postgres module.
I keep retrying the connection in my server module until the postgres module starts.
It would be much better if we could have a provision to specify the dependency of a module on another module.
The text was updated successfully, but these errors were encountered:
Thanks for the issue. I understand the issues that you are facing.
However, IoT Edge doesn't support starting modules in a particular order to encourage building resiliency into your module. This was a deliberate choice.
From the perspective of a module, there is no difference in a module starting before a dependency and that dependency crashing. Start up order may help in the first instance, but won't help if the Edge Hub (or any other module your module depends on) crashes or is updated. You need to build in this resiliency. The IoT Hub SDK will retry operations for you, and you should be able to adjust it's timeouts.
The modules in my images are failing because the edgeHub module has not yet started and thus the IoT Clients are not getting initialized.
No module should be started until the edgeHub starts.
Also, I have a server module that is dependent on a postgres module.
I keep retrying the connection in my server module until the postgres module starts.
It would be much better if we could have a provision to specify the dependency of a module on another module.
The text was updated successfully, but these errors were encountered: