eclipse-paho / eclipse-paho/paho.mqtt.python
Client.reinitialise() changes transport type
Open
Status: Available
Type: Bug
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 742
- Avg merge
- 12d 48m
- Merged PRs (30d)
- 1
Description
The reinitialise() method of the client does not take the same arguments as the constructor (contrary to what the documentation says). This causes the unspecified arguments to change to default values.
If using websockets as a transport type, after calling reinitialise() the transport is changed to the default TCP and the client is unable to connect. This also applies to other unsupported arguments (protocol version and autoreconnect).
Contributor guide
Assessment
This issue has not been assessed yet.