I has a broker that host mqtt server with websockets on https
connect:
broker = 'mybroker.com'
port = 443
client = mqtt_client.Client(client_id, transport="websockets")
client.username_pw_set(username, password)
client.on_connect = on_connect
client.connect(broker, port)
got error:
paho.mqtt.client.WebsocketConnectionError: WebSocket handshake error, connection not upgraded
I has a broker that host mqtt server with websockets on https
connect:
got error: