我使用的橡胶宝石部署我在EC2上的应用程序。 我跟着指示在这里:的http://ramenlab.word$p$pss.com/2011/06/24/deploying-your-rails-app-to-aws-ec2-using-rubber/. 这个过程似乎已成功完成,但是当我尝试使用应用程序,我不断收到504网关超时。 这是怎么回事,如何解决呢?
I used the rubber gem to deploy my application on ec2. I followed the instructions here: http://ramenlab.wordpress.com/2011/06/24/deploying-your-rails-app-to-aws-ec2-using-rubber/. The process seems to finish successfully but when I try to use the app I keep getting 504 gateway time-out. Why is this happening and how do I fix it?
推荐答案
我得到了同样的错误,并解决了这个问题。 这是HAProxy的超时。它是由橡胶安装负载平衡器。 它被设置为30000ms,你应该在橡胶中的配置文件进行更改。
I got the same error and solved the problem. It was "haproxy" timeout. It is a load balancer installed by Rubber. It is set to 30000ms, you should change it in rubber configuration file.
祝你好运!
相关推荐
最新文章