Page 2 of 14 FirstFirst 123412 ... LastLast
Results 11 to 20 of 135
  1. #11
    Join Date
    Mar 2011
    Posts
    7
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    Try running it as: curltester.php?paypal=1 to test connecting specifically to PayPal, and post the results.

    Granted, that's not going to do anything more than give you something to show the slow folks at GD that there's really something wrong. I wouldn't be surprised that it tells you the same thing you're already seeing in your logs: an error code of "28 connect timed out", which is all GD should need.


    Also, I note that your post said you were using "curltest.php", which tells me you're using an old version of Zen Cart with some publicly-known security vulnerabilities. It would be wise to be upgrading ASAP.

    Also, do you have "CURL Proxy Status" turned off under Admin->Configuration->My Store? If not, it NEEDS to be off. It was only ever added because GD used to configure their servers in a very bizarre non-standard way for talking to external services. Now they've removed that need. Their overall server config is still bunk, but at least the proxy is no longer needed (as of about 2 years ago)
    Hi DrByte,

    Thanks for the input. I did still have the CURL proxy on set to True, so I've set that to False. I'm still using ZenCart 1.3.8a, so I will have to look in to what it will take to upgrade to the newest version. I ran the curltest.php?paypal=1 and here are the results:

    Array
    (
    [url] => "https://api-3t.paypal.com/nvp"
    [content_type] => text/plain; charset=utf-8
    [http_code] => 200
    [header_size] => 153
    [request_size] => 166
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.118733
    [namelookup_time] => 0.00685
    [connect_time] => 0.014275
    [pretransfer_time] => 0.045533
    [size_upload] => 0
    [size_download] => 146
    [speed_download] => 1229
    [speed_upload] => 0
    [download_content_length] => 146
    [upload_content_length] => 0
    [starttransfer_time] => 0.118649
    [redirect_time] => 0
    )



    ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAG E0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=ErrorEOF

    I hope this sheds some light on the issue. Let me know if there is anything else I can do on my end besides waiting for GD to respond.

    Thanks again,

    James

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

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

    ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAG E0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=ErrorEOF
    Okay, so that response actually comes from PayPal's server, so the script is able to talk to PayPal's server fine.

    I suspect your incorrect proxy status setting was what was causing the problem. Time to do a test transaction of your own.
    .

    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.

  3. #13
    Join Date
    Mar 2011
    Posts
    7
    Plugin Contributions
    0

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

    DrByte,

    You hit the nail on the head. After setting the Curl Proxy to False, it allowed the checkout to pass to Paypal. This hadn't been an issue until yesterday, so perhaps GD just shut down the proxy server that was handling those calls.

    I'm going to spend some time this weekend upgrading the Zen-Cart to the current version. I just need to make sure that the customization that have been made are not wiped out when I do it. I have a test site that I will practice on first to see what issue arise. I'll be reading through the forum to see what I should look out for before I get started.

    Thank you for the help. It is really appreciated.

    James

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

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

    .

    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.

  5. #15
    Join Date
    Sep 2009
    Posts
    186
    Plugin Contributions
    0

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

    I am getting the same error now, however when I go to /extras/curltester.php?paypal=1 I am getting a 404 error

  6. #16
    Join Date
    Sep 2009
    Posts
    186
    Plugin Contributions
    0

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

    Our Apache was recently upgraded and I bet our hosting company left the curl off of it, because other scripts are having issues too. I will verify this.

  7. #17
    Join Date
    Jan 2009
    Posts
    74
    Plugin Contributions
    0

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

    I'm running 1.3.9h. All has been good until a few days ago when I got a notice for the same Error Code... I'm hosted by POWWEB.
    My Curl Proxy is, and has always been set to False. I've made no updates or upgrades recently.
    I ran curltester.php and this was the result:


    You submitted the following fields and data:
    Array
    (
    [field1] => This is a test
    [statuskey] => ready
    )
    Data validation
    Good
    Other Info
    Your server IP address is: xx.xxx.xx.xxx.
    Your system identifies itself as: Zen Cart(tm) - CURL TEST
    Copyright © 2003 - 2013 Zen Ventures, LLC - Powered by Zen Cart™
    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.148173
    [namelookup_time] => 0.032615
    [connect_time] => 0.089501
    [pretransfer_time] => 0.089519
    [size_upload] => 37
    [size_download] => 2182
    [speed_download] => 14726
    [speed_upload] => 249
    [download_content_length] => 2182
    [upload_content_length] => 0
    [starttransfer_time] => 0.148015
    [redirect_time] => 0
    )


    I'm not sure how to read this data?? But I do know my site is still down...please HELP..

  8. #18
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

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

    Quote Originally Posted by Courage9
    I'm running 1.3.9h.... I ran curltester.php
    Code:
    [url] => "http://www.zen-cart.com/testcurl.php"
    testcurl.php is not the file included with 1.3.9h
    It is located here /extras/curltester.php
    Zen-Venom Get Bitten

  9. #19
    Join Date
    Jan 2009
    Posts
    74
    Plugin Contributions
    0

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

    OK...I'll find the correct one and run it.

  10. #20
    Join Date
    Jan 2009
    Posts
    74
    Plugin Contributions
    0

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

    I couldn't find my original file "extras". I believe I deleted that file on the server years ago. I found my zen zip files for the 1.3.9h and extracted the extras folder and added it to my server. I then ran the curltester.php from the server location and this was what came back:

    CURL Test Page
    This page is intended for testing CURL behaviour. You should be accessing this page via CURLTESTER.PHP running on YOUR server.


    You submitted the following fields and data:
    Array
    (
    [field1] => This is a test
    [statuskey] => ready
    )
    Data validation
    Good
    Other Info
    Your server IP address is: xx.xxx.xxx.35.
    Your system identifies itself as: Zen Cart(tm) - CURL TEST
    Copyright © 2003 - 2013 Zen Ventures, LLC - Powered by Zen Cart™
    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.127616
    [namelookup_time] => 0.014915
    [connect_time] => 0.0705
    [pretransfer_time] => 0.070516
    [size_upload] => 37
    [size_download] => 2182
    [speed_download] => 17098
    [speed_upload] => 289
    [download_content_length] => 2182
    [upload_content_length] => 0
    [starttransfer_time] => 0.127475
    [redirect_time] => 0
    )

 

 
Page 2 of 14 FirstFirst 123412 ... LastLast

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