Workaround for ws:// connection problem

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, or make use of any site that calls because it will set the HSTS flag again.