RoR Web应用程序中的代理错误

时间:2013-10-25 18:25:35

标签: ruby-on-rails-3 apache

我有一个RoR应用程序,在删除此应用程序的内容时,我遇到以下错误。虽然在此错误后刷新网页时,会在请求中删除内容。

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /abc/xyz/source/23.

Reason: Error reading from remote server.

这是一个Apache Web服务器。

你能帮我找一下这背后的原因吗?

1 个答案:

答案 0 :(得分:1)

当Apache Web服务器没有从上游服务器收到有效的HTTP响应时,会生成来自上游服务器的无效响应。

原因可能是由于以下原因;

  1. 应用程序没有及时响应,Apache的请求超时。
  2. 可能是阻止请求的网络设备。
  3. 您需要在应用程序的httpd.conf文件中添加/增加超时限制。