cURL / Mailing Lists / curl-users / Single Mail

curl-users

Proxy CONNECT aborted

From: Manjushri <manjushb_at_yahoo-inc.com>
Date: Thu, 01 Jul 2010 14:12:41 +0530

I am facing some issues while using php curl library. I am setting
following parameters,

          curl_setopt($c, CURLOPT_HTTPPROXYTUNNEL,1);
          curl_setopt($c, CURLOPT_PROXY, 'http://localhost:8080');
          curl_setopt($c, CURLOPT_PROXYPORT, '8080');
          curl_setopt($c, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
          curl_setopt($c, CURLOPT_HEADER, 1);
          curl_setopt($c, CURLOPT_TIMEOUT, 5);
          curl_setopt($c, CURLOPT_URL, 'https://xyz:4443/asd/asw' );
          #curl_setopt($c, CURLOPT_POST, 1);
          curl_setopt($c, CURLOPT_POSTFIELDS, $XML_REQUEST);
          curl_setopt($c, CURLOPT_HTTPHEADER, $header);
          curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
          curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
          #curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

I am getting following exception from curl
'Connection issue - 56 : Proxy CONNECT aborted

Please give me some pointers to resolve this.

Thanks,
Manjushri
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-01