Zend Gdata库 - 连接超时

Mat*_*y B 1 php google-docs google-docs-api zend-gdata

我在Zend Gdata库中遇到了一个新问题,我经常收到此错误:

Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://spreadsheets.google.com:443. Error #110: Connection timed out' 
Run Code Online (Sandbox Code Playgroud)

我没有更改任何代码,我已经成功使用相同的代码很长一段时间了.我觉得更奇怪的是,如果我把代码从我的域名(www.mattblubaugh.com),我把它复制到我的其他的领域之一(www.ryanemiller.com/external/mattblubaugh)我没有遇到超时.此外,第二个域使用相同的Zend Gdata库来提取其大部分内容.那里没有问题.

我搜索谷歌并且遇到了很多人抱怨这个问题,但大多数都来自一年多以前.

还有其他人遇到过这个问题吗?

[编辑10:02 pm]

我已经通过WAMP在本地尝试了文件,没有任何问题.有问题的主机是inmotionhosting.有没有其他人有这个主机,你最近遇到过超时问题?

小智 7

几天我们遇到了同样的问题.实际问题是IPv6.服务器首先解析google.com为一个IPv6地址并尝试连接到该地址.这导致了超时.我通过运行检查它telnet google.com 443,在这里你可以看到它是否解析为一个IPv4IPV6地址.在我转向IPv6查找之后,异常消失了.