CurlException:28:connect() 超时?
今天我尝试使用 PHPSDK 在 Facebook 上创建应用程序,我偶尔看到库中显示的异常: CurlException: 28: connect() timed out!
因此,为了检查这是否是我的代码错误,我从 github
下载了最新的库 PHPSDK
。然后我尝试运行 Examples/example.php 文件几次,之后我查看错误日志,这个错误也在那里(并不总是如此,看起来像是随机的事情)。
我试图在开发者论坛上找到解决方案,但没有成功,因为我注意到过去发生过这种问题,但没有人知道为什么。
有什么解决办法吗?
谢谢
Today I was trying to make application on Facebook using PHPSDK and I saw ocassionaly displayed exception from library sayingCurlException: 28: connect() timed out!
So, to check if it's my code bug I downloaded latest library PHPSDK
from github
. Then I was trying to run examples/example.php file few times, after that I look into error log and this error was also there (not always, looks like it's kind of random thing).
I was trying to find solution on developer forum without any success, as I notice this kind of problem occur in the past, and none knows why.
Any solutions?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
同样在这里,完全随机,但在大型访问网站上,错误日志文件很快就满了:/
Bug 在此处打开:http: //developers.facebook.com/bugs/182705755149358
生产服务器 使用与给定示例中所示相同的 PHP 代码:https:// Developers.facebook.com/blog/post/534/
6 次通过 2 个连接。 else :
Give :
Else 这里是 Facebook.php 中的选项
我已经尝试过这个:
6 月仅响应 2 次...
仍在实现 Facebook 的 Platform Live-Status 页面...Api 响应时间增加...
https://developers.facebook.com/live_status
Same here, totally random but on large access site the error log file come quickly full :/
Bug Open here : http://developers.facebook.com/bugs/182705755149358
Production server Use the same PHP code as shown in the given exemple : https:// developers.facebook.com/blog/post/534/
2 connections on 6 pass. else :
Give :
Else here are the Options in the Facebook.php
I've Try this :
Respond only 2 time on 6...
Still actualizing the Platform Live-Status page of Facebook ... Api response time raising ...
https://developers.facebook.com/live_status