Connect failed: AMQJS0007E Socket error:undefined

Hey @dennisnguy ,

Sure, you can do it the following way:

  1. Clone the repo GitHub - hivemq/hivemq-mqtt-web-client: A websockets based MQTT Client for your browser.
  2. Find the file that contains the string ( js/mqttws31.js )
  3. Replace the string with what you like and save the file
  4. Start webserver in the project root directory ( the directory where the index.html file is located). For example, I start web server with Python: python3 -m http.server that runs the web app on http://localhost:8000 for me.

If you are interested in my test results: with ‘mqttv3.1’, ‘mqtt’ and ‘mqttv5’ the app works as expected.

Looking forward for you sharing your own test results

Dasha