I am using mosquitto 1.6.3 and trying to test my websocket. Also I do not have TLS installed.
import paho.mqtt.client as paho import time broker="IP ADD