小编ckb*_*ckb的帖子

代理服务器从上游服务器收到无效响应

我们在tomcat上部署了一个应用程序.要访问应用程序,我们使用apache向tomcat发送请求.随机浏览器给出以下响应.

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /sampleapp/<http://samplehost.com:8080/sampleapp/>.
Reason: Error reading from remote server
________________________________
Apache/2.2.21 (Unix) Server at samplehost.com Port 8080
Run Code Online (Sandbox Code Playgroud)

此错误并非始终存在,到目前为止,我们仅在使用IE的客户端计算机中获取此错误.在使用Firefox的同一台客户端计算机上,它运行良好.

以下是Apache日志中针对失败请求的错误跟踪

[Thu Mar 22 02:51:08 2012] [error] [client 10.36.64.137] (20014)Internal error: proxy: error reading status line from remote server localhost:8081, referer: http://samplehost.com:8080/sampleapp/opp/showSearchHome.htm
[Thu Mar 22 02:51:08 2012] [error] [client 10.36.64.137] proxy: Error reading from remote server returned by /sampleapp/opp/searchResult.htm, referer: http://samplehost.com:8080/sampleapp/opp/showSearchHome.htm …
Run Code Online (Sandbox Code Playgroud)

apache proxy tomcat

25
推荐指数
1
解决办法
14万
查看次数

标签 统计

apache ×1

proxy ×1

tomcat ×1