New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPN SSL connect error #53

Closed
dannyhtek opened this Issue Jun 3, 2016 · 11 comments

Comments

Projects
None yet
3 participants
@dannyhtek

dannyhtek commented Jun 3, 2016

Hello.

I'm constantly getting the following errorcode in my ipn.log

[2016-06-03 23:12 Europe/Amsterdam] Can't connect to PayPal to validate IPN message: SSL connect error
[2016-06-03 23:12 Europe/Amsterdam] Can't connect to PayPal to validate IPN message: SSL connect error

This has been happening voor 5 days straight in a row, while it used to work before then. I tried switching PHP version and I even bought a SSL certificate. This did not solve my problem.

Is anyone else having the same issue? Did PayPal change something? They're not responding on Twitter. PayPal is really takin' the piss.

Any help would be appreciated.

@randstraw

This comment has been minimized.

Show comment
Hide comment
@randstraw

randstraw Jun 3, 2016

Member

Most likely related to TLS changes, more here: https://github.com/paypal/tls-update

Member

randstraw commented Jun 3, 2016

Most likely related to TLS changes, more here: https://github.com/paypal/tls-update

@randstraw randstraw added the question label Jun 3, 2016

@dannyhtek

This comment has been minimized.

Show comment
Hide comment
@dannyhtek

dannyhtek Jun 3, 2016

What do I have to change inside the code to make it work? I mean, the following code should work just fine:
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

dannyhtek commented Jun 3, 2016

What do I have to change inside the code to make it work? I mean, the following code should work just fine:
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

@randstraw

This comment has been minimized.

Show comment
Hide comment
@randstraw

randstraw Jun 3, 2016

Member

Its not a code change. Please review the PHP section of the previous URL provided here: https://github.com/paypal/tls-update#php

Are you able to run the test it is suggesting?

Member

randstraw commented Jun 3, 2016

Its not a code change. Please review the PHP section of the previous URL provided here: https://github.com/paypal/tls-update#php

Are you able to run the test it is suggesting?

@dannyhtek

This comment has been minimized.

Show comment
Hide comment
@dannyhtek

dannyhtek Jun 3, 2016

No I;m not :( I only have access to DirectAdmin.

dannyhtek commented Jun 3, 2016

No I;m not :( I only have access to DirectAdmin.

@randstraw

This comment has been minimized.

Show comment
Hide comment
@randstraw

randstraw Jun 3, 2016

Member

Can you confirm you are facing this issue in sandbox and not production?

Member

randstraw commented Jun 3, 2016

Can you confirm you are facing this issue in sandbox and not production?

@dannyhtek

This comment has been minimized.

Show comment
Hide comment
@dannyhtek

dannyhtek Jun 3, 2016

Well I'm using sandbox for testing. Not sure if it works in production..

dannyhtek commented Jun 3, 2016

Well I'm using sandbox for testing. Not sure if it works in production..

@randstraw

This comment has been minimized.

Show comment
Hide comment
@randstraw

randstraw Jun 3, 2016

Member

Currently this shouldn't impact production until June 2017 as indicated here: https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1914&expand=true&locale=en_US

However, most likely you will need a cURL update.

Member

randstraw commented Jun 3, 2016

Currently this shouldn't impact production until June 2017 as indicated here: https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1914&expand=true&locale=en_US

However, most likely you will need a cURL update.

@dannyhtek

This comment has been minimized.

Show comment
Hide comment
@dannyhtek

dannyhtek Jun 3, 2016

I think I have found the problem. When I set my PHP version to native, I get the following check results:
TLS version:TLS 1.0
SSL version:NSS/3.19.1 Basic ECC

Whenever I set the PHP version to 5.5, I get the following check results:
TLS version:TLS 1.2
SSL version:OpenSSL/1.0.1e

dannyhtek commented Jun 3, 2016

I think I have found the problem. When I set my PHP version to native, I get the following check results:
TLS version:TLS 1.0
SSL version:NSS/3.19.1 Basic ECC

Whenever I set the PHP version to 5.5, I get the following check results:
TLS version:TLS 1.2
SSL version:OpenSSL/1.0.1e

@randstraw

This comment has been minimized.

Show comment
Hide comment
@randstraw

randstraw Jun 6, 2016

Member

@dannyhtek were you test against your 5.5 version?

Member

randstraw commented Jun 6, 2016

@dannyhtek were you test against your 5.5 version?

@littlehawk

This comment has been minimized.

Show comment
Hide comment
@littlehawk

littlehawk Jun 22, 2016

Same problem for me.
I have verify my CURL version that is NSS/3.19.1 Basic ECC.
This version included support for TLS v1.2.
So i simply add this value:
curl_setopt($ch, CURLOPT_SSLVERSION, 6);

after:
curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
and before:

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1)

Now all works perfectly!!!!

littlehawk commented Jun 22, 2016

Same problem for me.
I have verify my CURL version that is NSS/3.19.1 Basic ECC.
This version included support for TLS v1.2.
So i simply add this value:
curl_setopt($ch, CURLOPT_SSLVERSION, 6);

after:
curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
and before:

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1)

Now all works perfectly!!!!

@randstraw

This comment has been minimized.

Show comment
Hide comment
@randstraw

randstraw Jun 22, 2016

Member

Closing the issue for now. Again more on these security changes can be found here: https://github.com/paypal/tls-update

Member

randstraw commented Jun 22, 2016

Closing the issue for now. Again more on these security changes can be found here: https://github.com/paypal/tls-update

@randstraw randstraw closed this Jun 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment