Forums / Built-in Shipping and Payment Modules / PayPal Express Checkout errors: (6) name lookup timed out

PayPal Express Checkout errors: (6) name lookup timed out

Views: 3,086

Results 1 to 6 of 6
12 Oct 2014, 4:49 PM
#1
heresy_miniatures avatar

heresy_miniatures

New Zenner

Join Date:
Jul 2011
Posts:
59
Plugin Contributions:
0

PayPal Express Checkout errors: (6) name lookup timed out

This problem has been going on for about 4 weeks now, and I can't think what's going on - suddenly, without me changing anything, every Paypal Express Checkout tranmsaction returns a (28) - Timeout Error.

https://heresyminiatures.com/shop/extras/curltester.php?details=on

The odd thing is that there seems to be no problem with communicating with the paypal page itself, the sockets etc are all working as they should; my webhosts have tried various pings etc and extended the comms time to try and overcome this timeout thing to no avail. The SSL certificate was recently reinstated, and it's the only thing I can think of that would seem to change anything, but my webhosts assure me all is how it should be - is there any specific thing I can tell them to look for/alter that might be causing the problem? eg OpenSSL or something; I've been loking all over the internet for possible reasons but most of the replies are from several years ago. The myPHP on my VPS was updated earlier this year, would that be any possible cause? Pretty sure it was in June, though, and this problem only kicked in in September...

I offer two payment options on my Zen Cart store - the other is Paypoint, through which customers can also pay with Paypal - and that doesn't have any problems at all, works perfectly. (Try getting people to use it instead of paypal but they just don't read text warnings/hel on the site). Note that I've also tried reinstalling the Paypal module files and that didn't make any difference.

The latest debug files included this info which suggests a name lookup error, whatever that is, but the curltester script says there's no problem?

2014-09-06 05:30:54

(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.3
)

Request Parameters: {GetTransactionDetails}
Array
(
[TRANSACTIONID] => 89D54048F1203791H
[METHOD] => GetTransactionDetails
[USER] => orders_api1.heresyminiatures.com
[PWD] => ****************
[VERSION] => 61.0
[SIGNATURE] => ****************************************************1fCE
)

Response:
Array
(
[] =>
[CURL_ERRORS] => (6) name lookup timed out
)

(6) name lookup timed out
Array
(
[url] => https://api-3t.paypal.com/nvp
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[certinfo] => Array
(
)

[primary_ip] => 
[primary_port] => 0
[local_ip] => 
[local_port] => 0
[redirect_url] => 

)

GetTransactionDetails, Elapsed: 10001ms -- Failed
(6) name lookup timed out
Array
(
[url] => https://api-3t.paypal.com/nvp
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[certinfo] => Array
(
)

[primary_ip] => 
[primary_port] => 0
[local_ip] => 
[local_port] => 0
[redirect_url] => 

)

Any ideas for what I can tell the webhosts (ukhost4u) to look for would be most welcome!

thanks
Andy

12 Oct 2014, 8:14 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PayPal Express Checkout errors: (6) name lookup timed out

What was the specific curltester tes that was performed? (Include in the response any switches added to the call to the curltester file.)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Oct 2014, 3:41 PM
#3
heresy_miniatures avatar

heresy_miniatures

New Zenner

Join Date:
Jul 2011
Posts:
59
Plugin Contributions:
0

Re: PayPal Express Checkout errors: (6) name lookup timed out

I ran the curltester.php software included in Zen Cart 1.5.3 as per the link above, and my webhosts (ukhost4u) ran their own curl tests, in both cases no communications problems arose. But whenever anyone tries to actually place an order using the PPX checkout option, it brings up an SSL connection timeout error, like it can't find the Paypal server (or possibly the paypal server can't find my website?). I'm sure it must be something to do with how my webhosts have setup the ssl certificate but they swear all is correct. Can anyone think of some thing that may have been done wrong? Do I need to delete any zencart files and reinstall other than the paypal ones?

16 Oct 2014, 1:42 PM
#5
heresy_miniatures avatar

heresy_miniatures

New Zenner

Join Date:
Jul 2011
Posts:
59
Plugin Contributions:
0

Re: PayPal Express Checkout errors: (6) name lookup timed out

So, after 4 weeks of to and fro with the webhosts and talking to Paypal, guess what? A CUSTOMER on Twitter points me in the direction of this page below. It turns out it IS Paypal to blame, and they didn't even bother to mention the source of the problem during my conversation with them just YESTERDAY.

https://www.numinix.com/blog/2014/10/15/poodle-vulnerability-discovery-affecting-zen-cart-stores-accepting-paypal/

Easy to fix, you just have to comment out one line in the paypal_curl.php file. I am unbelievably bemused with Paypal. The wasted days trying to fix this and the lost orders! :frusty:

16 Oct 2014, 1:49 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PayPal Express Checkout errors: (6) name lookup timed out

Heresy Miniatures:

So, after 4 weeks of to and fro with the webhosts and talking to Paypal, guess what? A CUSTOMER on Twitter points me in the direction of this page below. It turns out it IS Paypal to blame, and they didn't even bother to mention the source of the problem during my conversation with them just YESTERDAY.

https://www.numinix.com/blog/2014/10/15/poodle-vulnerability-discovery-affecting-zen-cart-stores-accepting-paypal/

Easy to fix ... I am unbelievably bemused with Paypal. The wasted days trying to fix this and the lost orders! :frusty:

  1. We posted about that yesterday, here: http://www.zen-cart.com/showthread.php?214916-Important-announcement-about-POODLE-and-payment-security
    If you didn't get notified about it from Zen Cart, then you've not subscribed yourself to that list, at: http://www.zen-cart.com/subscription.php?do=addsubscription&f=2

  2. Just to clarify, the problem with POODLE only started yesterday. So whatever problem you've had "4 weeks to and fro" is unrelated to POODLE.
    While it's unfortunate they didn't talk about it when you were talking with them yesterday, your posted symptoms are very different from the POODLE issue.

Nevertheless, glad your site is working normally again.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.