eclipse / paho.mqtt.rust

paho.mqtt.rust
Other
516 stars 102 forks source link

Connecting to `wss://` fails. #150

Open FF-AntiK opened 2 years ago

FF-AntiK commented 2 years ago

I'm running a MQTT broker with websocket support (ws://localhost:9999). Also I'm running a HTTPS webserver which includes a reverse proxy, routing traffic from /mqtt to localhost:9999. How would I securely connect to wss://localhost/mqtt with paho.mqtt.rust?

I've tried different server uri and ssl option combinations without success. I'm able to connect to connect from this web application: http://www.hivemq.com/demos/websocket-client/ 2022-03-08-215954_1252x972_scrot