Zen Cart Logo
Forums / PayPal Express Checkout support / PayPal (7) couldn't connect to host

PayPal (7) couldn't connect to host

Views: 15,300

Results 21 to 40 of 70
29 Apr 2013, 1:19 AM
#21
drbyte avatar

drbyte

Sensei

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

PayPal (7) couldn't connect to host

You could go through the process of verifying whether someone (unauthorized) has tampered with your files. That's the same process as inspecting to see whether maybe your site has been hacked, and if it has it also shows you everything you need to fix. That's explained here: http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks

But ... really, the URL you posted in the CURL test results is the correct URL, and when your server is saying (7) couldn't connect, that really just means that the communications is broken ... and that's something only your hosting company can fix.

Worst case, find a hosting company who knows what they're doing.

29 Apr 2013, 1:23 AM
#22
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

Hello that has all been done' it looks like nothing can fix this issue but deleting the web site and starting again 3 years down the drain. Thank you

29 Apr 2013, 1:32 AM
#23
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

That's rather drastic.

And irrational.

I "get" that you're probably feeling like everyone's passing the buck and pointing fingers at someone else. But I can tell you with strong certainty that the problem needs to be addressed by the hosting company.
I know you "just wanna get sales started again". That takes getting the people you're paying to provide service to actually provide that service.

That curltester.php script is an standalone script. The fact that it cannot connect to Paypal TELLS YOU THAT YOUR SERVER IS THE PROBLEM. The problem is NOT Zen Cart. It is not your site software. IT IS YOUR SERVER.
That's EXACTLY why the curltester script was written: to isolate the problem so the server technicians could VERY EASILY and quickly see that the problem is the server, and that the problem has NOTHING to do with the "3rd party software" added to your site.

The curltester script takes the same code OUT of Zen Cart and drops it into a SINGLE SEPARATE FILE so that you can test ONLY the CURL problem, and NOTHING ELSE.

If your host is too thick to get it, get a new host. Or at least INSIST that you talk to a SENIOR technical specialist, not the amateur answering the phones.

29 Apr 2013, 1:53 AM
#24
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

Changing the paypal=1 parameter to just ssl=1 tells the test to point to the zen-cart.com server, which brings back a success response:
http://www.partycraze.com.au/extras/curltester.php?ssl=1
So, that confirms that SSL communications is working, and that basic CURL communications is working.

Changing it to look for the US FirstData/Linkpoint gateway server gives the same response as the PayPal lookup does:
http://www.partycraze.com.au/extras/curltester.php?linkpoint=1

But changing it to look for the US Authorize.net gateway server returns a success:
http://www.partycraze.com.au/extras/curltester.php?authnet=1

So, something is blocking your server from doing the outbound calls correctly to 2 of 4 US locations.

If you have terminal access to your server, you can trace the communications activity using a traceroute command. But, it sounds like you're not the one who would have that access, so you'll need to get your hosting company's senior tech staff to assist in the process.
if they know what they're doing, they'll be able to clearly read the correct URL from the CURL test report, and follow that to the IP address assigned to it, and test communications between your server and that correct endpoint.

Until they do, there's nothing more can be done ... other than putting your site on another server that doesn't have this communications problem ... probably with another hosting company.

29 Apr 2013, 3:44 AM
#25
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

Party Craze:

I have been getting calls all day from customers who want to shop' What do i do?
You could enable the Check/Moneyorder payment module and in the module's settings for "where to send the check" put your office phone number or email address so you can contact them and manually take payment another way. Then when the communications problem is fixed you can turn that module off again.

29 Apr 2013, 3:56 AM
#26
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

Another possibility could be that the server has an outdated DNS database which is pointing the Paypal URL to an old IP address that isn't allowing connections anymore. Again, that would be a misconfiguration of the hosting company's servers.

Or they might have a firewall rule that's doing selective blocking of data traffic.

29 Apr 2013, 4:25 AM
#27
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: PayPal (7) couldn't connect to host

Party Craze:

Hello that has all been done' it looks like nothing can fix this issue but deleting the web site and starting again 3 years down the drain. Thank you

