GitLab Mattermost: Upcoming breaking change when using Mattermost with a reverse proxy
Mattermost is moving to new APIv4 endpoints, which will allow for more powerful integrations and server interaction.
As part of this move, we will be moving the WebSocket endpoint to APIv4 in Q3 of 2017 (tentatively scheduled for July 16, 2017 release). This will result in a breaking change for deployments using a reverse proxy.
For those configuring NGINX proxy, just a single one-line change is required, replacing the location /api/v3/users/websocket {
line with location ~ /api/v[0-9]+/(users/)?websocket$ {
in the /etc/nginx/sites-available/mattermost
NGINX configuration file. We've noted this in our documentation.
I'm opening an issue so we can discuss if any changes are needed for GitLab Mattermost, as we weren't sure what kind of configuration is recommended on your end.