hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject RE: SSL Error : HTTP/1.1 401 Unauthorized
Date Sun, 12 Dec 2004 19:33:18 GMT
Velayuthasamy,

The site you are trying to authenticate with supports NTLM
authentication scheme only

<< "HTTP/1.1 401 Unauthorized[\r][\n]"
<< "Content-Length: 1656[\r][\n]"
<< "Content-Type: text/html[\r][\n]"
<< "Server: Microsoft-IIS/6.0[\r][\n]"
<< "WWW-Authenticate: Negotiate[\r][\n]"
<< "WWW-Authenticate: NTLM[\r][\n]"
<< "MicrosoftOfficeWebServer: 5.0_Pub[\r][\n]"
<< "X-Powered-By: ASP.NET[\r][\n]"
<< "Date: Fri, 10 Dec 2004 14:26:08 GMT[\r][\n]"

The NTLM authentication scheme requires NT specific type of credentials
that include a host name and a domain name in addition to a user name
and a password. Please see the HttpClient authentication guide for
details:

http://jakarta.apache.org/commons/httpclient/authentication.html#NTLM

Hope this helps

Oleg

On Fri, 2004-12-10 at 14:30 -0600, Velayuthasamy Paravasthuramesh wrote:
> Gustavo Thanks for your help.
> 
> The User ID/Password is correct and if I use the same user id, password it works in IE
browser.  Below is my test code.
> 
> Any help is greatly appreciated
> 
> Thanks
> Ramesh
> 
> 
> 	private  void execute(){
> 		
> 		try {
> 			System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "debug");
> 			System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog");
> 			System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true");
> 			System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire.header",
"debug");
> 			System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
"debug");
> 			
> 			boolean trustStoreExists = false;
> 			//System.setProperty("javax.net.debug", "true");
> 			System.setProperty(
> 				"java.protocol.handler.pkgs",
> 				"com.ibm.net.ssl.internal.www.protocol");
> 
> 			java.security.Provider prov = new com.ibm.jsse.IBMJSSEProvider();
> 			Security.addProvider(prov); //create the connection              
> 			System.setProperty("javax.net.ssl.keyStorePassword","*****");
> 			String sslTrustStore = "C:\\temp\\key\\mo\\cacerts";			
> 			File f = null;
> 			try {
> 				f = new File(sslTrustStore);
> 				trustStoreExists = f.exists();
> 			} catch (Exception e) {
> 				System.out.println(
> 					"SSL trust store not found at " + sslTrustStore);
> 			}
> 
> 			if (trustStoreExists) {
> 				System.setProperty("javax.net.ssl.trustStore", sslTrustStore);
> 				System.setProperty(
> 					"javax.net.ssl.trustStorePassword",
> 					"changeit");
> 				System.out.println("SSL trust store exist at");
> 				System.out.println(
> 					System.getProperty("javax.net.ssl.trustStore"));
> 			}
> 			else {
> 				System.out.println(
> 					"SSL trust store not found at " + sslTrustStore);
> 			}
> 
> 			System.getProperties().put(
> 				"https.proxyHost", "*****************"); 
> 			System.getProperties().put(
> 				"https.proxyPort",	"**");
> 
> 
> 			System.out.println("trust store name");
> 			System.out.println(System.getProperty("javax.net.ssl.trustStore"));
> 		
> 			HttpClient httpclient = new HttpClient();
> 			httpclient.getHostConfiguration().setProxy("proxy.dx.deere.com", 80);
> 			httpclient.getState().setProxyCredentials(null , null,	new UsernamePasswordCredentials("*****",
"******"));
> 			
> 			//httpclient.getState().setCredentials(null, "secure.oasolutions.com",  new UsernamePasswordCredentials("******",
"******"));
> 			GetMethod httpget = new GetMethod("https://secure.oasolutions.com/kbb2b/server.asp");
> 			
> 			httpget.setRequestHeader("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.1; .NET CLR 1.0.3705)");			
> 			httpget.setDoAuthentication( true );			
> 			httpclient.executeMethod(httpget);
> 			System.out.println(httpget.getStatusLine().toString());
> 
> 		} 
> 		catch (Throwable t) {
> 			t.printStackTrace();
> 			System.out.println(t.getMessage());
> 		}
> 				
> 	}
> 
> 
> -----Original Message-----
> From: Gustavo Hexsel [mailto:ghexsel@sagebrushcorp.com]
> Sent: Friday, December 10, 2004 2:13 PM
> To: 'HttpClient User Discussion'
> Subject: RE: SSL Error : HTTP/1.1 401 Unauthorized
> 
> 
>   Hi Ramesh,
> 
>   from the messages I'd say you're sending the wrong username/password.
> Might be a problem with encoding (or lack thereof).  Is this a POST or GET?
> 
>   []s Gustavo
> 
> 
> -----Original Message-----
> From: Velayuthasamy Paravasthuramesh
> [mailto:VelayuthasamyParavasthuram@JohnDeere.com]
> Sent: December 10, 2004 1:10 PM
> To: HttpClient User Discussion
> Subject: SSL Error : HTTP/1.1 401 Unauthorized
> 
> 
> When I try to connect to a SSL site, I'm getting the HTTP/1.1 401
> Unauthorized.  If I use IE browser or VB client, it works for the same user
> id / password   / URL but the same not working using HttpClient. Below is
> the log from HttpClient. Any help is greatly appreciated in resolving this
> error.
> 
> Thanks
> Ramesh
>  
> 
> 2004/12/10 08:26:03:009 CST [DEBUG] HttpClient - -Java version: 1.4.1
> 2004/12/10 08:26:03:019 CST [DEBUG] HttpClient - -Java vendor: IBM
> Corporation
> 2004/12/10 08:26:03:019 CST [DEBUG] HttpClient - -Java class path:
> C:\Program Files\IBM\WebSphere Studio\Application
> Developer\v5.1.1\runtimes\base_v5\java\jre\lib\rt.jar;C:\WSADV5\WorkSpaces\U
> CCMO\UCCMOTest\Web Content\WEB-INF\classes;C:\Program Files\IBM\WebSphere
> Studio\Application Developer\v5.1.1\runtimes\base_v5\lib\j2ee.jar;C:\Program
> Files\IBM\WebSphere Studio\Application
> Developer\v5.1.1\runtimes\base_v5\lib\servletevent.jar;C:\Program
> Files\IBM\WebSphere Studio\Application
> Developer\v5.1.1\runtimes\base_v5\lib\ivjejb35.jar;C:\Program
> Files\IBM\WebSphere Studio\Application
> Developer\v5.1.1\runtimes\base_v5\lib\runtime.jar;C:\WSADV5\WorkSpaces\UCCMO
> \UCCMOTest\Web
> Content\WEB-INF\lib\IafConfigFramework.jar;C:\WSADV5\WorkSpaces\UCCMO\UCCMOT
> est\Web
> Content\WEB-INF\lib\IafLogFramework.jar;C:\WSADV5\WorkSpaces\UCCMO\UCCMOTest
> \Web
> Content\WEB-INF\lib\IafLogViewer.jar;C:\WSADV5\WorkSpaces\UCCMO\UCCMOTest\We
> b
> Content\WEB-INF\lib\IafUtility.jar;C:\WSADV5\WorkSpaces\UCCMO\UCCMOTest\Web
> Content\WEB-INF\lib\JDCReusable.jar;C:\WSADV5\WorkSpaces\UCCMO\UCCMOTest\Web
> Content\WEB-INF\lib\JdcUtility.jar;C:\Program Files\IBM\WebSphere
> Studio\runtimes\base_v5\java\jre\lib\ext\ibmjsse.jar;C:\WSADV5\WorkSpaces\UC
> CMO\UCCMOTest\Web
> Content\WEB-INF\lib\commons-httpclient-2.0.2.jar;C:\WSADV5\WorkSpaces\UCCMO\
> UCCMOTest\Web
> Content\WEB-INF\lib\commons-logging.jar;C:\WSADV5\WorkSpaces\UCCMO\UCCMOTest
> \Web Content\WEB-INF\lib\commons-logging-api.jar
> 2004/12/10 08:26:03:019 CST [DEBUG] HttpClient - -Operating system name:
> Windows XP
> 2004/12/10 08:26:03:019 CST [DEBUG] HttpClient - -Operating system
> architecture: x86
> 2004/12/10 08:26:03:019 CST [DEBUG] HttpClient - -Operating system version:
> 5.1
> 2004/12/10 08:26:03:460 CST [DEBUG] HttpClient - -IBMJCE 1.2: IBMJCE
> Provider implements the following: HMAC-SHA1, MD2, MD5, MARS, SHA,
> MD2withRSA, MD5withRSA, SHA1withRSA, RSA, SHA1withDSA, RC2, RC4,
> Seal)implements the following:
> Signature algorithms               : SHA1withDSA, SHA1withRSA, MD5withRSA,
> MD2withRSA 
> Cipher algorithms                  : Blowfish, AES, DES, TripleDES,
> PBEWithMD2AndDES, 
>                                        PBEWithMD2AndTripleDES,
> PBEWithMD2AndRC2, 
>                                        PBEWithMD5AndDES,
> PBEWithMD5AndTripleDES, 
>                                        PBEWithMD5AndRC2, PBEWithSHA1AndDES 
>                                        PBEWithSHA1AndTripleDES,
> PBEWithSHA1AndRC2 
>                                        PBEWithSHAAnd40BitRC2,
> PBEWithSHAAnd128BitRC2 
>                                        PBEWithSHAAnd40BitRC4,
> PBEWithSHAAnd128BitRC4 
>                                        PBEWithSHAAnd2KeyTripleDES,
> PBEWithSHAAnd3KeyTripleDES 
>                                        Mars, RC2, RC4, 
>                                        RSA, Seal
> Message authentication code (MAC)  : HmacSHA1, HmacMD2, HmacMD5
> Key agreement algorithm            : DiffieHellman
> Key (pair) generator               : Blowfish, DiffieHellman, DSA, AES, DES,
> TripleDES, HmacMD5,
>                                        HmacSHA1, Mars, RC2, RC4, RSA, Seal
> Message digest                     : MD2, MD5, SHA-1
> Algorithm parameter generator      : DiffieHellman, DSA
> Algorithm parameter                : Blowfish, DiffieHellman, AES, DES,
> TripleDES, DSA, Mars,
>                                        PBEwithMD5AndDES, RC2
> Key factory                        : DiffieHellman, DSA, RSA
> Secret key factory                 : Blowfish, AES, DES, TripleDES, Mars,
> RC2, RC4, Seal
>                                        PKCS5Key, PBKDF1 and
> PBKDF2(PKCS5Derived Key).
> Certificate                        : X.509
> Secure random                      : IBMSecureRandom
> Key store                          : JCEKS, PKCS12KS (PKCS12), JKS
> 
> 2004/12/10 08:26:03:460 CST [DEBUG] HttpClient - -IBMJSSE 1.41: IBM JSSE
> provider
> 2004/12/10 08:26:03:460 CST [DEBUG] HttpClient - -IBMJGSSProvider 1.01:
> IBMJGSSProvider supports Kerberos V5 Mechanism
> 2004/12/10 08:26:03:460 CST [DEBUG] HttpClient - -IBMCertPath 1.0:
> IBMCertPath Provider implements the following:
> CertificateFactory                : X.509
> CertPathValidator              : PKIX
> CertStore                      : Collection, LDAP
> CertPathBuilder                : PKIX
> 
> 2004/12/10 08:26:03:470 CST [DEBUG] HttpClient - -IBMPKCS11 1.2: IBMPKCS11
> Provider implements the following: MD2withRSA, MD5withRSA, SHA1withRSA, RSA,
> SHA1withDSA)implements the following:
> Signature algorithms               : SHA1withDSA, SHA1withRSA, MD5withRSA,
> MD2withRSA 
> Key (pair) generator               : DSA, RSA
> Algorithm parameter generator      : DSA
> Algorithm parameter                : DSA
> Certificate                        : X.509
> Secure random                      : IBMSecureRandom
> Key store                          : PKCS11 (PKCS11KS)
> 
> 2004/12/10 08:26:03:790 CST [DEBUG] HttpConnection -
> -HttpConnection.setSoTimeout(0)
> 2004/12/10 08:26:03:790 CST [DEBUG] HttpMethodBase - -Execute loop try 1
> 2004/12/10 08:26:03:810 CST [DEBUG] header - ->> "CONNECT
> secure.oasolutions.com:443 HTTP/1.1"
> 2004/12/10 08:26:03:810 CST [DEBUG] HttpMethodBase - -Adding Host request
> header
> 2004/12/10 08:26:03:810 CST [DEBUG] header - ->> "User-Agent: Jakarta
> Commons-HttpClient/2.0.2[\r][\n]"
> 2004/12/10 08:26:03:810 CST [DEBUG] header - ->> "Host:
> secure.oasolutions.com[\r][\n]"
> 2004/12/10 08:26:03:810 CST [DEBUG] header - ->> "Proxy-Connection:
> Keep-Alive[\r][\n]"
> 2004/12/10 08:26:03:810 CST [DEBUG] header - ->> "[\r][\n]"
> 2004/12/10 08:26:03:830 CST [DEBUG] header - -<< "HTTP/1.1 407 Proxy
> Authorization Required[\r][\n]"
> 2004/12/10 08:26:03:830 CST [DEBUG] header - -<< "Set-Cookie:
> BCSI-CSC02B41BE=2; Path=/[\r][\n]"
> 2004/12/10 08:26:03:830 CST [DEBUG] header - -<< "Proxy-Authenticate: BASIC
> realm="Enter Host RACF credentials:"[\r][\n]"
> 2004/12/10 08:26:03:840 CST [DEBUG] header - -<< "Cache-Control:
> no-cache[\r][\n]"
> 2004/12/10 08:26:03:840 CST [DEBUG] header - -<< "Pragma: no-cache[\r][\n]"
> 2004/12/10 08:26:03:840 CST [DEBUG] header - -<< "Content-Length:
> 3224[\r][\n]"
> 2004/12/10 08:26:03:840 CST [DEBUG] header - -<< "Content-Type:
> text/html[\r][\n]"
> 2004/12/10 08:26:03:840 CST [DEBUG] header - -<< "Connection: close[\r][\n]"
> 2004/12/10 08:26:04:011 CST [DEBUG] HttpMethodBase - -Cookie accepted:
> "$Version=0; BCSI-CSC02B41BE=2; $Path=/"
> 2004/12/10 08:26:04:021 CST [DEBUG] HttpMethodBase - -Authorization required
> 2004/12/10 08:26:04:051 CST [DEBUG] HttpAuthenticator - -Authenticating with
> the 'Enter Host RACF credentials:' authentication realm at
> proxy.dx.deere.com
> 2004/12/10 08:26:04:061 CST [DEBUG] HttpMethodBase -
> -HttpMethodBase.execute(): Server demanded authentication credentials, will
> try again.
> 2004/12/10 08:26:04:061 CST [DEBUG] content - -<< "<DIV class=Section1>
> [\n]"
> 2004/12/10 08:26:04:061 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal [\n]"
> 2004/12/10 08:26:04:061 CST [DEBUG] content - -<<
> "[0x9][0x9]style="mso-list: none; mso-list-ins: ''
> 19991102T2025">&nbsp;[\n]"
> 2004/12/10 08:26:04:061 CST [DEBUG] content - -<< "[0x9][0x9]</P>[\n]"
> 2004/12/10 08:26:04:061 CST [DEBUG] content - -<< "[0x9]    [0x9]<TABLE
> border=1 cellPadding=0 [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<<
> "[0x9][0x9]style="BORDER-BOTTOM: 4.5pt outset; BORDER-LEFT: 4.5pt outset;
> BORDER-RIGHT:[\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "[0x9][0x9]4.5pt outset;
> BORDER-TOP: 4.5pt outset; WIDTH: 100%; mso-cellspacing: 1.5pt" [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<<
> "[0x9][0x9]width="100%">[\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "[0x9][0x9]<TBODY> [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "   [0x9][0x9]<TR> [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "   [0x9][0x9]<TD[0x9]
> [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="22%" valign="top"> [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal><B>Problem Report</B></P>[\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "   [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "   [0x9][0x9]<TD [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="78%" valign="top"> [\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal>The Web proxy was not able to authenticate you through[\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "                the
> authentication server because:&#32&#32<b>General authentication failure
due
> to bad user ID or authentication token.</b>[\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "                You will
> not be able to browse the Web through this proxy until your[\n]"
> 2004/12/10 08:26:04:071 CST [DEBUG] content - -<< "
> credentials can be re"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "trieved and
> verified.</P>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "   [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "   [0x9][0x9]</TR>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "   [0x9][0x9]<tr> [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "   [0x9][0x9]<td [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="22%" valign="top"> [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "[0x9][0x9]<p
> class=MsoNormal><b>Message ID</b></p>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "    [0x9][0x9]</td>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "    [0x9][0x9]<td[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="22%" valign="top"> [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "[0x9][0x9]<p
> class=MsoNormal>PROXY_AUTH_FAIL_OTHER [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "[0x9][0x9]<p></p>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "    [0x9][0x9]</td>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "    [0x9][0x9]</tr>[\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "    [0x9][0x9]<TR> [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "    [0x9][0x9]<TD [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:081 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="22%" valign="top"> [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal><B>Problem Description</B></P>[\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]<TD [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="78%" valign="top"> [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal>The user verification was not successful.</P>[\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]</TR>[\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]<TR> [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]<TD [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "[0x9][0x9]ADD"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "ING-TOP: 0.75pt"
> width="22%" valign="top"> [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal><B>Problem Cause</B></P>[\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "    [0x9][0x9]<TD [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:091 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="78%" valign="top"> [\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal>This might be due to transient network problems or due to
> the[\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "                user's
> not being authorized to use this Web proxy.</P>[\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "   [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "   [0x9][0x9]</TR>[\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "   [0x9][0x9]<TR> [\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "   [0x9][0x9]<TD [\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="22%" valign="top"> [\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "[0x9][0x9]<P
> class=MsoNormal><B>Possible Solution</B></P>[\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "   [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "   [0x9][0x9]<TD [\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<<
> "[0x9][0x9]style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt;
> PADDING-RIGHT: 0.75pt; [\n]"
> 2004/12/10 08:26:04:101 CST [DEBUG] content - -<< "[0x9][0x9]PADDING-TOP:
> 0.75pt" width="78%" valign="top"> [\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "[0x9][0x9]            <P
> class=MsoNormal>Contact your network support team [\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "
> if this problem persists, and provide the team your [\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "
> account information.</P>[\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "   [0x9][0x9]</TD>[\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "   [0x9][0x9]</TR>[\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "   [0x9][0x9]</TBODY>
> [\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "   [0x9][0x9]</TABLE>"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "[\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "
> <p>&nbsp;</p>[\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] content - -<< "<hr><font
> size=2><pre>Fri, 10 Dec 2004 08:25:50 Client:164.121.242.65 Jakarta
> Commons-HttpClient/2.0.2 Proxy:proxy5</pre></font>[\n]"
> 2004/12/10 08:26:04:111 CST [DEBUG] HttpMethodBase - -Should close
> connection in response to Connection: close
> 
> 2004/12/10 08:26:04:121 CST [DEBUG] HttpMethodBase - -Execute loop try 2
> 2004/12/10 08:26:04:121 CST [DEBUG] HttpMethodBase - -Opening the
> connection.
> 2004/12/10 08:26:04:121 CST [DEBUG] header - ->> "CONNECT
> secure.oasolutions.com:443 HTTP/1.1"
> 2004/12/10 08:26:04:131 CST [DEBUG] HttpMethodBase - -Request to add Host
> header ignored: header already added
> 2004/12/10 08:26:04:131 CST [DEBUG] header - ->> "User-Agent: Jakarta
> Commons-HttpClient/2.0.2[\r][\n]"
> 2004/12/10 08:26:04:131 CST [DEBUG] header - ->> "Host:
> secure.oasolutions.com[\r][\n]"
> 2004/12/10 08:26:04:131 CST [DEBUG] header - ->> "Proxy-Authorization: Basic
> YTc5dWNjYzp1Y2M3OTA5[\r][\n]"
> 2004/12/10 08:26:04:131 CST [DEBUG] header - ->> "Proxy-Connection:
> Keep-Alive[\r][\n]"
> 2004/12/10 08:26:04:131 CST [DEBUG] header - ->> "[\r][\n]"
> 2004/12/10 08:26:04:241 CST [DEBUG] header - -<< "HTTP/1.1 200 Connection
> established[\r][\n]"
> 2004/12/10 08:26:04:241 CST [DEBUG] header - -<< "Proxy-agent:
> BlueCoat-Security-Appliance[\r][\n]"
> 2004/12/10 08:26:04:241 CST [INFO] HttpMethodBase - -Response content length
> is not known
> 2004/12/10 08:26:04:241 CST [DEBUG] HttpMethodBase - -Force-close
> connection: true
> 2004/12/10 08:26:04:241 CST [DEBUG] ConnectMethod - -CONNECT status code 200
> 2004/12/10 08:26:06:434 CST [DEBUG] HttpConnection - -Secure tunnel created
> 2004/12/10 08:26:06:434 CST [DEBUG] HttpMethodBase - -Execute loop try 1
> 2004/12/10 08:26:06:434 CST [DEBUG] header - ->> "GET /kbb2b/server.asp
> HTTP/1.1[\r][\n]"
> 2004/12/10 08:26:06:434 CST [DEBUG] HttpMethodBase - -Adding Host request
> header
> 2004/12/10 08:26:06:434 CST [DEBUG] header - ->> "Authorization: Basic
> ******************************[\r][\n]"
> 2004/12/10 08:26:06:434 CST [DEBUG] header - ->> "user-agent: Mozilla/4.0
> (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)[\r][\n]"
> 2004/12/10 08:26:06:434 CST [DEBUG] header - ->> "Host:
> secure.oasolutions.com[\r][\n]"
> 2004/12/10 08:26:06:434 CST [DEBUG] header - ->> "Cookie: $Version=0;
> BCSI-CSC02B41BE=2; $Path=/[\r][\n]"
> 2004/12/10 08:26:06:645 CST [DEBUG] header - ->> "[\r][\n]"
> 2004/12/10 08:26:06:715 CST [DEBUG] header - -<< "HTTP/1.1 401
> Unauthorized[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "Content-Length:
> 1656[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "Content-Type:
> text/html[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "Server:
> Microsoft-IIS/6.0[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "WWW-Authenticate:
> Negotiate[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "WWW-Authenticate:
> NTLM[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "MicrosoftOfficeWebServer:
> 5.0_Pub[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "X-Powered-By:
> ASP.NET[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] header - -<< "Date: Fri, 10 Dec 2004
> 14:26:08 GMT[\r][\n]"
> 2004/12/10 08:26:06:725 CST [DEBUG] HttpMethodBase - -Authorization required
> 2004/12/10 08:26:06:735 CST [DEBUG] HttpAuthenticator - -Authenticating with
> the default authentication realm at secure.oasolutions.com
> HTTP/1.1 401 Unauthorized
> 2004/12/10 08:26:06:735 CST [WARN] HttpMethodBase - -No credentials
> available for the 'null' authentication realm at secure.oasolutions.com
> 465768 micro seconds to Initialize the JVM
> Entry point Java class: 'com.deere.jdc.httpclient.HttpsClient'
> Number of arguments   : 0
> ---- Argument list ----
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
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