eclipse-paho / eclipse-paho/paho.mqtt.python
SRV connection do not work (with fix)
Open
Status: Accepted
Type: Bug
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 742
- Avg merge
- 12d 48m
- Merged PRs (30d)
- 1
Description
https://github.com/eclipse/paho.mqtt.python/blob/1eec03edf39128e461e6729694cf5d7c1959e5e4/src/paho/mqtt/client.py#L974
Please replace line with parameters instead of wrong positional arguments.
Testen on python 2.7.x and 3.5.x fixes both.
# return self.connect(host, port, keepalive, bind_address, clean_start, properties)
# Edwin van den Oetelaar fixes this 2020-05-22
return self.connect(host=host, port=port, keepalive=keepalive, bind_address=bind_address, clean_start=clean_start, properties=properties)
Contributor guide
Assessment
This issue has not been assessed yet.