dongzhiyi2006 2016-07-08 11:15
浏览 319

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

I have a Mac OS X Server with a PHP script that send images on a Amazon S3 (using the Amazon PHP SDK).

Sometimes, the images can be heavy, and the upload on Amazon S3 takes time, and after approximately 60 secondes, I have this error :

<!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>

I am on Mac OSX 10.11.5 (El Capitan), and my Server tools are on version 5.1.5.

Do you have a solution to fix this error please ?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 WPF使用Canvas绘制矢量图问题
    • ¥15 用三极管设计一个单管共射放大电路
    • ¥15 孟德尔随机化r语言运行问题
    • ¥15 pyinstaller编译的时候出现No module named 'imp'
    • ¥15 nirs_kit中打码怎么看(打码文件是csv格式)
    • ¥15 怎么把多于硬盘空间放到根目录下
    • ¥15 Matlab问题解答有两个问题
    • ¥15 LCD12864中文显示
    • ¥15 在使用CH341SER.EXE时不小心把所有驱动文件删除了怎么解决
    • ¥15 gsoap生成onvif框架