hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Sebelin ...@bos-bremen.de>
Subject Re: CONNECT over SSL with HttpClient 3.0
Date Wed, 01 Mar 2006 11:27:55 GMT
Hi,

Oleg Kalnichevski <olegk@apache.org> schrieb am 28.02.2006 um 23:26:

> On Tue, 2006-02-28 at 16:52 +0100, Olaf Sebelin wrote:
> > Hello,
> > 
> > 
> > I am using HttpClient 3.0. When I try to establish a HTTPS
> > connection through a proxy with Basic authentication, the
> > connection fails, if the credentials are not known and applied
> > _before_ the first try.
> > 
> > What I try to do, is the following: I try to connect to the given
> > URL. If the proxy returns 407, I request proxy credentials from the
> > user, set them and retry, like in the following example code:

[...]

> 
> Olaf,
> 
> Please post a _complete_ wire/context log of the HTTP session. I'll
> take a look at it
> 
> >  or me using HttpClient the
> > wrong way?
> > 
> 
> You should rather implement a custom credentials provider if you want
> the user to be able to authenticate interactively
> 
> http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/examples/InteractiveAuthenticationExample.java?view=markup


That did the trick, thank you. Since it gives me the auth-scheme to
enable preemptive authentication in case of Basic scheme, I do not have
to do the described "stunt".

But with this callback for the credentials it is hard to determine, if
the user just aborted the dialog (abort operation) or entered the wrong
credentials (reprompt), since HttpMethodDirector just logs the
CredentialsNotAvailableException away. May be the Exception should be
thrown to the caller of executeMethod?



Thanks for your help.

Regards,
Olaf


--- Wire Log follows (with hostnames anonymized) ---


