Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_wait_for_msg raises empty MMQTTException when using iotcentral_device to connect to IoT Central #173

Open
garretjacobson opened this issue Aug 3, 2023 · 0 comments

Comments

@garretjacobson
Copy link

Following the readme & examples of connecting to IoT Central found here I can't seem to connect successfully due to _wait_for_msg failing.

`Traceback (most recent call last):
File "code.py", line 105, in
File "/lib/adafruit_azureiot/iotcentral_device.py", line 184, in connect
File "/lib/adafruit_azureiot/iot_mqtt.py", line 434, in subscribe_to_twins
File "/lib/adafruit_azureiot/iot_mqtt.py", line 327, in _get_device_settings
File "/lib/adafruit_azureiot/iot_mqtt.py", line 465, in loop
File "/lib/adafruit_minimqtt/adafruit_minimqtt.py", line 1009, in loop
File "/lib/adafruit_minimqtt/adafruit_minimqtt.py", line 1037, in _wait_for_msg
MMQTTException:

Code done running.`

I'm using Pico W adafruit-circuitpython-raspberry_pi_pico_w-en_US-8.2.1 with adafruit-circuitpython-azureiot-8.x-mpy-2.5.15 and adafruit-circuitpython-minimqtt-8.x-mpy-7.4.1

I added back in a socket timeout removed with this specific change and it started to work again from what I've observed so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant