subscribe to Industruino MQTT over SSL
Hello every one,
I have a problem to subcribe to Mosquitto MQTT server/broker. I use the exemple made by Tom here and all is ok with Industruino. But I would like to subcribe to test.mosquitto.org server with port 8883 until my desktop using Javascript and impossible to connect to the server. Error message is : "WebSocket connection to 'wss://test.mosquitto.org:8883/mqtt' failed: ".
If anybody could help me that will be very nice.
Thanks a lot
Olivier
Hi,
Thanks for your answer Tom. I changed the port with 8081 and my web socket works well.
Have a good day.
hi, i don't think you should be using a websocket on port 8883, see https://test.mosquitto.org/ for ports to use with web sockets
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
| Asked: 3/31/22, 12:39 PM |
| Seen: 2057 times |
| Last updated: 4/1/22, 7:31 AM |