DEBUG [org.apache.commons.httpclient.HttpClient] Java version: 1.4.2_07
DEBUG [org.apache.commons.httpclient.HttpClient] Java vendor: Sun Microsystems Inc.
DEBUG [org.apache.commons.httpclient.HttpClient] Java class path: /home/osebelin/work/eclipse/HttpTest/build:/home/java/lib/commons-logging.jar:/home/java/lib/log4j-1.2.8.jar:/home/java/lib/commons-codec/commons-codec-1.3.jar:/home/java/lib/commons-httpclient-3.0/commons-httpclient-3.0.jar
DEBUG [org.apache.commons.httpclient.HttpClient] Operating system name: Linux
DEBUG [org.apache.commons.httpclient.HttpClient] Operating system architecture: i386
DEBUG [org.apache.commons.httpclient.HttpClient] Operating system version: 2.6.13-15-default
DEBUG [org.apache.commons.httpclient.HttpClient] SUN 1.42: SUN (DSA key/parameter generation;
DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator;
PKIX CertPathBuilder; LDAP, Collection CertStores)
DEBUG [org.apache.commons.httpclient.HttpClient] SunJSSE 1.42: Sun JSSE provider(implements
RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
DEBUG [org.apache.commons.httpclient.HttpClient] SunRsaSign 1.42: SUN's provider for RSA signatures
DEBUG [org.apache.commons.httpclient.HttpClient] SunJCE 1.42: SunJCE Provider (implements
DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
DEBUG [org.apache.commons.httpclient.HttpClient] SunJGSS 1.0: Sun (Kerberos v5)
DEBUG [org.apache.commons.httpclient.HttpClient] BC 1.28: BouncyCastle Security Provider v1.28
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.useragent
= Jakarta Commons-HttpClient/3.0
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.protocol.version
= HTTP/1.1
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.connection-manager.class
= class org.apache.commons.httpclient.SimpleHttpConnectionManager
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.protocol.cookie-policy
= rfc2109
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.protocol.element-charset
= US-ASCII
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.protocol.content-charset
= ISO-8859-1
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.method.retry-handler
= org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@14a8cd1
DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams] Set parameter http.dateparser.patterns
= [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE,
dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy
HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss
z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy
HH:mm:ss z]
DEBUG [org.apache.commons.httpclient.methods.GetMethod] enter GetMethod(String)
DEBUG [org.apache.commons.httpclient.HttpClient] enter HttpClient.executeMethod(HostConfiguration,HttpMethod)
DEBUG [org.apache.commons.httpclient.HttpClient] enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.getConnectionWithTimeout(HostConfiguration,
long)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] HttpConnectionManager.getConnection:
 config = HostConfiguration[host=https://destination.host, proxyHost=http://10.211.1.35:4711],
timeout = 0
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] Allocating new connection,
hostConfig=HostConfiguration[host=https://destination.host, proxyHost=http://10.211.1.35:4711]
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Attempt number 1 to process request
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.open()
DEBUG [org.apache.commons.httpclient.HttpConnection] Open connection to 10.211.1.35:4711
DEBUG [org.apache.commons.httpclient.ConnectMethod] enter ConnectMethod()
DEBUG [org.apache.commons.httpclient.ConnectMethod] enter ConnectMethod.execute(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.execute(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequest(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.printLine(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.writeLine(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.writeLine()
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "CONNECT destination.host:443 HTTP/1.1"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
DEBUG [org.apache.commons.httpclient.ConnectMethod] enter ConnectMethod.addRequestHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addUserAgentRequestHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addHostRequestHeader(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] Adding Host request header
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addProxyConnectionHeader(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] HttpMethodBase.addRequestHeader(Header)
DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "Host: destination.host[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "Proxy-Connection: Keep-Alive[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.writeLine()
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.flushRequestOutputStream()
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponse(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.readLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [httpclient.wire.header] << "HTTP/1.0 407 Proxy Authentication Required[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.getResponseInputStream()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HeaderParser.parseHeaders(InputStream,
String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [httpclient.wire.header] << "Server: squid/2.5.STABLE3[\r][\n]"
DEBUG [httpclient.wire.header] << "Mime-Version: 1.0[\r][\n]"
DEBUG [httpclient.wire.header] << "Date: Wed, 01 Mar 2006 17:12:28 GMT[\r][\n]"
DEBUG [httpclient.wire.header] << "Content-Type: text/html[\r][\n]"
DEBUG [httpclient.wire.header] << "Content-Length: 1334[\r][\n]"
DEBUG [httpclient.wire.header] << "Expires: Wed, 01 Mar 2006 17:12:28 GMT[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0[\r][\n]"
DEBUG [httpclient.wire.header] << "Proxy-Authenticate: Basic realm="Squid proxy-caching
web server"[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Cache: MISS from testproxy[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Cache-Lookup: NONE from testproxy:4711[\r][\n]"
DEBUG [httpclient.wire.header] << "Proxy-Connection: keep-alive[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.processResponseHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseBody(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseBody(HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.getResponseInputStream()
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.canResponseHaveBody(int)
DEBUG [org.apache.commons.httpclient.ConnectMethod] CONNECT status code 407
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] enter HttpMethodBase.processAuthenticationResponse(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Supported authentication
schemes in the order of preference: [ntlm, digest, basic]
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Challenge for ntlm authentication
scheme not available
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Challenge for digest authentication
scheme not available
 INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor] basic authentication scheme
selected
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Using authentication scheme:
basic
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Authorization challenge
processed
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Proxy authentication scope: BASIC
'Squid proxy-caching web server'@10.211.1.35:4711
DEBUG [org.apache.commons.httpclient.HttpState] enter HttpState.getProxyCredentials(AuthScope)
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Proxy credentials required
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Proxy credentials provider not available
 INFO [org.apache.commons.httpclient.HttpMethodDirector] No credentials available for BASIC
'Squid proxy-caching web server'@10.211.1.35:4711
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] CONNECT failed, fake the response
for the original method
DEBUG [httpclient.wire.content] << "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[\n]"
DEBUG [httpclient.wire.content] << "<HTML><HEAD><META HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1">[\n]"
DEBUG [httpclient.wire.content] << "<TITLE>ERROR: Cache Access Denied</TITLE>[\n]"
DEBUG [httpclient.wire.content] << "<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>[\n]"
DEBUG [httpclient.wire.content] << "</HEAD>[\n]"
DEBUG [httpclient.wire.content] << "<BODY>[\n]"
DEBUG [httpclient.wire.content] << "<H1>ERROR</H1>[\n]"
DEBUG [httpclient.wire.content] << "<H2>Cache Access Denied</H2>[\n]"
DEBUG [httpclient.wire.content] << "<HR noshade size="1px">[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "While trying to retrieve the URL:[\n]"
DEBUG [httpclient.wire.content] << "<A HREF="destination.host:443">destination.host:443</A>[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "The following error was encountered:[\n]"
DEBUG [httpclient.wire.content] << "<UL>[\n]"
DEBUG [httpclient.wire.content] << "<LI>[\n]"
DEBUG [httpclient.wire.content] << "<STRONG>[\n]"
DEBUG [httpclient.wire.content] << "Cache Access Denied.[\n]"
DEBUG [httpclient.wire.content] << "</STRONG>[\n]"
DEBUG [httpclient.wire.content] << "</UL>[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<P>Sorry, you are not currently allowed to
request:[\n]"
DEBUG [httpclient.wire.content] << "<PRE>    destination.host:443</PRE>[\n]"
DEBUG [httpclient.wire.content] << "from this cache until you have authenticated yourself.[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "You need to use Netscape version 2.0 or greater,
or Microsoft Internet[\n]"
DEBUG [httpclient.wire.content] << "Explorer 3.0, or an HTTP/1.1 compliant browser for
this to work.  Please[\n]"
DEBUG [httpclient.wire.content] << "contact the <A HREF="mailto:webmaster">cache
administrator</"
DEBUG [httpclient.wire.content] << "a> if you have[\n]"
DEBUG [httpclient.wire.content] << "difficulties authenticating yourself or [\n]"
DEBUG [httpclient.wire.content] << "<A HREF="http://testproxy/cgi-bin/chpasswd.cgi">change</a>
your default password.[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<BR clear="all">[\n]"
DEBUG [httpclient.wire.content] << "<HR noshade size="1px">[\n]"
DEBUG [httpclient.wire.content] << "<ADDRESS>[\n]"
DEBUG [httpclient.wire.content] << "Generated Wed, 01 Mar 2006 17:12:28 GMT by testproxy
(squid/2.5.STABLE3)[\n]"
DEBUG [httpclient.wire.content] << "</ADDRESS>[\n]"
DEBUG [httpclient.wire.content] << "</BODY></HTML>[\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] Should NOT close connection in response
to directive: keep-alive
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.isResponseAvailable()
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.releaseConnection()
DEBUG [org.apache.commons.httpclient.HttpConnection] Releasing connection back to connection
manager.
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.releaseConnection(HttpConnection)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] Freeing connection,
hostConfig=HostConfiguration[host=https://destination.host, proxyHost=http://10.211.1.35:4711]
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration)
DEBUG [org.apache.commons.httpclient.util.IdleConnectionHandler] Adding connection at: 1141211743840
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] Notifying no-one,
there are no waiting threads
DEBUG [testo.http.ConnectWithProxyAuthTest] Answer: HTTP/1.0 407 Proxy Authentication Required
DEBUG [org.apache.commons.httpclient.HttpState] enter HttpState.setProxyCredentials(AuthScope,
Credentials)
DEBUG [org.apache.commons.httpclient.methods.GetMethod] enter GetMethod(String)
DEBUG [org.apache.commons.httpclient.HttpClient] enter HttpClient.executeMethod(HostConfiguration,HttpMethod)
DEBUG [org.apache.commons.httpclient.HttpClient] enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.getConnectionWithTimeout(HostConfiguration,
long)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] HttpConnectionManager.getConnection:
 config = HostConfiguration[host=https://destination.host, proxyHost=http://10.211.1.35:4711],
timeout = 0
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] Getting free connection,
hostConfig=HostConfiguration[host=https://destination.host, proxyHost=http://10.211.1.35:4711]
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Attempt number 1 to process request
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.execute(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequest(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequestLine(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.generateRequestLine(HttpConnection,
String, String, String, String)
DEBUG [httpclient.wire.header] >> "GET https://destination.host/registration HTTP/1.1[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addRequestHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addUserAgentRequestHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addHostRequestHeader(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] Adding Host request header
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addCookieRequestHeader(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpState] enter HttpState.getCookies()
DEBUG [org.apache.commons.httpclient.cookie.CookieSpec] enter CookieSpecBase.match(String,
int, String, boolean, Cookie[])
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addProxyConnectionHeader(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] HttpMethodBase.addRequestHeader(Header)
DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "Host: destination.host[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "Proxy-Connection: Keep-Alive[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.writeLine()
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.flushRequestOutputStream()
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponse(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.readLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [httpclient.wire.header] << "HTTP/1.0 407 Proxy Authentication Required[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.getResponseInputStream()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HeaderParser.parseHeaders(InputStream,
String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [httpclient.wire.header] << "Server: squid/2.5.STABLE3[\r][\n]"
DEBUG [httpclient.wire.header] << "Mime-Version: 1.0[\r][\n]"
DEBUG [httpclient.wire.header] << "Date: Wed, 01 Mar 2006 17:12:28 GMT[\r][\n]"
DEBUG [httpclient.wire.header] << "Content-Type: text/html[\r][\n]"
DEBUG [httpclient.wire.header] << "Content-Length: 1385[\r][\n]"
DEBUG [httpclient.wire.header] << "Expires: Wed, 01 Mar 2006 17:12:28 GMT[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0[\r][\n]"
DEBUG [httpclient.wire.header] << "Proxy-Authenticate: Basic realm="Squid proxy-caching
web server"[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Cache: MISS from testproxy[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Cache-Lookup: NONE from testproxy:4711[\r][\n]"
DEBUG [httpclient.wire.header] << "Proxy-Connection: keep-alive[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.processResponseHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseBody(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseBody(HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.getResponseInputStream()
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.canResponseHaveBody(int)
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Authorization required
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] enter HttpMethodBase.processAuthenticationResponse(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Supported authentication
schemes in the order of preference: [ntlm, digest, basic]
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Challenge for ntlm authentication
scheme not available
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Challenge for digest authentication
scheme not available
 INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor] basic authentication scheme
selected
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Using authentication scheme:
basic
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Authorization challenge
processed
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Proxy authentication scope: BASIC
'Squid proxy-caching web server'@10.211.1.35:4711
DEBUG [org.apache.commons.httpclient.HttpState] enter HttpState.getProxyCredentials(AuthScope)
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Retry authentication
DEBUG [httpclient.wire.content] << "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[\n]"
DEBUG [httpclient.wire.content] << "<HTML><HEAD><META HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1">[\n]"
DEBUG [httpclient.wire.content] << "<TITLE>ERROR: Cache Access Denied</TITLE>[\n]"
DEBUG [httpclient.wire.content] << "<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>[\n]"
DEBUG [httpclient.wire.content] << "</HEAD>[\n]"
DEBUG [httpclient.wire.content] << "<BODY>[\n]"
DEBUG [httpclient.wire.content] << "<H1>ERROR</H1>[\n]"
DEBUG [httpclient.wire.content] << "<H2>Cache Access Denied</H2>[\n]"
DEBUG [httpclient.wire.content] << "<HR noshade size="1px">[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "While trying to retrieve the URL:[\n]"
DEBUG [httpclient.wire.content] << "<A HREF="https://destination.host/registration">https://destination.host/registration</A>[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "The following error was encountered:[\n]"
DEBUG [httpclient.wire.content] << "<UL>[\n]"
DEBUG [httpclient.wire.content] << "<LI>[\n]"
DEBUG [httpclient.wire.content] << "<STRONG>[\n]"
DEBUG [httpclient.wire.content] << "Cache Access Denied.[\n]"
DEBUG [httpclient.wire.content] << "</STRONG>[\n]"
DEBUG [httpclient.wire.content] << "</UL>[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<P>Sorry, you are not currently allowed to
request:[\n]"
DEBUG [httpclient.wire.content] << "<PRE>    https://destination.host/registration</PRE>[\n]"
DEBUG [httpclient.wire.content] << "from this cache until you have authenticated yourself.[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "You need to use Netscape version 2.0 or greater,
or Microsoft Internet[\n]"
DEBUG [httpclient.wire.content] << "Explorer 3.0, or an HTTP/1.1 compliant browser for
this to work.  Please[\n]"
DEBUG [httpclient.wire.content] << "contact t"
DEBUG [httpclient.wire.content] << "he <A HREF="mailto:webmaster">cache administrator</a>
if you have[\n]"
DEBUG [httpclient.wire.content] << "difficulties authenticating yourself or [\n]"
DEBUG [httpclient.wire.content] << "<A HREF="http://testproxy/cgi-bin/chpasswd.cgi">change</a>
your default password.[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<BR clear="all">[\n]"
DEBUG [httpclient.wire.content] << "<HR noshade size="1px">[\n]"
DEBUG [httpclient.wire.content] << "<ADDRESS>[\n]"
DEBUG [httpclient.wire.content] << "Generated Wed, 01 Mar 2006 17:12:28 GMT by testproxy
(squid/2.5.STABLE3)[\n]"
DEBUG [httpclient.wire.content] << "</ADDRESS>[\n]"
DEBUG [httpclient.wire.content] << "</BODY></HTML>[\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] Should NOT close connection in response
to directive: keep-alive
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.isResponseAvailable()
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Attempt number 1 to process request
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.execute(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequest(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequestLine(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.generateRequestLine(HttpConnection,
String, String, String, String)
DEBUG [httpclient.wire.header] >> "GET https://destination.host/registration HTTP/1.0[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addRequestHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addUserAgentRequestHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addHostRequestHeader(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] Adding Host request header
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addCookieRequestHeader(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpState] enter HttpState.getCookies()
DEBUG [org.apache.commons.httpclient.cookie.CookieSpec] enter CookieSpecBase.match(String,
int, String, boolean, Cookie[])
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.addProxyConnectionHeader(HttpState,
HttpConnection)
DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "Proxy-Connection: Keep-Alive[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "Host: destination.host[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.print(String)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.writeLine()
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[])
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.write(byte[], int,
int)
DEBUG [httpclient.wire.header] >> "[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.flushRequestOutputStream()
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponse(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.readLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [httpclient.wire.header] << "HTTP/1.0 407 Proxy Authentication Required[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.getResponseInputStream()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HeaderParser.parseHeaders(InputStream,
String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readLine(InputStream, String)
DEBUG [org.apache.commons.httpclient.HttpParser] enter HttpParser.readRawLine()
DEBUG [httpclient.wire.header] << "Server: squid/2.5.STABLE3[\r][\n]"
DEBUG [httpclient.wire.header] << "Mime-Version: 1.0[\r][\n]"
DEBUG [httpclient.wire.header] << "Date: Wed, 01 Mar 2006 17:12:28 GMT[\r][\n]"
DEBUG [httpclient.wire.header] << "Content-Type: text/html[\r][\n]"
DEBUG [httpclient.wire.header] << "Content-Length: 1385[\r][\n]"
DEBUG [httpclient.wire.header] << "Expires: Wed, 01 Mar 2006 17:12:28 GMT[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0[\r][\n]"
DEBUG [httpclient.wire.header] << "Proxy-Authenticate: Basic realm="Squid proxy-caching
web server"[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Cache: MISS from testproxy[\r][\n]"
DEBUG [httpclient.wire.header] << "X-Cache-Lookup: NONE from testproxy:4711[\r][\n]"
DEBUG [httpclient.wire.header] << "Proxy-Connection: keep-alive[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.processResponseHeaders(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseBody(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.readResponseBody(HttpConnection)
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.getResponseInputStream()
DEBUG [org.apache.commons.httpclient.HttpMethodBase] enter HttpMethodBase.canResponseHaveBody(int)
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Authorization required
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] enter HttpMethodBase.processAuthenticationResponse(HttpState,
HttpConnection)
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Using authentication scheme:
basic
DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor] Authorization challenge
processed
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Proxy authentication scope: BASIC
'Squid proxy-caching web server'@10.211.1.35:4711
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Proxy credentials required
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Proxy credentials provider not available
 INFO [org.apache.commons.httpclient.HttpMethodDirector] Failure authenticating with BASIC
'Squid proxy-caching web server'@10.211.1.35:4711
DEBUG [httpclient.wire.content] << "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[\n]"
DEBUG [httpclient.wire.content] << "<HTML><HEAD><META HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1">[\n]"
DEBUG [httpclient.wire.content] << "<TITLE>ERROR: Cache Access Denied</TITLE>[\n]"
DEBUG [httpclient.wire.content] << "<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>[\n]"
DEBUG [httpclient.wire.content] << "</HEAD>[\n]"
DEBUG [httpclient.wire.content] << "<BODY>[\n]"
DEBUG [httpclient.wire.content] << "<H1>ERROR</H1>[\n]"
DEBUG [httpclient.wire.content] << "<H2>Cache Access Denied</H2>[\n]"
DEBUG [httpclient.wire.content] << "<HR noshade size="1px">[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "While trying to retrieve the URL:[\n]"
DEBUG [httpclient.wire.content] << "<A HREF="https://destination.host/registration">https://destination.host/registration</A>[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "The following error was encountered:[\n]"
DEBUG [httpclient.wire.content] << "<UL>[\n]"
DEBUG [httpclient.wire.content] << "<LI>[\n]"
DEBUG [httpclient.wire.content] << "<STRONG>[\n]"
DEBUG [httpclient.wire.content] << "Cache Access Denied.[\n]"
DEBUG [httpclient.wire.content] << "</STRONG>[\n]"
DEBUG [httpclient.wire.content] << "</UL>[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<P>Sorry, you are not currently allowed to
request:[\n]"
DEBUG [httpclient.wire.content] << "<PRE>    https://destination.host/registration</PRE>[\n]"
DEBUG [httpclient.wire.content] << "from this cache until you have authenticated yourself.[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<P>[\n]"
DEBUG [httpclient.wire.content] << "You need to use Netscape version 2.0 or greater,
or Microsoft Internet[\n]"
DEBUG [httpclient.wire.content] << "Explorer 3.0, or an HTTP/1.1 compliant browser for
this to work.  Please[\n]"
DEBUG [httpclient.wire.content] << "contact t"
DEBUG [httpclient.wire.content] << "he <A HREF="mailto:webmaster">cache administrator</a>
if you have[\n]"
DEBUG [httpclient.wire.content] << "difficulties authenticating yourself or [\n]"
DEBUG [httpclient.wire.content] << "<A HREF="http://testproxy/cgi-bin/chpasswd.cgi">change</a>
your default password.[\n]"
DEBUG [httpclient.wire.content] << "</P>[\n]"
DEBUG [httpclient.wire.content] << "[\n]"
DEBUG [httpclient.wire.content] << "<BR clear="all">[\n]"
DEBUG [httpclient.wire.content] << "<HR noshade size="1px">[\n]"
DEBUG [httpclient.wire.content] << "<ADDRESS>[\n]"
DEBUG [httpclient.wire.content] << "Generated Wed, 01 Mar 2006 17:12:28 GMT by testproxy
(squid/2.5.STABLE3)[\n]"
DEBUG [httpclient.wire.content] << "</ADDRESS>[\n]"
DEBUG [httpclient.wire.content] << "</BODY></HTML>[\n]"
DEBUG [org.apache.commons.httpclient.HttpMethodBase] Should NOT close connection in response
to directive: keep-alive
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.isResponseAvailable()
DEBUG [org.apache.commons.httpclient.HttpConnection] enter HttpConnection.releaseConnection()
DEBUG [org.apache.commons.httpclient.HttpConnection] Releasing connection back to connection
manager.
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.releaseConnection(HttpConnection)
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] Freeing connection,
hostConfig=HostConfiguration[host=https://destination.host, proxyHost=http://10.211.1.35:4711]
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration)
DEBUG [org.apache.commons.httpclient.util.IdleConnectionHandler] Adding connection at: 1141211744055
DEBUG [org.apache.commons.httpclient.MultiThreadedHttpConnectionManager] Notifying no-one,
there are no waiting threads
DEBUG [testo.http.ConnectWithProxyAuthTest] Answer: HTTP/1.0 407 Proxy Authentication Required


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message