View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005947 | module PayPal | module PayPal - sub | public | 2014-11-06 00:17 | 2014-11-10 08:46 |
Reporter | Carolin | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 3.1.2 | ||||
Target Version | Patch for 3.1 | ||||
Summary | 0005947: PayPal Sandbox - curl Error 35 despite of TLS | ||||
Description | Since yesterday it's not possible to connect to the PayPal sandbox on linux servers. You always get a curl error 35. Same thing over commandline: If I try: curl -1 https://api-3t.sandbox.paypal.com/nvp I get: curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Solution: open: modules\oe\oepaypal\core\oepaypalcurl.php /** * Curl default parameters. * @var array */ protected $_aEnvironmentParameters = array( 'CURLOPT_VERBOSE' => 0, 'CURLOPT_SSL_VERIFYPEER' => false, 'CURLOPT_SSL_VERIFYHOST' => false, 'CURLOPT_SSLVERSION' => 1, 'CURLOPT_RETURNTRANSFER' => 1, 'CURLOPT_POST' => 1, 'CURLOPT_HTTP_VERSION' => CURL_HTTP_VERSION_1_1, ); Add: 'CURLOPT_SSL_CIPHER_LIST' => 'TLSv1', Compare to suggested solution for Paypal-SDK: http://stackoverflow.com/questions/26759383/ssl-error-can-not-change-to-tls | ||||
Tags | No tags attached. | ||||
|
bug already confirmed and solved https://bugs.oxid-esales.com/view.php?id=5918 -> duplicate |
|
bug already confirmed and solved https://bugs.oxid-esales.com/view.php?id=5918 -> duplicate No, not the same bug. Bug 0005918 has been solved by the use of TLS instead of SSL v3. That was done by setting CURLOPT_SSLVERSION to 1 instead of 3. But CURLOPT_SSLVERSION is set to 1 here. I.e.: The problem occurs despite using TLS. You will be able to reproduce if the statement named above fails on commandline: curl -1 https://api-3t.sandbox.paypal.com/nvp Currently the problem is related to sandbox only. It's likely to become a very big problem when it leaves sandbox. |
|
I can reproduce it with current shop and paypal versions. This is a new "curl error 35". Not the same as I reported. |
|
I tested it on some servers. On some servers I get errors on some servers not. So this is not a problem on all configurations. But the fix should be added to the extension that there are no problems at any servers. |
|
Reminder sent to: Carolin Hi, Thanks a lot for submitting this issue. Could you please try to reproduce this problem again? Best regards, Jurate |
|
I can still reproduce it. Shop: EE 5.2.1 PayPal: 3.2.1 OS: Ubuntu 14.04 Curl: 7.35.0 |
|
Paypal has addressed and fixed the problem. Bug can be closed. See also: https://ppmts.custhelp.com/app/answers/detail/a_id/1191 |