Question

Why am I getting a 502 Bad Gateway using Dokku after a few hours of uptime

Posted April 13, 2015 3.5k views
UbuntuDokkuMEAN

Deployment is smooth, everything is working then I check back on the site after a day or so and its come down with a 502 bad gateway. I have more than one (now three) small nodejs express and mongoose apps running inside dokku, when I mean small I’m talking a single page app and a sign up form. Database is hosted elsewhere.

I have tried increasing server size, which seemed to delay the problem a little, but mostly it seems pretty random and if it was a ram problem my understanding is dokku should reboot the app anyway.

What else could I try?

4 comments

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.

×
Submit an Answer