Report this

What is the reason for this report?

502 Bad Gateway After Reboot

Posted on November 5, 2019

Hi DO Team,

My droplets is working good before i power off for a long time ( 2 week ), and today i’m trying to power on my droplet, it show 502 Bad Gateway in the browser. And in the terminal when i’m trying to run pm2 restart server.js, it show … Use --update-env to update environments variables… I dont know how to fix it and make my server run again ( try to run pm2 start server.js --update-env but it not work…). Note: i’m using Nodejs + MongoDb + Nextjs and server is Ubuntu 18.04. Thank you.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.