Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: cURL connection errors - PayPal IPN fails - on new IIS7 server

    Quote Originally Posted by robax View Post
    If the ip was blocked, would I be able to access the Zen cart site at all from the server?
    No, you couldn't.

    Quote Originally Posted by robax View Post
    If that page is accessible from the server's web browser, then does that mean it should also work via curltest.php running off the same server/ip?
    Yes, it should.

    Quote Originally Posted by robax View Post
    Or is the curltest.php using a special port that I could check for. I've read that it wants 80 or 443 and as far as I can tell they are both open both ways.
    It's using port 80 for non-SSL and 443 for SSL, which are normal web traffic.

    28 => Operation timed out after 4 seconds with 0 bytes received
    Your hosting company is going to have to sort out whatever is causing the timeout problems.
    .

    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.

  2. #12
    Join Date
    Mar 2006
    Posts
    191
    Plugin Contributions
    0

    Default Re: cURL connection errors - PayPal IPN fails - on new IIS7 server

    Quote Originally Posted by DrByte View Post
    Your hosting company is going to have to sort out whatever is causing the timeout problems.
    Hi DrByte,

    The host checked and found no connectivity problems at thei end, but he did say that a trace to the ZC site was being slow and that I should increase the timeout for the test.

    So I edited the file and set it to 60 seconds and sure enough, it now gives a valid result... generally after about 18 seconds.

    I've fired another ticket off to determine why it would take so long from my new server in Dallas when my old server in LA does it in a couple hundred ms.

    I'll post what I find out.

    The good news is that I can now begin to troubleshoot the PayPal issue without these other worries

    The AustPost contribution also works now thanks to some help in anoth thread. That was not due to CURL but a possible bug and a wrong address.

    Regards,
    Rob

  3. #13
    Join Date
    Nov 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: cURL connection errors - PayPal IPN fails - on new IIS7 server

    Hopefully you can help diagnose the response below:

    Array
    (
    [url] => "http://www.zen-cart.com/testcurl.php"
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 139
    [request_size] => 174
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 18.302
    [namelookup_time] => 0.278
    [connect_time] => 0.29
    [pretransfer_time] => 0.29
    [size_upload] => 0
    [size_download] => 2142
    [speed_download] => 117
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 18.302
    [redirect_time] => 0
    )

    The problem being the 18 second total load time. I'm not sure if this would be something in the Zen cart configuration or in IIS7. Doesn't appear to be network related; all pings/tracerts come back with minimal latency.

    Are there any key spots in the IIS7/Curl configuration I should check that would cause slow communication with the Zen server?

    Thanks

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

    Default Re: cURL connection errors - PayPal IPN fails - on new IIS7 server

    The server at zen-cart.com is much like any other webserver.
    There's no known reason for why IIS7 would connect to it any differently than any other server would.
    .

    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
    Mar 2006
    Posts
    191
    Plugin Contributions
    0

    Default Re: cURL connection errors - PayPal IPN fails - on new IIS7 server

    Thanks for the replies DrByte,

    My host has thus far been unable to determine why the connection specifically to zen-cart.com has a delay in it. I've checked repeatedly with Firebug and Yslow and have also drawn a blank. Individual page items either load in less than 400ms or have a fixed delay of 15-18 seconds. Originally I thought this to be affecting only the curltest.php, but then I realised it was the entire zen-cart.com website.

    Even so, that may not affect the Paypal issues and so I've been busy troubleshooting that and have posted a new thread with full details and logs here:

    http://www.zen-cart.com/forum/showthread.php?p=645687

    Thank you for any advice on that thread as well.
    Kind regards,
    Rob

  6. #16
    Join Date
    Mar 2006
    Posts
    191
    Plugin Contributions
    0

    Default Re: cURL connection errors - PayPal IPN fails - on new IIS7 server

    My host has resolved the slow zen-cart.com page loads. It was because the Zen Cart site for some reason is reverse resoving the requestor and because the default ip of my server did not have an active domain name assigned to it, the zen-cart server would time page components out. All very odd, but with a valid domain on my server ip, things are snappy again!

    However - this hasn't had any affect on the remaining issue - whereby I have no products in Paypal IPN orders, or I get two orders if I enable PDT. I've detailed this with debug logs here and am desparate for some assistance with it:
    http://www.zen-cart.com/forum/showthread.php?p=645687

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Curl fails
    By mhess in forum General Questions
    Replies: 1
    Last Post: 14 Aug 2013, 05:04 PM
  2. Errors in Paypal IPN checkout??
    By kczm in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 19 Nov 2008, 05:14 AM
  3. Moved to a new server, and no connection.
    By birdoasis in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 4 Mar 2007, 08:08 PM
  4. PayPal IPN - SQL errors
    By tabdiggy in forum Addon Payment Modules
    Replies: 2
    Last Post: 26 Feb 2007, 07:56 PM
  5. No response to CURL from Fedex server, check CURL availability?
    By zc-newbie in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 13 Sep 2006, 07:25 AM

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