Question
Mattermost marketplace keeps returning 502 a few minutes after running
I’ve set up the Mattermost droplet from the marketplace now multiple times by:
- Creating droplet
- Pointing domain to ip address
- SSH-ing into the box and going through the setup stages
This results to Mattermost working perfectly fine for a few minutes, I can set things up and use everything.
Then after a few minutes it only comes up with the error page:
502 Bad Gateway
nginx/1.14.0 (Ubuntu)
What can I do about this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
As I’m researching further, I find that when I
tail -30 /var/log/nginx/error.log
I get a bunch of
*14 connect() failed (111: Connection refused) while connecting to upstream
And when I try to
curl
that I get the same:curl: (7) Failed to connect to localhost port 8065: Connection refused