Mattermost reports Please check connection, Mattermost unreachable. If issue persists, ask administrator to check WebSocket port

my mattermost instance is installed on my server (127.0.0.1:8065)and then shared over wifi LAN on 192.168.1.4:8065,

it is half-working always reports

" Please check connection, Mattermost unreachable. If issue persists, ask administrator to check WebSocket port."

and messages sent won’t show up on wifi devices until a manual refresh, but messages sent from these devices (on 192.168.1.4:8065) get automatically updated on 127.0.0.1:8065.

so that i kinda assumed this was a websocket problem.

i tried to fix this by setting “WebsocketURL”: “ws://127.0.0.1:8065/api/v4/websocket”, but the problem persists.

The important upgrade notes gives tips on this Important Upgrade Notes — Mattermost documentation. One of the notes mentions about setting the AllowCorsFrom to “*” in mattermost/config/config.json.

1 Like