Firefox changes the status code of websocket

Hello
I use mosquitto broker as a broker of MQTT protocol. when i publish a massage to some topic and subscribe to it with Google chrome everything is fine and work as well, but when i open that web page with Firefox latest version in any os, Firefox changes the status code of wss to 200 instead of 101 for protocol switching.

Is anybody have any idea for solving this problem?

2 Likes