我正在开发一个应用程序,是用Flex和AMFPHP构建的。但是,在某些情况下,一切运行正常,例如,如果我在5秒间隔内调用相同的函数,或者当我在短时间内调用2个不同的函数时,我得到一个错误消息:
RPC Fault faultString="error" faultCode="Channel.Call.Failed" faultDetail="NetConnection.Call.Failed: HTTP: Status 502在nginx error.log,我收到了
recv() failed (104: Connection reset by peer) while reading response header from upstream, ....
request: "POST /amfphp/gateway.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: 使用nginx、php5-fpm。
我该如何解决这个问题呢?提前谢谢。
发布于 2012-10-18 17:01:23
看起来在PHP代码执行中出现了一些错误(而不是异常)。要查看真实服务器的答案(通常是带有错误描述的HTML文本),您可以使用任何流量调试器(我使用FireBug、Opera Dragonfly、Service Capture或Charles)
https://stackoverflow.com/questions/12425099
复制相似问题