Mac OSX Server:502代理服务器错误:代理服务器收到来自上游服务器的无效响应

时间:2016-07-08 11:15:39

标签: php amazon-s3 proxy osx-server

我有一台带有PHP脚本的Mac OS X服务器,可以在Amazon S3上发送图像(使用Amazon PHP SDK)。

有时候,图片可能很重,而且在亚马逊S3上上传需要时间,大约60秒后,我有这样的错误:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
    <head>
        <title>502 Proxy Error</title>
    </head>
    <body>
        <h1>Proxy Error</h1>
        <p>The proxy server received an invalid
response from an upstream server.
            <br />
The proxy server could not handle the request 
            <em>
                <a href="/insert.php">POST&nbsp;/insert.php</a>
            </em>.
            <p>
Reason: 
                <strong>Error reading from remote server</strong>
            </p>
        </p>
    </body>
</html>

我使用的是Mac OSX 10.11.5(El Capitan),我的服务器工具是5.1.5版本。

您有解决方案可以解决此错误吗?

0 个答案:

没有答案
相关问题