curl-and-python

Re: Proxy connect errors

From: Andrew Bushnell <awb_at_fluent.com>
Date: Tue, 05 Jul 2005 10:55:06 -0400

Andrew Bushnell wrote:

>
> Daniel Stenberg wrote:
>
>> On Sun, 3 Jul 2005, Daniel Stenberg wrote:
>>
>>> Any chance you can test the attached patch on a recent libcurl and
>>> see if it cures the problems you experience?
>>
>>
>>
>> This fix is now also in CVS and the daily snapshots, done slightly
>> different/better.
>>
I downloaded the latest snapshot. I am now getting the following error:

curl: (56) Proxy CONNECT aborted

I turned on --trace-ascii and here is the trace from the failure:

== Info: About to connect() to myproxyserver port 3128
== Info: Trying .. == Info: connected
== Info: Connected to myproxserver port 3128
== Info: Establish HTTP proxy tunnel to myhttpsserver:443
== Info: Proxy auth using NTLM with user 'mydomain\myusername'
=> Send header, 275 bytes (0x113)
0000: CONNECT myhttpsserver:443 HTTP/1.0
0029: Host: myhttpsserver:443
0047: Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAAC
0087: AAAAA=
008f: User-Agent: curl/7.14.1-20050705 (i386-pc-win32) libcurl/7.14.1-
00cf: 20050705 OpenSSL/0.9.7g zlib/1.2.2
00f3: Proxy-Connection: Keep-Alive
0111:
<= Recv header, 44 bytes (0x2c)
0000: HTTP/1.0 407 Proxy Authentication Required
<= Recv header, 28 bytes (0x1c)
0000: Server: squid/2.5.STABLE10
<= Recv header, 19 bytes (0x13)
0000: Mime-Version: 1.0
<= Recv header, 37 bytes (0x25)
0000: Date: Tue, 05 Jul 2005 14:46:20 GMT
<= Recv header, 25 bytes (0x19)
0000: Content-Type: text/html
<= Recv header, 22 bytes (0x16)
0000: Content-Length: 1313
<= Recv header, 40 bytes (0x28)
0000: Expires: Tue, 05 Jul 2005 14:46:20 GMT
<= Recv header, 42 bytes (0x2a)
0000: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
<= Recv header, 91 bytes (0x5b)
0000: Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAAAAADAAAAASAgAAzie+GDO
0040: D/aoAAAAAAAAAAAAAAAAwAAAA
<= Recv header, 39 bytes (0x27)
0000: X-Cache: MISS from trumpet.fluent.com
<= Recv header, 30 bytes (0x1e)
0000: Proxy-Connection: keep-alive
<= Recv header, 2 bytes (0x2)
0000:
== Info: Ignore 1313 bytes of response-body
== Info: Proxy CONNECT aborted
== Info: Closing connection #0

so it seems that maybe after reading the data, you do not get a response
from the server?

-- 
************************************
Andrew Bushnell
Lead Development Engineer
Fluent Inc.
10 Cavendish Court
Centerra Resource Park
Lebanon, NH  03766
awb_at_fluent.com
Phone: 603-643-2600, ext. 757
Fax: 603-643-1721
www.fluent.com
************************************
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-07-05