Page 14 of 14 FirstFirst ... 4121314
Results 131 to 135 of 135
  1. #131
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Problem with Paypal connection - Error (28) connect() timed out!

    Quote Originally Posted by Carl View Post
    Hello all, I now have this error 28 problem which started Thursday 15th Aug. I have yet to contact my host (host papa) I have read all 13 pages of this thread and it gets complex in parts.

    Before I go further could someone please look at my ipn check below and tell me if ok or not.
    How does 'mostly OK' sit with you?

    -------------------------------
    CURL ERROR: Attempted connection on: https://www.paypal.com/cgi-bin/webscr
    (6) Couldn't resolve host 'www.paypal.com'
    ------------------------------------

    This is telling me that there was a DNS problem (name lookup failed).

    However,
    ---------------------------------------------------------
    Trying direct HTTP on port 80 instead ...
    CURL RESPONSE RECEIVED - Communications OKAY
    -----------------------------------------------------------

    This is suggesting that the DNS failure was only temporary, because when it tried again using a different port to the same server/host the lookup was actually successful.

    The question needs to be asked, is the problem you are having 'consistent', or does it seem to come and go with no apparent pattern?

    If it seems to come and go you'll be looking for a DNS related cause.
    If it is consistent you are probably another victim of the AT&T routing/firewall problem.

    Cheers
    Rod

  2. #132
    Join Date
    Dec 2006
    Location
    France
    Posts
    67
    Plugin Contributions
    0

    Default Re: Problem with Paypal connection - Error (28) connect() timed out!

    Thanks MC and Rod. Curltester.php ok. The problem had been constant since 4 days ago.
    I reported to paypal and my host. The host reported that they did have issues with servers slow response times.
    I don't know if this was connected. I am not sure who did what or anything at all but later today all was well.
    I hope i am lucky here. I will report any further probs here. Thanks again for help,, priceless.. Carl..

  3. #133
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem with Paypal connection - Error (28) connect() timed out!

    For anyone still having issues, try out this new tool to test whether you're blocked by AT&T or not: See the link to sadbox.net in my post at: http://www.zen-cart.com/showthread.p...03#post1215303
    .

    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. #134
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Problem with Paypal connection - Error (28) connect() timed out!

    Quote Originally Posted by DrByte View Post
    For anyone still having issues, try out this new tool to test whether you're blocked by AT&T or not: See the link to sadbox.net in my post at: http://www.zen-cart.com/showthread.p...03#post1215303
    Unfortunately problem was resolved before the above was posted for testing; however, was notified by host last night that was resolved, but I didn't want to post anything too early and doom it again. They did say they were going to report the cause in what is about 2 hours from now in the ticket that has now been closed. If they do update it then I will report what they identified. If they don't I plan on initiating a ticket to obtain the information (and report it).

    AT&T throughout this 3 week outage reported that they were not blocking our ip address so I am curious to know where the problem was.

  5. #135

    Default Re: Problem with Paypal connection - Error (28) connect() timed out!

    This is an old post, but in case anyone is still looking for solutions, I have recently upgraded my ZC to v1.5.5f and have been struggling with the same timeout errors as above. Today, I found a way to increase the timeout settings for PayPal connections with cURL. Good news. In a file called paypal_curl.php I modified the critical timeout settings thusly:
    /**
    * Options for cURL. Defaults to preferred (constant) options.
    * xRay changed CURLOPT_CONNECTTIMEOUT => 10 to 20 7/25/2018
    * xRay changed CURLOPT_TIMEOUT=> 45 to 60 7/25/2018
    */
    var $_curlOptions = array(CURLOPT_HEADER => 0,
    CURLOPT_RETURNTRANSFER => TRUE,
    CURLOPT_TIMEOUT => 60,
    CURLOPT_CONNECTTIMEOUT => 20,
    CURLOPT_FOLLOWLOCATION => FALSE,
    //CURLOPT_SSL_VERIFYPEER => FALSE, // Leave this line commented out! This should never be set to FALSE on a live site!
    //CURLOPT_CAINFO => '/local/path/to/cacert.pem', // for offline testing, this file can be obtained from http://curl.haxx.se/docs/caextract.html ... should never be used in production!
    CURLOPT_FORBID_REUSE => TRUE,
    CURLOPT_FRESH_CONNECT => TRUE,
    CURLOPT_POST => TRUE,
    );

    My first attempt failed when I increased CURLOPT_CONNECTTIMEOUT to 15. After I increased it to 20 and also increased CURLOPT_TIMEOUT from 45 to 60, I was able to successfully connect with PayPal and complete a test transaction for $0.99. Finally, after about a month of darkness, I can now see the light!

    Those of us with slow shared rented servers should consider this option. In my humble opinion, I believe there should be a couple of settings in the configuration form for PayPal Express to manipulate the critical CURLOPT settings as needed. I also should credit the PayPal tech support helper, Nate, for suggesting the CURLOPT_TIMEOUT increase from 45 to 60.

 

 
Page 14 of 14 FirstFirst ... 4121314

Similar Threads

  1. v153 (7) Failed to connect to api-3t.paypal.com port 443: Connection timed out
    By MCS_Computers in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 26 Jul 2018, 06:09 AM
  2. v150 PayPal Error (28) - connection timed out - website payments down
    By aiko70 in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 26 Jul 2013, 05:07 AM
  3. v139d 28 connect timed out error
    By annedig in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 10 May 2013, 05:28 PM
  4. v139h PayPal Timeouts (28) Connect timed out!
    By jgold723 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 24 Mar 2013, 11:23 PM
  5. paypal express (7) couldn't connect to host & (28) connect() timed out
    By delia in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 9 Sep 2010, 12:36 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