I'd just like to backup/confirm everything that DrByte has told you (Not that he really needs it).

The problem is something that only your host can fix. Even if you deleted the site and rebuild it, you'll still have exactly the same problem, unless the rebuild was with a better host.

Also, Ignore anything said by their 'tech guy' over the phone. The phones are often manned by non technical people that follow a pre-written script, which generally starts out with something really lame like 'have you tried rebooting your computer'.
If you say something like "I can't connect to PayPal", they'll assume you mean you can't connect to paypal from your computer, they'll brush you aside because it isn't their problem.

Quite often, the best/fastest way to get a solution is to show them the problem, and this is best achieved by using their online support form and posting a copy of the testing output like you provided in post#15 of this thread.

Don't use email. These can be lost/ignored. The online support forms usually provide response tracking, they won't be able to brush you aside or ignore the problem.

Cheers
Rod

29 Apr 2013, 9:11 AM
#28
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

DrByte:

That's rather drastic.

And irrational.

I "get" that you're probably feeling like everyone's passing the buck and pointing fingers at someone else. But I can tell you with strong certainty that the problem needs to be addressed by the hosting company.
I know you "just wanna get sales started again". That takes getting the people you're paying to provide service to actually provide that service.

That curltester.php script is an standalone script. The fact that it cannot connect to Paypal TELLS YOU THAT YOUR SERVER IS THE PROBLEM. The problem is NOT Zen Cart. It is not your site software. IT IS YOUR SERVER.
That's EXACTLY why the curltester script was written: to isolate the problem so the server technicians could VERY EASILY and quickly see that the problem is the server, and that the problem has NOTHING to do with the "3rd party software" added to your site.

The curltester script takes the same code OUT of Zen Cart and drops it into a SINGLE SEPARATE FILE so that you can test ONLY the CURL problem, and NOTHING ELSE.

If your host is too thick to get it, get a new host. Or at least INSIST that you talk to a SENIOR technical specialist, not the amateur answering the phones.

Hello thank you but the server is still refusing to help said it is not there problem. I am sitting here searching any thing known to man kind in Google search that may help put a finger on this i have switched Pay Pal off on my web site until i can find a way to fix this or some one to help fix the problem. This is very frustrating.

They keep telling me it's Pay Pal and Pay Pal are telling me its my server :frusty:

29 Apr 2013, 9:17 AM
#29
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

RodG:

I'd just like to backup/confirm everything that DrByte has told you (Not that he really needs it).

The problem is something that only your host can fix. Even if you deleted the site and rebuild it, you'll still have exactly the same problem, unless the rebuild was with a better host.

Also, Ignore anything said by their 'tech guy' over the phone. The phones are often manned by non technical people that follow a pre-written script, which generally starts out with something really lame like 'have you tried rebooting your computer'.
If you say something like "I can't connect to PayPal", they'll assume you mean you can't connect to paypal from your computer, they'll brush you aside because it isn't their problem.

Quite often, the best/fastest way to get a solution is to show them the problem, and this is best achieved by using their online support form and posting a copy of the testing output like you provided in post#15 of this thread.

Don't use email. These can be lost/ignored. The online support forms usually provide response tracking, they won't be able to brush you aside or ignore the problem.

Cheers
Rod

Hello Rod thank you i will go and see if i can find there online support form now because i am not getting any where fast! When i called Crazy Domains after 7minutes holding the guy answered with Yeah! I said is this Crazy Domains? He said Yeah! no wonder why i am getting no where so i may need to find a better server after all this! Thank you i will keep you posted Regards Connie :smile:

29 Apr 2013, 9:52 AM
#30
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

DrByte:

That's rather drastic.

And irrational.

I "get" that you're probably feeling like everyone's passing the buck and pointing fingers at someone else. But I can tell you with strong certainty that the problem needs to be addressed by the hosting company.
I know you "just wanna get sales started again". That takes getting the people you're paying to provide service to actually provide that service.

