2010-12-09 130 views
2

麻烦昨日就表现出来了 - 从卷曲得到以下答案(由curl_exec调用PHP脚本):卷曲错误35,可能的原因是什么?

$<errno>35</errno> 
$<error>Unknown SSL protocol error in connection to w3s.webmoney.ru:443 </error> 

该错误只发生有时,有事一个35错误无效约4-5份有效答卷。在昨天之前,应用程序在很长时间内正确处理这些请求。

希望有人会给我一个关于该错误可能原因的暗示。

P.S.我们最近受到网络连接问题的困扰,它能否以某种方式与这个错误联系起来?

UPD: 设置详细输出到发虚卷曲写下面的日志:

* About to connect() to w3s.webmoney.ru port 443 (#0) 
* Trying 82.198.171.158... * connected 
* Connected to w3s.webmoney.ru (82.198.171.158) port 443 (#0) 
* successfully set certificate verify locations: 
* CAfile: ${path}/WebMoneyCA.crt 
    CApath: /etc/ssl/certs 
* SSL connection using RC4-MD5 
* Server certificate: 
*  subject: C=RU; O=WebMoney Transfer; OU=WebMoney Web Service; CN=w3s.webmoney.ru 
*  start date: 2010-06-07 10:03:43 GMT 
*  expire date: 2012-06-07 10:13:43 GMT 
*  common name: w3s.webmoney.ru (matched) 
*  issuer: OU=WM Transfer Certification Services; O=WM Transfer Ltd; CN=WebMoney Transfer Root CA 
*  SSL certificate verify ok. 
> POST /asp/XMLPurses.asp HTTP/1.1 
Host: w3s.webmoney.ru 
Accept: */* 
Content-Length: 281 
Content-Type: application/x-www-form-urlencoded 

< HTTP/1.1 200 OK 
< Date: Fri, 10 Dec 2010 13:00:04 GMT 
< Server: Microsoft-IIS/6.0 
< X-Powered-By: ASP.NET 
< Content-Length: 4423 
< Content-Type: text/xml; Charset=windows-1251 
< Expires: Fri, 10 Dec 2010 13:00:04 GMT 
< Set-Cookie: ASPSESSIONIDQADQDTAQ=FJMNECHBENFFAADHEHPFOKAE; path=/ 
< Cache-control: private 
< 
* Connection #0 to host w3s.webmoney.ru left intact 
* Closing connection #0 
* About to connect() to w3s.webmoney.ru port 443 (#0) 
* Trying 212.158.173.158... * connected 
* Connected to w3s.webmoney.ru (212.158.173.158) port 443 (#0) 
* successfully set certificate verify locations: 
* CAfile: ${path}/WebMoneyCA.crt 
    CApath: /etc/ssl/certs 
* Unknown SSL protocol error in connection to w3s.webmoney.ru:443 
* Closing connection #0 

UPD: 麻烦的是没有站在我们这一边。该问题隐藏在w3s.webmoney.ru 212.158.173.158服务器中的某处。如果信息可用,我会添加更多关于错误的细节。

+1

尝试将CURLOPT_VERBOSE设置为true并将日志添加到此问题。错误35意味着在SSL/TLS握手过程中出现了问题,并且可能是由很多事情造成的。 – 2010-12-09 17:03:58

回答

1

得到了WM支持人以下响应:

“上有主机名w3s.webmoney.ru四个IP地址当一个请求上212.158.173.158结束,SSL是过得去的一块防杀-DDoS硬件在提供商处,问题是本地化的,他们现在试图修复它。“

+0

我得到的信息量比您的答案少:支持只是表示他们意识到问题并建议将请求发送给任何其他人IP地址。 – n0weak 2010-12-29 20:01:23