Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

MQTT Client connect to Azure IoTHub "IndexError: bytes index out of range" error #93

Open
sw-dev-code opened this issue Feb 5, 2019 · 1 comment

Comments

@sw-dev-code
Copy link

What are the steps to reproduce this issue?

  1. Connect to WiFi network
  2. Call MQTTClient(...) with Azure IoTHub credentials.
  3. Call client.connect().

What happens?

Following error appears:

Traceback (most recent call last):
File "main.py", line 45, in
File "/flash/lib/mqtt.py", line 85, in connect
IndexError: bytes index out of range

What were you expecting to happen?

I'm expecting successfully MQTT connect to Azure IoTHub.

What versions of software are you using?

(sysname='LoPy4', nodename='LoPy4', release='1.18.1.r7', version='v1.8.6-849-d1c5ea9 on 2018-12-17', machine='LoPy4 with ESP32', lorawan='1.0.2', sigfox='1.0.1')

@sw-dev-code
Copy link
Author

Any updates on this issue?

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

No branches or pull requests

1 participant