在这个网站上:
一切安好
在这个网址上:
大多数人收到错误 502 错误请求。- 我的家庭 DSL 连接没有收到该错误,并且该站点位于数据中心中 - 我在智能手机、webpagetest.org 和 websitepulse.com 上收到错误 - 这些客户端均未出现在 Web 服务器的 apache 日志中。
通常一个 Bad gateway 错误表示中间有一个网络?这怎么可能适用于某些页面,而不适用于其他页面?
在进一步调查中,我发现了一个可以复制的页面,即使删除了有问题的代码:
http://www.seleconlight.com//index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.p1&category_id=121&product_id=74
我对 Webpagetest 有以下测试详细信息:
http://www.webpagetest.org/result/130122_BZ_12S8/1/details/显示 502 错误
详情展示:
URL: http://www.seleconlight.com//index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.p1&category_id=121&product_id=74
Host: www.seleconlight.com
IP: 23.62.236.155
Error/Status Code: 502
Initiated By:
Start Offset: 0.214 s
DNS Lookup: 159 ms
Initial Connection: 54 ms
Time to First Byte: 1675 ms
Bytes In (downloaded): 0.2 KB
Bytes Out (uploaded): 0.5 KB
Request Headers:
GET //index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.p1&category_id=121&product_id=74 HTTP/1.1
Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; PTST 2.345)
Accept-Encoding: gzip, deflate
Host: www.seleconlight.com
Connection: Keep-Alive
Response Headers:
HTTP/1.1 502 Bad Gateway
Content-Length: 0
Expires: Tue, 22 Jan 2013 23:15:58 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Tue, 22 Jan 2013 23:15:58 GMT
Connection: keep-alive
Note the IP address is 23.62.236.155, reverse DNS: a23-62-236-155.deploy.akamaitechnologies.com whereas the domain is actually on 120.138.27.252