That curltester.php script is an standalone script. The fact that it cannot connect to Paypal TELLS YOU THAT YOUR SERVER IS THE PROBLEM. The problem is NOT Zen Cart. It is not your site software. IT IS YOUR SERVER.
That's EXACTLY why the curltester script was written: to isolate the problem so the server technicians could VERY EASILY and quickly see that the problem is the server, and that the problem has NOTHING to do with the "3rd party software" added to your site.

The curltester script takes the same code OUT of Zen Cart and drops it into a SINGLE SEPARATE FILE so that you can test ONLY the CURL problem, and NOTHING ELSE.

If your host is too thick to get it, get a new host. Or at least INSIST that you talk to a SENIOR technical specialist, not the amateur answering the phones.

Oh i am a woman what can i say' Irrational Oh Please LOL :yes:

29 Apr 2013, 11:10 AM
#31
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

Hello yes thank you i have now placed message "PayPal invoice will be emailed to you" and offered bank deposit payment as a selection so at least the buyers can still place orders. :yes: ALSO i contacted Crazy Domains via there Face Book page as no where on there web site to do so. They have assigned someone to look into this matter for me so fingers crossed they may fix it'

tested on

https://www.partycraze.com.au/test.php

Array
(
[url] => "http://www.zen-cart.com/testcurl.php"
[content_type] => text/html
[http_code] => 200
[header_size] => 179
[request_size] => 212
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.55149
[namelookup_time] => 0.001013
[connect_time] => 0.274175
[pretransfer_time] => 0.274255
[size_upload] => 37
[size_download] => 2117
[speed_download] => 3838
[speed_upload] => 67
[download_content_length] => 2117
[upload_content_length] => 37
[starttransfer_time] => 0.551387
[redirect_time] => 0

29 Apr 2013, 11:21 AM
#32
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

:shocking:

29 Apr 2013, 11:27 AM
#33
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

ya, but without the ?paypal=1 suffix, it's only testing whether CURL can reach the zen-cart.com server.
Adding the ?paypal=1 forces it to look for and attempt to connect with the PayPal server:
https://www.partycraze.com.au/test.php?paypal=1

30 Apr 2013, 4:10 AM
#34
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

Hello my problem is still not resolved we removed the SSL incase it was blocking did not work Crazy Domains have emailed me back and said'

Hello,

Thank you for contacting Customer Support.

I've checked with admin and it appears that Paypal has blocked our server, therefore it's not working.
Kindly contact Paypal and ask to unblock the following IP: 203.170.85.121

Please feel free to contact us if you have further queries.

Regards,
May
Online Support Team

**Then Pay Pal wrote back **

Thank you for contacting PayPal Customer Support.

Please note PayPal does not block website IP addresses.

Thank you for choosing PayPal.

Wow they are so helpful' NOT!!!!! :laugh:

30 Apr 2013, 5:10 AM
#35
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: PayPal (7) couldn't connect to host

Party Craze:

**
Then Pay Pal wrote back **
Please note PayPal does not block website IP addresses.

Contrary to what many would like you to think, it is true, PayPal do not block IP addresses.
To do so would be counter productive and detrimental to their services.

For the exact same reasons, the 'ozpost' servers that I run can and will never block IP addresses.

This is actually true for many/most businesses that depend on public access to their servers/services (Government departments, Banks, etc, etc).

The biggest 'problem' with blocking by IP address (and why it isn't a good course of action), is because very few hackers will attempt to compromise the sites directly, instead they'll log into someones home computer and carry out their attacks from there. If the Banks, PayPal, etc were to block the attackers IP address, they are in fact blocking access to an innocent victim. The real hacker just moves onto someone else's computer to continue their activities.

Having said that, there are many other reasons why a connection cannot be made, that have nothing to do with IP blocking, but sadly, nothing that is within your control.

This problem can only be solved with your host and PayPal working together to determine where the breakdown is occurring, and then one or the other of them will be able to rectify the problem.

As you have discovered, neither party is going to admit that their systems/servers are at fault, and that could well be true, the problem could easily be caused by invalid rules in one of the many routers that exist between your host and the paypal servers.

Other than changing hosts, all you can really do is act as a middleman, and forward all responses from your host over to PayPal, and all of their responses back to your host. Sooner or later someone will take the matter seriously and fix the problem. Dare I say, but you need to go out of your way to annoy them. There are several ways to do this. Using their contact forms and posting a message like 'its still broken' every hour or two, may seem futile, but it actually works.
Another thing I've often done is to start sending emails about the complaint to other departments of the businesses... A technical complaint to the billing department is often a successful tactic, because it is often the billing/accounting departments that have the most pulling power to get things done.
Likewise, start sending a copy of all correspondence to 'manager@xxxxxxx' is sure to attract attention (as long as they don't bounce).
While doing this, you might also want to add 'root', 'postmaster' and 'webmaster' to the list of persons to 'annoy' with the copies of your correspondence.

I'm not suggesting you try all of these tactics all at once, just make yourself progressively more annoying until the problem is fixed. :)

It is mainly a matter of time. We will never find out the real cause, because even when fixed, neither side is going to acknowledge that it was their doing.

Very frustrating.

Cheers
Rod

ps. Meanwhile, you could enable PayPal standard (IPN) module. This will allow your customer to still use paypal, because with this module there is no direct communication between your host and the paypal servers. Alas, it is this lack of two way communication that makes this method a LOT less reliable than the Express checkout though.

30 Apr 2013, 6:13 AM
#36
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

Hi Rod' Oh Yeah i am being a pesky little rabbit trust me' As you said neither wants to come to the Party i am standing on the kerb all alone' I will keep going for now and bugging them. My son has done another back up of my site today ready to move over to another server within the next couple of days' i cant keep playing these games. Thanks for your input and suggestions i will use ALL of them in one way or another :yes:

Regards Connie

30 Apr 2013, 6:15 AM
#37
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

It's true: PayPal doesn't block (most) IP addresses.

I mentioned awhile back that you need to get your host to run a traceroute and post the results back.

If it's failing at a certain point in the transit then whoever the carrier of that leg is needs to be involved (and asked to unblock the IP address). And your hosting company IS the best "person" to initiate that, since they're the ones paying for the internet connection that's being used.

It could be that an AT&T blockage that affected numerous 1&1 customers might also be affecting you. But unless your hosting company gives you the details of the communications traffic, they're doing you NO favors.

Get your hosting company to continue fixing the problem that is theirs to fix.

30 Apr 2013, 6:34 AM
#38
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

I just tested your curltest again, and it seems the message has morphed to (28) connect timed out .... which is strangely similar to the problems reported with spurious blockages by AT&T. Those were usually resolved by having the hosting company contact [email protected] to report the IP address block problem and get it unblocked.

30 Apr 2013, 8:39 PM
#39
drbyte avatar

drbyte

Sensei

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

Re: PayPal (7) couldn't connect to host

While I'm extremely reluctant to offer this suggestion, because it opens a pandora's box of potential problems, you could temporarily turn off the Express Checkout module, and turn on the Payments Standard module instead. You might have issues with orders getting stored properly in your store, but you'll get emails when they make payments, and customers won't be prevented from making purchases while this communications problem is getting sorted out.

30 Apr 2013, 11:38 PM
#40
party_craze avatar

party_craze

New Zenner

Join Date:
Sep 2012
Posts:
33
Plugin Contributions:
0

Re: PayPal (7) couldn't connect to host

Hello i have switched everything off for payments and only use Bank Deposit at the moment no orders since last week" I contacted AT&T my self after what you had written this is what i got back. So i gather my Server needs to fix this? Or me?

203.170.85.121 was identified as participating in a DDoS attack. To prevent damage to the AT&T infrastructure or its customers, AT&T has blocked the traffic of the referenced IP address through its network. If this is a shared IP address used for virtual hosting, all virtual hosts may be affected.

sensitive information removed by moderator

Please treat the information in this email as sensitive and distribute only to those parties that have a need to know.

Send e-mail notification when it has been confirmed that the server is clean. AT&T will then remove the block that is in place.

If the IP address is identified again, AT&T will reinstate the block.

Thanks in advance for your cooperation in this matter!

IPSCPS Team