在www.sandbox.paypal.com上连接到沙箱的套接字连接错误 [英] Socket connection error connecting to sandbox at www.sandbox.paypal.com

查看:81
本文介绍了在www.sandbox.paypal.com上连接到沙箱的套接字连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试与fsockopen连接时:

$fp = fsockopen('tls://www.sandbox.paypal.com', 443, $errno, $errstr, 30);

该函数显示以下错误:

Warning: fsockopen() [function.fsockopen]: SSL operation failed with code 1.
OpenSSL Error messages: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3
alert handshake failure in /home/puntodec/public_html/test_socket.php on (line number)

Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in 
/home/puntodec/public_html/test_socket.php on (line number)

Warning: fsockopen() [function.fsockopen]: unable to connect to 
tls://www.sandbox.paypal.com:443 (Unknown error) in (line number)

但是如果我使用tls://www.paypal.com,则不会显示错误. Paypal是否已更改沙箱的套接字配置?还是还有什么问题?

But if I use tls://www.paypal.com there no show errors. Has Paypal has changed the socket configuration of the sandbox? Or what else is wrong?

请帮助我,感谢您的帮助.

Please help me, thanks from now for any help.

推荐答案

谢谢,问题出在我服务器中的tls版本:

Thank you, the problem is due the version of tls in my server:

PayPal答案

PayPal最近在沙盒环境中实施了安全升级

PayPal implemented security upgrade in sandbox environment recently

PayPal最近在沙盒环境中实施了安全升级,请参考

PayPal implemented security upgrade in sandbox environment recently, refer to https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1913&viewlocale=en_EN

SSL证书升级指南 https://www.paypal -knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1766&viewlocale=zh_CN

SSL Certificate Upgrade Guide https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1766&viewlocale=en_US

这篇关于在www.sandbox.paypal.com上连接到沙箱的套接字连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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