Re: cURL connection errors - PayPal IPN fails - on new IIS7 server
Quote:
Originally Posted by
robax
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
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
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.
Quote:
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.
Re: cURL connection errors - PayPal IPN fails - on new IIS7 server
Quote:
Originally Posted by
DrByte
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 :smile:
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
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
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.
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
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
:frusty: