Provisioning Client timeout after failed Authentication Exception
See original GitHub issueContext
- Ubuntu Core
- Python 3.8
- azure-iot-device==2.9.0
Description of the issue
I’m working on a device which does not have an RTC, thus, when it first starts up, we do not have correct time.
As a result, if we attempt to Provision with a certificate after we connect to the cloud, but before NTP has synced time, we get a exceptions.TlsExchangeAuthError
, which is expected since the certificate’s time range will not be acceptable yet.
however, we try to connect again after time syncs, and we get a different exception:
ClientError('Unexpected failure') caused by ServiceError('Operation timed out before provisioning service could respond for register operation')
we continue to receive this exception until we restart our application.
this began to occur when we implemented the fix recommended here: https://github.com/Azure/azure-iot-sdk-python/issues/899
Console log of the issue
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
@jonathon793
I have been able to repro the issue, working on figuring out what the issue is now. Will hopefully have an update for you soon.
@cartertinney , yes. thank you very much