【发布时间】:2012-02-09 09:43:09
【问题描述】:
我已经用 wamp(Apache 服务器)配置了 openssl。但是当我使用 gdata api 时,我遇到了以下错误。
( ! ) Fatal error: Uncaught exception 'Zend_Http_Client_Adapter_Exception' with message ' in C:\Zend_1_11_11\library\Zend\Http\Client\Adapter\Socket.php on line 234
( ! ) Zend_Http_Client_Adapter_Exception: Unable to Connect to ssl://accounts.google.com:443. Error #10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\Zend_1_11_11\library\Zend\Http\Client\Adapter\Socket.php on line 234
有人帮我解决这个问题...
【问题讨论】:
-
错误只是意味着您无法连接到目标主机。您至少可以 ping accounts.google.com 吗?您是否可以使用 opessl 命令连接到端口 443,例如“openssl s_client -connect accounts.google.com:443”?您可以尝试增加超时属性值
-
感谢您的输入,但我在代理服务器上工作,所以我无法 ping 任何东西 :(。对于窗口,我需要安装 openssl 客户端。请让我知道我可以做些什么来解决问题。 .
-
你自己回答。你在代理后面。那是你无法连接的原因。