Closed uriel-kluk closed 1 week ago
@bilalsellak (on-call) please see if you can repro?
Issue does not reproduce
@bilalsellak I managed to delete everything under /var/lib/aziot/storage/edgeHub
, then applied config and now it connects.
It appears that my cache got corrupted.
We can close this issue as it was specific to my system.
Thanks for your help!
Description: After configuring an incorrect route for the MetricsCollector, generating the deployment manifest, and deploying it to my IoT Edge instance, the route did not function as expected. Attempted to remove the faulty route and the MetricsCollector module itself, but now edgeHub fails to start.
Error Details: In the console log, the following error is observed:
The module twin for edgeHub shows this additional error:
Steps to Reproduce:
Expected Behavior: After removing the faulty route and the MetricsCollector module, edgeHub should start without issues.
Actual Behavior: edgeHub fails to start due to a
System.TimeoutException
and parsing error related to the route configuration.Possible Cause: The faulty route seems to prevent edgeHub from parsing desired properties, leading to a
RouteCompilationException
.Suggested Fix: Investigate and ensure that route removal fully resets any faulty configuration in the edgeHub deployment manifest. Consider implementing additional validation or error handling for route configurations to prevent this issue.
Environment: