Click to See Complete Forum and Search --> : curl unknown protocol


necron
05-26-2005, 07:59 AM
OK. I have got this script that works perfectly fine on a different server. It uses curl to communicate to a different website via https.

On this new server, however, I keep receiving an error message:

Error: HTTP Error: cURL ERROR: 35: SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Some sites suggest to manually change the SSL version curl uses to SSL 2. After I do that, I get the error:

Error: HTTP Error: cURL ERROR: 35: SSL: error:00000000:lib(0):func(0):reason(0)

If I change it to SSL version 3, I go back to the previous error (unknown protocol).

Has anybody experienced this before? The script is correct - it works on a different server. It must have something to do with the installation of curl for PHP on this server.

weekender
05-31-2005, 05:53 PM
a few questions;

linux/windows?
php version?
curl version? (certain php vers require certain curl vers)
mod_ssl installed? (not sure if required, but might be a clue)
function causing the error?

adam

necron
06-01-2005, 10:11 AM
windows iis 6

PHP Version 4.3.4

CURL support: enabled
CURL Information: libcurl/7.10.5 OpenSSL/0.9.7b zlib/1.1.4

mod_ssl?.... Hmmm... not sure. Is that set in the php.ini?

I am using nuSOAP class to communicate with a https site. After doing a $client->call() I receive the error message.