cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with PROXY server

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 22 Sep 2008 12:05:46 -0700

On Mon, Sep 22, 2008 at 08:31:11PM +0200, Dolatowski Krzysztof wrote:
> I am trying to call webservices via PROXY server. I have tried to call
> reach it without PROXY, and everything was working very nice. To connect
> via PROXY I should add only 2 additional lines:
> curl_easy_setopt(curl, CURLOPT_PROXY,"addr:port");
> curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, "usr:pwd");
> but it's not working.
>

> 2008-09-22 15:57:35,725 DEBUG TYPE: [1] 2008-09-22 15:57:35,726
> DEBUG TYPE: [0] Proxy replied OK to CONNECT request
> 2008-09-22 15:57:35,741 DEBUG TYPE: [0] SSL connection timeout
> 2008-09-22 15:57:35,741 DEBUG TYPE: [0] Closing connection #0
> 2008-09-22 15:57:35,741 DEBUG TYPE: [0] Timeout was reached
> 2008-09-22 15:57:35,741 ERRORBUFFER: Kowalski
>
> Additional I have tried to change PROXY type, but without any results... :(
> Can anybody give me any suggestions where is the reason?

It looks like curl is doing the right thing. It appears that the
remote server is not running an HTTPS server on the port you specified, so
the SSL handshake cannot complete.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-09-22