Facebook对象调试器错误502和解析输入URL时出错

时间:2015-08-17 10:38:39

标签: facebook facebook-graph-api amazon-web-services

嗯,这个网站使用AWS EC2,现在当我在Facebook上分享网站时,facebook不会显示任何内容,但昨天它运作良好。

现在Facebook lint(对象调试器)说

  

解析输入网址时没有错误,没有缓存任何数据,也没有删除任何数据。

  

卷曲错误:RECV_ERROR之后从代理收到HTTP代码502   CONNECT

facebook error

但是当我在Mac上使用curl via terminal(如curl -v -X TRACE www.cuinzy.com)时,返回:

* Rebuilt URL to: www.cuinzy.com/
* Hostname was NOT found in DNS cache
*   Trying 54.207.48.99...
* Connected to www.cuinzy.com (127.0.0.1) port 80 (#0)
> TRACE / HTTP/1.1
> User-Agent: curl/7.37.1
> Host: www.cuinzy.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Mon, 17 Aug 2015 10:14:36 GMT
* Server Apache is not blacklisted
< Server: Apache
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: message/http
<
TRACE / HTTP/1.1
User-Agent: curl/7.37.1
Host: www.cuinzy.com
Accept: */*

* Closing connection 0

www.cuinzy.com上的卷曲返回响应代码200,如果尝试使用网址https://www.cuinzy.com/itm/572-aumento-natural-del-busto-pueraria-mirifica-100-x-500mg.html,则返回:

* Hostname was NOT found in DNS cache
*   Trying 54.207.48.99...
* Connected to www.cuinzy.com (127.0.0.1) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
* Server certificate: *.cuinzy.com
* Server certificate: COMODO RSA Domain Validation Secure Server CA
* Server certificate: COMODO RSA Certification Authority
* Server certificate: AddTrust External CA Root
> TRACE /itm/572-aumento-natural-del-busto-pueraria-mirifica-100-x-500mg.html HTTP/1.1
> User-Agent: curl/7.37.1
> Host: www.cuinzy.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Mon, 17 Aug 2015 10:16:25 GMT
* Server Apache is not blacklisted
< Server: Apache
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: message/http
<
TRACE /itm/572-aumento-natural-del-busto-pueraria-mirifica-100-x-500mg.html HTTP/1.1
User-Agent: curl/7.37.1
Host: www.cuinzy.com
Accept: */*

* Closing connection 0

看看SSL的使用如何不代表变化,另外,请注意http响应代码始终为200.

而且,如果我点击Facebook Lint的 See exactly what our scraper sees for your URL 链接,这只会返回:

Document returned no data

啊,另外,我尝试这个工具(并且所有返回http响应代码200并且工作正常):

如果你知道发生什么事,请告诉我,我不明白......

P.S:抱歉我的英语不好。

0 个答案:

没有答案