Workaround for ws:// connection problem

hong
hong Guest Posts: 480 ✭✭✭✭✭
edited July 2019 in Tips and Tricks #1

If you are having trouble connecting to ws:// in PubSub+ Cloud, this is because HTTP Strict Transport Security may be causing your browser to forcefully upgrade your websocket connections to secured websocket connections. This results in the message broker rejecting the connection because the unsecured web messaging port cannot accept secured websockets.

The easiest workaround is to always use secured connections. Alternatively, use "Delete domain security policies" at chrome://net-internals/#hsts to clear the HSTS flag.

However, you must not visit vmr-mr8v6yiwicdj.messaging.solace.cloud, or make use of any site that calls vmr-mr8v6yiwicdj.messaging.solace.cloud because it will set the HSTS flag again.