Facebook开发人员抛出:Curl错误:OPERATION_TIMEOUTED操作在10000毫秒后超时,收到-1个字节中的0个 [英] Facebook developer tool throw: Curl Error : OPERATION_TIMEOUTED Operation timed out after 10000 milliseconds with 0 out of -1 bytes received

查看:170
本文介绍了Facebook开发人员抛出:Curl错误:OPERATION_TIMEOUTED操作在10000毫秒后超时,收到-1个字节中的0个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是wordpress博客的管理员,我无法在Facebook上发布带有缩略图的帖子。
此问题仅出现在帖子中,因此我可以链接主页和静态页面。
当我在主页或静态页面中使用Facebook Open Graph Debugger时,我可以获得正确的数据,Facebook可以读取所有og标签,但是当我在任何帖子中使用它时,我都会得到:

I am the admin of wordpress blog and i cannot publish the posts in Facebook with thumbnails. This problem only appear with the posts, so I can link homepage and static pages. When I use the Facebook Open Graph Debugger in homepage or static pages i get correct data and Facebook can read all og tags, but when i use it with any post I get that:

无法从URL检索数据
卷曲错误:OPERATION_TIMEOUTED操作在10000毫秒后超时,收到-1个字节中的0个字节

"Could not retrieve data from URL" "Curl Error : OPERATION_TIMEOUTED Operation timed out after 10000 milliseconds with 0 out of -1 bytes received"

以下是示例:

更正: http:// www.diversionerotica.com/

错误: http://www.diversionerotica.com/dia-del-padre-regala-una-sesion-de-fotos-erotica/

有什么想法吗?

谢谢。


  • 编辑-

以下是更多信息:

1- WordPress在ISS7上。

1- The wordpress is on a ISS7.

2- SEO插件是Yoast Worpress SEO v1.5.2.2

2- The SEO plugin is Yoast Worpress SEO v1.5.2.2

3- og:插件生成的HEAD标签内的标签:

3- og: tags inside HEAD tag generated by plugin:

    <!-- This site is optimized with the Yoast WordPress SEO plugin v1.5.2.2 - http://yoast.com/wordpress/seo/ -->
<meta name="description" content="Regalo muy especial, con el que lo pasaréis en grande y os aseguro que la diversión erótica crecerá por momentos: SESIÓN DE FOTOGRAFÍA ERÓTICA."/>
<link rel="canonical" href="http://www.diversionerotica.com/dia-del-padre-regala-una-sesion-de-fotos-erotica/" />
<link rel="author" href="https://plus.google.com/+DiversioneroticaCom" />
<meta property="og:locale" content="es_ES" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Día del padre: Regala una sesión de fotografía erótica - diversionerotica.com" />
<meta property="og:description" content="Regalo muy especial, con el que lo pasaréis en grande y os aseguro que la diversión erótica crecerá por momentos: SESIÓN DE FOTOGRAFÍA ERÓTICA." />
<meta property="og:url" content="http://www.diversionerotica.com/dia-del-padre-regala-una-sesion-de-fotos-erotica/" />
<meta property="og:site_name" content="diversionerotica.com" />
<meta property="article:tag" content="dia del padre" />
<meta property="article:tag" content="fotografía" />
<meta property="article:tag" content="regalo" />
<meta property="article:section" content="Juguetes" />
<meta property="article:section" content="Ropa Sexy" />
<meta property="article:section" content="Sin categoría" />
<meta property="article:published_time" content="2014-03-15T12:46:32+00:00" />
<meta property="article:modified_time" content="2014-03-15T13:09:38+00:00" />
<meta property="og:updated_time" content="2014-03-15T13:09:38+00:00" />
<meta property="og:image" content="http://www.diversionerotica.com/wp-content/uploads/2014/03/sesion_fotografia_erotica.jpg" />
<!-- / Yoast WordPress SEO plugin. -->

抱歉,如果信息很少,但是我无法调试任何帖子。解决了首页中的所有错误或警告。
我试图进行所有更改,发现在google和stackoverflow中进行搜索,但问题仍未解决。

Sorry if it's few information, but i cannot debug any post. Every error or warning in homepage was solved. I have tried to make all changes I found searching in google and stackoverflow but the problem wasn't solved.

推荐答案

抱歉,此问题与Open Graph标记无关。我非常困惑,因为Facebook没有足够的信息。
我以为我的代码有问题,Facebook调试器无法读取Open Graph标签,但问题实际上是我的服务器花了很多时间来响应请求,然后Facebook调试器抛出了一个错误。

Sorry, this problem wasn't related with Open Graph Tags. I was very confused because there were not enough information from Facebook about that. I thought that there was a problem in my code and Facebook debugger couldn't read the Open Graph Tags, but the problem was really that my server spent a lot of time to response the requests, and then Facebook Debugger threw a Timeout.

我很困惑,因为主页和静态页面的响应是正确的,而问题仅在帖子页面上发生。

I was so confused because the response of homepage and static pages were correct, and the problem happened only with posts pages.

使用用于缓存帖子页面的插件解决了此问题。在这种情况下,我使用的是 WP Super Cache插件。现在帖子的响应时间约为2秒,Facebook Debugger可以正确分析Open Graph标签。

This problem was solved using a plugin for caching post pages. In this case I am using "WP Super Cache" plugin. Now the response of post pages is about 2 second, and Facebook Debugger can analyse Open Graph Tags correctly.

这篇关于Facebook开发人员抛出:Curl错误:OPERATION_TIMEOUTED操作在10000毫秒后超时,收到-1个字节中的0个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