Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33
  1. #11
    Join Date
    Jun 2006
    Posts
    120
    Plugin Contributions
    0

    Default Re: (7) could not connect to host, but CURL is okay

    I checked the dedicated IP of the site here

    http://whatismyipaddress.com/blacklist-check

    and here

    http://www.mxtoolbox.com/blacklists.aspx

    came up clean both places

  2. #12
    Join Date
    Jun 2006
    Posts
    120
    Plugin Contributions
    0

    Default Re: (7) could not connect to host, but CURL is okay

    Norton says the site is safe

    http://safeweb.norton.com/report/sho...aheadwraps.com

    and also AVG

    http://www.avgthreatlabs.com/siterep...aheadwraps.com

    nothing else for me to do except wait for the client to get an answer from Paypal.

  3. #13
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: (7) could not connect to host, but CURL is okay

    Quote Originally Posted by isaiah36 View Post
    Hosting support says the Paypal IPs are reachable, no blocks on the firewall

    root@s307 [/home/nilajah/public_html]# csf -g 216.113.188.10

    Chain num pkts bytes target prot opt in out source destination
    No matches found for 216.113.188.10 in iptables
    root@s307 [/home/nilajah/public_html]# csf -g 66.211.168.126

    Chain num pkts bytes target prot opt in out source destination
    No matches found for 66.211.168.126 in iptables
    Where they are resolving the name

    paypal.com. 300 IN A 66.211.169.66
    paypal.com. 300 IN A 66.211.169.3
    It's too bad they aren't looking at the error details you've been posting, which clearly states that the URL your store needs to connect to is https://api-3t.paypal.com/nvp ... which won't the same address as the generic paypal.com

    The csf / iptables check is only the firewall. It's nothing about name lookups.
    .

    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.

  4. #14
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: (7) could not connect to host, but CURL is okay

    Quote Originally Posted by isaiah36 View Post
    Hosting support says the Paypal IPs are reachable, no blocks on the firewall

    Where they are resolving the name
    ----------------------------------------------------------
    paypal.com. 300 IN A 66.211.169.66
    paypal.com. 300 IN A 66.211.169.3
    --------------------------------------------------------

    That's fine if you were using a webbrowser to go to the PayPal website. The thing is, that's not where your problem is.

    (live transaction) --> https://api-3t.paypal.com/nvp

    api-3t.paypal.com has address 173.0.88.69
    api-3t.paypal.com has address 173.0.88.101
    api-3t.paypal.com has address 173.0.84.69
    api-3t.paypal.com has address 173.0.84.101

    Go back and get 'em to check again.

  5. #15
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: (7) could not connect to host, but CURL is okay

    There are even more possible addresses than what RodG mentioned:
    https://ppmts.custhelp.com/app/answers/detail/a_id/92

    From http://www.zen-cart.com/wiki/index.php/PayPal
    .

    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.

  6. #16
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: (7) could not connect to host, but CURL is okay

    It's important to note that a properly configured host wouldn't normally need ANY entries for PayPal as far as outbound communication is concerned.
    And, for incoming, well, your site is a webserver, so you probably want incoming traffic from pretty much everywhere, except addresses which have proven themselves untrustworthy.

    That is to say, if your host truly has no firewall addresses (in or out) for PayPal, then it starts suggesting what I mentioned before: that it's a namelookup / resolv problem, where the server's own ability to properly resolve names to addresses is broken or outdated because caching is foobar'd.
    .

    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.

  7. #17
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: (7) could not connect to host, but CURL is okay

    Quote Originally Posted by DrByte View Post
    There are even more possible addresses than what RodG mentioned:
    True, but api-3t.paypal.com only uses the 4 listed.... At least according to the DNS :)

    I thought I'd give the OP's host a fighting chance... <g>

    Curiously (not important for the OP or his host to know) the following two IP's
    66.211.168.126
    66.211.168.194

    are listed by PayPal as also being used by api-3t.paypal.com, but they don't (or no longer) have a DNS entry for them.

    Quote Originally Posted by DrByte View Post
    That is to say, if your host truly has no firewall addresses (in or out) for PayPal, then it starts suggesting what I mentioned before: that it's a namelookup / resolv problem, where the server's own ability to properly resolve names to addresses is broken or outdated because caching is foobar'd.
    I tend to agree...... Hmmm, depending on when the 66.211.x.x addresses got dropped by the DNS it is possible that this is when the OP's problems started (just thinking out loud).

    Cheers
    Rod.

  8. #18
    Join Date
    Jun 2006
    Posts
    120
    Plugin Contributions
    0

    Default Re: (7) could not connect to host, but CURL is okay

    # ping -c5 173.0.88.69
    PING 173.0.88.69 (173.0.88.69) 56(84) bytes of data.

    --- 173.0.88.69 ping statistics ---
    5 packets transmitted, 0 received, 100% packet loss, time 4000ms

    root@s307 [~]# ping -c5 173.0.88.101
    PING 173.0.88.101 (173.0.88.101) 56(84) bytes of data.

    --- 173.0.88.101 ping statistics ---
    5 packets transmitted, 0 received, 100% packet loss, time 4000ms

    root@s307 [~]# ping -c5 173.0.84.69
    PING 173.0.84.69 (173.0.84.69) 56(84) bytes of data.

    --- 173.0.84.69 ping statistics ---
    5 packets transmitted, 0 received, 100% packet loss, time 3999ms

    root@s307 [~]# ping -c5 173.0.84.101
    PING 173.0.84.101 (173.0.84.101) 56(84) bytes of data.

    --- 173.0.84.101 ping statistics ---
    2 packets transmitted, 0 received, 100% packet loss, time 1000ms

  9. #19
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: (7) could not connect to host, but CURL is okay

    Quote Originally Posted by isaiah36 View Post
    # ping -c5 173.0.88.69
    PING 173.0.88.69 (173.0.88.69) 56(84) bytes of data.

    --- 173.0.88.69 ping statistics ---
    5 packets transmitted, 0 received, 100% packet loss, time 4000ms
    This doesn't really tell us anything useful.

    Cheers
    Rod

  10. #20
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: (7) could not connect to host, but CURL is okay

    isaiah36

    Q. Under your configuration->My_store settings, do you have an entry that reads: "cURL Proxy Status"? If so, make sure it is set to "False".

    If this entry doesn't exist, try running the following SQL command
    UPDATE `configuration` SET `configuration_value`= 'FALSE' WHERE `configuration_key` = 'CURL_PROXY_REQUIRED' ;

    It has been a long time since ZenCart needed to use the proxy option (and then only for one particular host).
    Current versions of zencart have removed this as an option because the host that shall be nameless removed the need for it. However, it has been noted that some auto-install scripts incorrectly set this value to 'true' and the only way to to set it back to false is via the SQL update command.

    I make no guarantee that this will work, and I'm pretty much clutching at straws. It has been about a year since I've seen this 'fix' actually work, but it *is* a possibility that is pretty easy to eliminate.

    Cheers
    Rod

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v151 SMTP Error: Could not connect to SMTP host.
    By brandi_jo in forum General Questions
    Replies: 16
    Last Post: 22 Feb 2014, 05:50 AM
  2. Could not connect to SMTP host
    By Veronika7747 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 27 Apr 2010, 10:35 PM
  3. Replies: 1
    Last Post: 1 Oct 2009, 06:54 AM
  4. Replies: 2
    Last Post: 10 Dec 2007, 09:48 PM
  5. Could not connect to SMTP host.
    By wwwursa in forum Installing on a Windows Server
    Replies: 12
    Last Post: 10 Dec 2007, 08:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR