不断收到504网关超时使用橡胶在EC2上部署后, [英] Keep getting 504 Gateway Time-out after deploying on ec2 using rubber

查看:255
本文介绍了不断收到504网关超时使用橡胶在EC2上部署后,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的橡胶宝石部署我在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.

祝你好运!

这篇关于不断收到504网关超时使用橡胶在EC2上部署后,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