部署 Nginx+Passenger 请求异常:Couldn't forward the HTTP response back to the HTTP client:

puras · 2012年11月14日 · 最后由 cci 回复于 2012年11月27日 · 3115 次阅读

在服务器的搭建的环境: centos 64 位。 nginx+passenger

在请求的时候,偶尔会报错,由到用的阿里云,一报错就提示说可能是因为没备案。 在页面上看不到其他的错误信息。

查看 nginx 的日志,发现在 error.log 日志中,有下面的日志:

[ pid=1371 thr=140574286247680 file=ext/nginx/HelperAgent.cpp:923 time=2012-11-14 15:23:25.509 ]: Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser.
[ pid=1371 thr=140574285846272 file=ext/nginx/HelperAgent.cpp:923 time=2012-11-14 15:25:51.697 ]: Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser.
[ pid=1371 thr=140574285645568 file=ext/nginx/HelperAgent.cpp:923 time=2012-11-14 15:25:55.28 ]: Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser.
[ pid=1371 thr=140574285444864 file=ext/nginx/HelperAgent.cpp:923 time=2012-11-14 15:25:56.241 ]: Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser.
[ pid=1371 thr=140574285244160 file=ext/nginx/HelperAgent.cpp:923 time=2012-11-14 15:25:57.84 ]: Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser.

每次异常的时候,都会打印一次这样的日志。 不知道各位有没有碰到过类似的情况?如何解决?

這個怪異的狀況之前也碰過,後來我也沒動什麼,它自己就好了,有人說目前無解,建議不要用 passenger

需要 登录 后方可回复, 如果你还没有账号请 注册新账号