Unable to connect and receive_twin_desired_properties_patch
See original GitHub issueHi, I’m using a simple code based on this functionality:
device_client = IoTHubDeviceClient.create_from_connection_string(CONNECTION_STRING)
await device_client.connect()
desired = await device_client.receive_twin_desired_properties_patch()
While yesterday it worked perfectly, today im suddenly getting this (common) error:
azure.iot.device.common.transport_exceptions.ConnectionDroppedError: None
ERROR: MQTTTransportStage: _on_mqtt_disconnect called: Out of memory.
ERROR: Exception caught in background thread. Unable to handle.
azure.iot.device.common.transport_exceptions.ProtocolClientError: Out of memory.
Any ideas?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Tutorial - Synchronize device state from Azure IoT Hub
This tutorial shows you how to use desired and reported properties to synchronize state information. Diagram of device twins on the device and ......
Read more >Connection drops / unable to read module twin desired ...
I created a module on IoT Edge and I'm running a main.py that reads module twin updates and writes them to the console....
Read more >Azure IoTHub Device does not receive every Twin changes
I'm trying to receive all twin desired changes in a function. I created 100 device client for 100 Iot Hub devices. I added...
Read more >adafruit_azureiot — Adafruit AzureIoT Library 1.0 documentation
Called when the device twin desired properties are updated. Parameters. desired_property_name (str) – The name of the desired property that was updated.
Read more >IoT Hub Device Twin and MQTT - baeke.info
When you connect to IoT Hub with MQTT directly, you need to connect with a ClientId, username and password. Those three values need...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lokijota, to set a default level (DEBUG, INFO, WARNING, or ERROR):
or, for an individual component:
@BertKleewein, @livneros, @lokijota, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey