mqtt_async does not work with 1.13
Closed this issue · 4 comments
spacemanspiff2007 commented
Connecting to ('BROKER_IP', 1883) id=b'30aea4389004' clean=1
unexpected keyword argument 'ssl'
Task exception wasn't retrieved
future: <Task> coro= <generator object 'a' at 3ffe97b0>
Traceback (most recent call last):
File "uasyncio/core.py", line 1, in run_until_complete
File "wrap.py", line 7, in a
File "mqtt.py", line 42, in start_mqtt
File "mqtt_async.py", line 596, in connect
File "mqtt_async.py", line 188, in connect
File "mqtt_async.py", line 26, in open_connection
TypeError: unexpected keyword argument 'ssl'
MicroPython v1.13 on 2020-09-02; ESP32 module with ESP32
tve commented
v1.13 still doesn't support uasyncio with TLS, hence the error. That support is currently slated for v1.14. Or am I missing some other problem?
spacemanspiff2007 commented
Oh - I am not trying to use ssl and was under the impression it would work then.
tve commented
"It should work" but I have not tried it. I just looked through my commit log and I don't see anything that is not in 1.13, except for the TLS stuff. I do not believe there's anything TLS specific other than the one keyword argument, whcih you can easily remove.
spacemanspiff2007 commented
I removed the kw-arg for ssl and it seems to work properly.