curl-library
Re: Getting error 'Proxy CONNECT aborted' when using CURLAUTH_ANY
Date: Thu, 9 Apr 2009 23:28:41 +0200 (CEST)
On Thu, 9 Apr 2009, Sudha wrote:
> The proxy-authorization headers and the credentials used in both the runs
> are the same. But there seems to be a different sequence of requests sent in
> both runs.
>
> While using Basic auth, it directly tries to authenticate to the proxy:
Exactly.
But HTTP is stateless so it doesn't matter if you did a request before. Each
should work fine on its own.
> Establish HTTP proxy tunnel to download.juniper.net:443
> Proxy auth using Basic with user 'qasrv1'
> CONNECT download.juniper.net:443 HTTP/1.1
> Host: download.juniper.net:443
> Proxy-Authorization: Basic <username:passwd>
> Proxy-Connection: Keep-Alive
> Proxy CONNECT aborted
> Closing connection #0download failed - rc=56 err='Proxy CONNECT aborted'
> I'm using libcurl version 7.19.4, OS is RedHat Linux 2.6.11 kernel.
So what exactly does the proxy respond? I mean what headers.
I also think it could be worth it for you to ask about this failure in Squid-
forum to see if its known or if otherwise any good hints or advice could be
received.
-- / daniel.haxx.seReceived on 2009-04-09