Report this

What is the reason for this report?

Rails app 504 Timeout with unicorn and nginx

Posted on January 20, 2014

Hey guys,

I followed this article (https://www.digitalocean.com/community/articles/how-to-launch-your-ruby-on-rails-app-with-the-digitalocean-one-click-image) to deploy a Rails app on a Ubuntu droplet, but I’m getting 504 everytime like the guy in the comments.

Someone have already found a resolution?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Check /etc/hostname and make sure your droplet name is in there.

Nginx is not receiving a response from Unicorn, check the logs in /home/unicorn/log/unicorn.log for more information.

I checked the log and I’m having this http://pastebin.com/CEZ7psw1 <br> <br>PS: I checked gem list and bundler is installed

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.