Summary of issue:
bje
set config.json AllowCorsFrom: “*” and was able to log in but sees these errors:
-
Server error log: “Failed to upgrade websocket connection” and “websocket.authTicker: did not authenticate ip=xxxxx”. They are logged in to Mattermost and tokens are already set for browser.
-
Browser error: “/api/v4/websocket’ failed: Error during WebSocket handshake”
-
If they use nginx, browser shows “too many redirects” message.
They normally don’t use Nginx and their websocket config settings are below with a full list of other config settings here:
“ServiceSettings”: {
“WebsocketURL”: “”,
“WebsocketSecurePort”: 443,
“WebsocketPort”: 80,
“AllowCorsFrom”: “*”, }