Mattermost, Inc.

WebSocket configuration warning after EBS setup

Hi all,
I followed instructions at https://github.com/mattermost/platform/blob/master/doc/install/Amazon-Elastic-Beanstalk.md for AWS Elastic Beanstalk Setup (Docker) but, when accessing the system, I get the following warning on top of the page:

We cannot reach the Mattermost service. The service may be down or misconfigured. Please contact an administrator to make sure the WebSocket port is configured properly.

What does that imply? Is there something I need to do on EC2 instance or in EBS configuration to get things working fine?

I apologize, but this is my first experience with EBS .
Thanks in advance for your precious help :slight_smile:

I have the same problem. Have you gotten any resolution on this?

Jon

I’m guessing your AWS security group isn’t allowing tcp on port 80 or 8065.

Looks like the websocket cannot connect. Basically the http port used needs to be able to upgrade to a websocket connection (http:// -> ws://). If you’re using amazon ELB then you need to allow tcp port 80 to connect to tcp port 8065. If you configured with nginx then you need something like below in the nginx config.

proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection “upgrade”;

from https://github.com/mattermost/platform/blob/master/doc/install/Production-Ubuntu.md