Report this

What is the reason for this report?

504 Gateway Timeout after memory resizing

Posted on June 8, 2020

I have a droplet with a rails 5 app working fine. After a deployment I got errors when installing gems and I realized that I had to increase memory.

I had 1Gb and resized to 2Gb. After resize from 1Gb to 2Gb of memory I got this error (504 Gateway Timeout).

Before resizing I poweroff from terminal, all fine, but I did not: service nginx stop service unicorn stop service postgresql stop Maybe, is this the problem?

Now all 3 services are working fine, but I still get the 504 Gateway Timeout error.

Also, now when In run cap production deploy it hangs out when installing gems

I’m absolutely lost, and any help will be appreciated.

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.