Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-21-2007 02:07:05

frontline
Member
From: Arizona
Registered: 05-20-2003
Posts: 177
Website

Installation stalls on cURL problem step2. (GoDaddy Linux)

Installation won't get past Step 2.
GoDaddy Tech support assures me that no proxy auth is required and that cURL is running.
I have verified that all php.ini settings are as instructed.
php ver = 4.3.11
libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.2.3

Error message:
The following errors were encountered while attempting to process your request: 1. An error was encountered while running the HTTPS cURL test. Error Information: A request was made to connect to a remote URL, however there was a general cURL error while processing the request. URL: https://secure.kryptronic.com/domains/c … l/test.php

GoDaddy's php file to test cURL runs fine at http://thatplateplace.com/khxc/phptest.php

Code:

<?

$URL="https://www.paypal.com";
if (isset($_GET["site"])) { $URL = $_GET["site"]; }
$ch = curl_init();
echo "URL = $URL <br>\n";
curl_setopt($ch, CURLOPT_VERBOSE, 1);
//curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_URL, $URL);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
$result = curl_exec ($ch);
echo "<hr><br>\n";
echo 'Errors: ' . curl_errno($ch) . ' ' . curl_error($ch) . '<br><br>';
echo "<hr><br>\n";
curl_close ($ch);
print "result - $result";
echo "<hr><br>\n";

?>

I saw another thread with this problem, but this installer was just purchased and I'm told I don't need proxy auth with cURL anyway.

Any ASAP suggestions? Thank you.

Offline

 

#2 03-21-2007 13:40:27

frontline
Member
From: Arizona
Registered: 05-20-2003
Posts: 177
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

I have submitted a support ticket on this issue and will update this forum with results.

I should mention that the client is getting married in 2 days and needs the store LIVE by then.
Thanks for any response.

Last edited by frontline (03-21-2007 13:50:48)

Offline

 

#3 03-22-2007 12:35:30

grcauto
Member
From: Bloomsburg, PA
Registered: 09-11-2006
Posts: 128
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Put this in the box for cURL proxy URL "http://proxy.shr.secureserver.net:3128" (without the quotes)
Leave the checkbox for cURL Proxy Over HTTP unchecked.
Check the checkbox for cURL Proxy Over HTTPS.
This will make it work.

Offline

 

#4 03-22-2007 15:09:03

frontline
Member
From: Arizona
Registered: 05-20-2003
Posts: 177
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Like MAGIC!!!! Thank you VERY much!
You are a life saver!

Offline

 

#5 03-22-2007 15:27:53

grcauto
Member
From: Bloomsburg, PA
Registered: 09-11-2006
Posts: 128
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

I was the first client to install the cart on a server (GoDaddy) that uses a proxy for cURL. The installer script had a problem with the proxy url, and it took me working with Nick three days to figure it out. After Nick figured out the problem with the installer script it was a breeze to do the rest.
Glad you got it going.

Offline

 

#6 03-22-2007 15:34:44

frontline
Member
From: Arizona
Registered: 05-20-2003
Posts: 177
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Thank you. I suspected that was it but Godaddy "assured" me it wasn't. Thanks again.

Offline

 

#7 09-15-2007 01:38:39

lrdaramis
Member
From: Victoria, Australia
Registered: 04-13-2006
Posts: 103
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

I've the done the above....but I'm still getting this error

"The following errors were encountered while attempting to process your request: 1. An error was encountered while running the HTTP cURL test. Error Information: connect() timed out!"

Any ideas?

Offline

 

#8 09-15-2007 02:56:48

frontline
Member
From: Arizona
Registered: 05-20-2003
Posts: 177
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

I did an install a couple weeks ago and had quite a few "timed out" errors. I found that if I just restarted the install, it would make it farther down the line each time. It was kind of a pain, but not too bad and it DID successfully complete. I'm guessing I had to restart the install 10 times. I thought it might be poor connection and the timeout parameters were set a bit too tight.

Hope this helps. Just keep trying.

Offline

 

#9 09-15-2007 03:16:00

lrdaramis
Member
From: Victoria, Australia
Registered: 04-13-2006
Posts: 103
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

I will keep trying..i've done it like 20 times now...

Offline

 

#10 09-15-2007 03:23:12

lrdaramis
Member
From: Victoria, Australia
Registered: 04-13-2006
Posts: 103
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Where do you change the timeout parameters?

Offline

 

#11 09-15-2007 03:29:23

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

It can be very dependent on time of day and overall network activity not to mention the server you're on.  Best thing to do is try it at different times of the day if you can particularly very early (Eastern US time) or very late.

Offline

 

#12 09-15-2007 03:49:41

lrdaramis
Member
From: Victoria, Australia
Registered: 04-13-2006
Posts: 103
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Is there a timeout setting that can be added on the installer file for cURL?

Offline

 

#13 09-15-2007 04:32:21

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

It's hard coded in installer I'm afraid.  Nick is going to increase the value a bit in the next release but in most circumstances the 15 seconds should be enough.  I've had installs that have taken me several days simply because of timeouts and having to keep trying at different times and on different days.

Offline

 

#14 09-15-2007 04:42:17

lrdaramis
Member
From: Victoria, Australia
Registered: 04-13-2006
Posts: 103
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Thanks Dave.

Do you know where in the installer this code is located? I looked at the installer.php under the two cURL functions but I couldn't locate the timeout setting anywhere. Is there a place where I can add something like "curl_setopt ($ch, CURLOPT_TIMEOUT, 120);"

Offline

 

#15 09-15-2007 04:44:42

lrdaramis
Member
From: Victoria, Australia
Registered: 04-13-2006
Posts: 103
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Nevermind . I found it...I'll try again..

Offline

 

#16 09-15-2007 04:46:01

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

You must have been looking right at it ... the statement you posted is in the code with a value of 15 .... I wouldn't go above 30 though ... certainly not 120 ... the install I did yesterday was on a host in Singapore and 60 worked out just fine and the delays/lag were very significant.  Look around line 10903.

Offline

 

#17 09-15-2007 04:56:02

lrdaramis
Member
From: Victoria, Australia
Registered: 04-13-2006
Posts: 103
Website

Re: Installation stalls on cURL problem step2. (GoDaddy Linux)

Thanks Dave..I tried with 120 and failed...tried 60..worked like magic!

- C

Offline

 

Board footer