Open edonosotti opened 1 year ago
We are still getting these errors, intermittently, across all environments and different Hubs. Sometimes it lasts for days. This issue has been pending for 6 months now, any chance that we might get answers eventually?
Description of the issue
All of a sudden, in one of our environments any attempt to invoke a Direct Method on any device in the fleet consistently failed. Searching into the logs we found out that the
Client.open()
method of the SDK failed after ~4 minutes with the following error:Notes:
code
property in the error message is empty.Client
are being created and destroyed at each attempt, a fresh instance is created at any new attempt.Client
instances in the running application was not enough to get rid of it.References
This issue is also similar to this one reported for
azure-iot-sdk-node
in 2020. Note this comment from @anthonyvercolano:This was somewhat our situation. We could consistently receive device-to-cloud (D2C) messages, but weren't able to invoke Direct Methods on the devices. The comment above mentions cloud-to-device (C2D) messages, but both Direct Methods and C2D messages requires the application to connect to the IoT Hub first to send either of them.
Thank you for your time and I appreciate any advice you could share!