You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2008/03/24 20:44:06 UTC

Re: httpclient proxy problem

On Thu, 2008-03-20 at 20:38 +0200, Mehmet Kuzu wrote:
> Hİ ,
> 
> I have a problem about  getting response behind proxy which requires
> authentication using apache httpclient .  Proxy server is squid and it
> uses ntlm protocol. I am new to httpclient 
> API and i may miss something.  
>  
> Thanks very much,
>  
> Best regards,
>  

Mehmet,

The code seems okay. The wirelog seems to indicate an authentication
failure due to invalid credentials. Please double-check values of the
username, password, domain and host.

Oleg


> My code is below:
>  
> *********************************************************************************************************************************************************************************
> public static void main(String args[]) {
>  
>   Provider prov = new BouncyCastleProvider();
>   Security.addProvider(prov);
>   
>      String url = "http://www.google.com"; 
>      HttpClient client = new HttpClient();
>      
>      client.getHostConfiguration().setProxy(proxyHost, proxyPort);
>      Credentials defaultcreds = new
> NTCredentials(userName,password,proxyhost,domain);
> 
> client.getState().setProxyCredentials(AuthScope.ANY,defaultcreds);
>            
>       
>      HttpMethod method = new GetMethod(url);
>      method.setDoAuthentication( true );
>        
>      int statusCode;
>   try {
>    statusCode = client.executeMethod( client.getHostConfiguration(),
> method,client.getState());
>     System.out.println("Stat=" +HttpStatus.getStatusText(statusCode));
>   } catch (HttpException e) {
>    // TODO Auto-generated catch block
>    e.printStackTrace();
>   } catch (IOException e) {
>    // TODO Auto-generated catch block
>    e.printStackTrace();
>   } 
>  }
>  
> 
> ***********************************************************************************************************************
> log is here 
>  
> 2008/03/20 20:34:52:921 EET [DEBUG] HttpClient - Java version:
> 1.5.0_03
> 
> 2008/03/20 20:34:52:921 EET [DEBUG] HttpClient - Java vendor: Sun
> Microsystems Inc.
> 
> 2008/03/20 20:34:52:921 EET [DEBUG] HttpClient - Java class path: C:
> \Documents and Settings\Owner\Desktop\setup\eclipse\workspace
> \Deneme;C:\Documents and Settings\Owner\Desktop\setup\eclipse
> \workspace\Deneme\xmlrpc-client-3.0.jar;C:\Documents and Settings
> \Owner\Desktop\setup\eclipse\workspace\Deneme\xmlrpc-common-3.0.jar;C:
> \Documents and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme
> \mail.jar;C:\Documents and Settings\Owner\Desktop\setup\eclipse
> \workspace\Deneme\hibernate3.jar;C:\Documents and Settings\Owner
> \Desktop\setup\eclipse\workspace\Deneme
> \mysql-connector-java-5.0.8-bin.jar;C:\Documents and Settings\Owner
> \Desktop\setup\eclipse\workspace\Deneme\xerces-2.6.2.jar;C:\Documents
> and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme
> \dom4j-1.6.1.jar;C:\Documents and Settings\Owner\Desktop\setup\eclipse
> \workspace\Deneme\commons-logging-1.0.4.jar;C:\Documents and Settings
> \Owner\Desktop\setup\eclipse\workspace\Deneme\lib
> \commons-collections-2.1.1.jar;C:\Documents and Settings\Owner\Desktop
> \setup\eclipse\workspace\Deneme\lib\asm.jar;C:\Documents and Settings
> \Owner\Desktop\setup\eclipse\workspace\Deneme\lib\asm-attrs.jar;C:
> \Documents and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme
> \lib\c3p0-0.9.1.jar;C:\Documents and Settings\Owner\Desktop\setup
> \eclipse\workspace\Deneme\lib\cglib-2.1.3.jar;C:\Documents and
> Settings\Owner\Desktop\setup\eclipse\workspace\Deneme\lib
> \checkstyle-all.jar;C:\Documents and Settings\Owner\Desktop\setup
> \eclipse\workspace\Deneme\lib\cleanimports.jar;C:\Documents and
> Settings\Owner\Desktop\setup\eclipse\workspace\Deneme\lib
> \concurrent-1.3.2.jar;C:\Documents and Settings\Owner\Desktop\setup
> \eclipse\workspace\Deneme\lib\connector.jar;C:\Documents and Settings
> \Owner\Desktop\setup\eclipse\workspace\Deneme\lib\ehcache-1.2.3.jar;C:
> \Documents and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme
> \lib\jaas.jar;C:\Documents and Settings\Owner\Desktop\setup\eclipse
> \workspace\Deneme\lib\jacc-1_0-fr.jar;C:\Documents and Settings\Owner
> \Desktop\setup\eclipse\workspace\Deneme\lib\javassist.jar;C:\Documents
> and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme\lib
> \jaxen-1.1-beta-7.jar;C:\Documents and Settings\Owner\Desktop\setup
> \eclipse\workspace\Deneme\lib\jdbc2_0-stdext.jar;C:\Documents and
> Settings\Owner\Desktop\setup\eclipse\workspace\Deneme\lib
> \jgroups-2.2.8.jar;C:\Documents and Settings\Owner\Desktop\setup
> \eclipse\workspace\Deneme\lib\jta.jar;C:\Documents and Settings\Owner
> \Desktop\setup\eclipse\workspace\Deneme\lib\oscache-2.1.jar;C:
> \Documents and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme
> \lib\proxool-0.8.3.jar;C:\Documents and Settings\Owner\Desktop\setup
> \eclipse\workspace\Deneme\lib\swarmcache-1.0rc2.jar;C:\Documents and
> Settings\Owner\Desktop\setup\eclipse\workspace\Deneme\lib
> \syndiag2.jar;C:\Documents and Settings\Owner\Desktop\setup\eclipse
> \workspace\Deneme\lib\versioncheck.jar;C:\Documents and Settings\Owner
> \Desktop\setup\eclipse\workspace\Deneme\ws-commons-util-1.0.1.jar;C:
> \Documents and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme
> \plugin.jar;C:\Documents and Settings\Owner\Desktop\setup\eclipse
> \workspace\Deneme\EImzaAPI2_cmb.jar;C:\Documents and Settings\Owner
> \Desktop\setup\eclipse\workspace\Deneme\commons-httpclient-3.1.jar;C:
> \Documents and Settings\Owner\Desktop\setup\eclipse\workspace\Deneme
> \commons-codec-1.3.jar;C:\Program Files\Java\jdk1.5.0_03\jre\lib\ext
> \sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_03\jre\lib\ext
> \sunpkcs11.jar;C:\Program Files\Java\jdk1.5.0_03\jre\lib\ext
> \dnsns.jar;C:\Program Files\Java\jdk1.5.0_03\jre\lib\ext
> \localedata.jar;C:\Documents and Settings\Owner\Desktop\setup\eclipse
> \workspace\Deneme\bcprov-jdk14-137.jar
> 
> 2008/03/20 20:34:52:953 EET [DEBUG] HttpClient - Operating system
> name: Windows XP
> 
> 2008/03/20 20:34:52:953 EET [DEBUG] HttpClient - Operating system
> architecture: x86
> 
> 2008/03/20 20:34:52:953 EET [DEBUG] HttpClient - Operating system
> version: 5.1
> 
> 2008/03/20 20:34:52:953 EET [DEBUG] HttpClient - SUN 1.5: SUN (DSA
> key/parameter generation; DSA signing; SHA-1, MD5 digests;
> SecureRandom; X.509 certificates; JKS keystore; PKIX
> CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores)
> 
> 2008/03/20 20:34:52:953 EET [DEBUG] HttpClient - SunRsaSign 1.5: Sun
> RSA signature provider
> 
> 2008/03/20 20:34:52:968 EET [DEBUG] HttpClient - SunJSSE 1.5: Sun JSSE
> provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
> 
> 2008/03/20 20:34:52:968 EET [DEBUG] HttpClient - SunJCE 1.5: SunJCE
> Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR,
> RC2, PBE, Diffie-Hellman, HMAC)
> 
> 2008/03/20 20:34:52:968 EET [DEBUG] HttpClient - SunJGSS 1.0: Sun
> (Kerberos v5)
> 
> 2008/03/20 20:34:52:968 EET [DEBUG] HttpClient - SunSASL 1.5: Sun SASL
> provider(implements client mechanisms for: DIGEST-MD5, GSSAPI,
> EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI,
> CRAM-MD5)
> 
> 2008/03/20 20:34:52:968 EET [DEBUG] HttpClient - BC 1.37: BouncyCastle
> Security Provider v1.37
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] DefaultHttpParams - Set parameter
> http.useragent = Jakarta Commons-HttpClient/3.1
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.version = HTTP/1.1
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] DefaultHttpParams - Set parameter
> http.connection-manager.class = class
> org.apache.commons.httpclient.SimpleHttpConnectionManager
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.cookie-policy = default
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.element-charset = US-ASCII
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.content-charset = ISO-8859-1
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] DefaultHttpParams - Set parameter
> http.method.retry-handler =
> org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@2a4983
> 
> 2008/03/20 20:34:52:984 EET [DEBUG] 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]
> 
> 2008/03/20 20:34:53:125 EET [DEBUG] HttpConnection - Open connection
> to 10.200.246.10:8080
> 
> 2008/03/20 20:35:12:656 EET [DEBUG] header - >> "GET
> http://www.google.com/ HTTP/1.1[\r][\n]"
> 
> 2008/03/20 20:35:12:656 EET [DEBUG] HttpMethodBase - Adding Host
> request header
> 
> 2008/03/20 20:35:12:703 EET [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.1[\r][\n]"
> 
> 2008/03/20 20:35:12:703 EET [DEBUG] header - >> "Host:
> www.google.com[\r][\n]"
> 
> 2008/03/20 20:35:12:703 EET [DEBUG] header - >> "Proxy-Connection:
> Keep-Alive[\r][\n]"
> 
> 2008/03/20 20:35:12:703 EET [DEBUG] header - >> "[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "HTTP/1.0 407 Proxy
> Authentication Required[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "HTTP/1.0 407 Proxy
> Authentication Required[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "Server:
> squid[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "Date: Thu, 20 Mar
> 2008 18:35:21 GMT[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "Content-Type:
> text/html[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "Content-Length:
> 1269[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "Expires: Thu, 20 Mar
> 2008 18:35:21 GMT[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "X-Squid-Error:
> ERR_CACHE_ACCESS_DENIED 0[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "Proxy-Authenticate:
> NTLM[\r][\n]"
> 
> 2008/03/20 20:35:12:718 EET [DEBUG] header - << "X-Cache: MISS from
> cache.proxy.local[\r][\n]"
> 
> 2008/03/20 20:35:12:734 EET [DEBUG] header - << "Via: 1.0
> cache.proxy.local:3030 (squid)[\r][\n]"
> 
> 2008/03/20 20:35:12:734 EET [DEBUG] header - << "Proxy-Connection:
> close[\r][\n]"
> 
> 2008/03/20 20:35:12:734 EET [DEBUG] header - << "[\r][\n]"
> 
> 2008/03/20 20:35:12:734 EET [DEBUG] HttpMethodDirector - Authorization
> required
> 
> 2008/03/20 20:35:12:750 EET [DEBUG] AuthChallengeProcessor - Supported
> authentication schemes in the order of preference: [ntlm, digest,
> basic]
> 
> 2008/03/20 20:35:12:750 EET [INFO] AuthChallengeProcessor - ntlm
> authentication scheme selected
> 
> 2008/03/20 20:35:12:750 EET [DEBUG] AuthChallengeProcessor - Using
> authentication scheme: ntlm
> 
> 2008/03/20 20:35:12:750 EET [DEBUG] AuthChallengeProcessor -
> Authorization challenge processed
> 
> 2008/03/20 20:35:12:750 EET [DEBUG] HttpMethodDirector - Proxy
> authentication scope: NTLM <any realm>@10.200.246.10:8080
> 
> 2008/03/20 20:35:12:750 EET [DEBUG] HttpMethodDirector - Retry
> authentication
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<!DOCTYPE HTML
> PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<HTML><HEAD>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<TITLE>HATA: Cache
> Sunucusu Kullanamazs[0xfd]n[0xfd]z</TITLE>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<META
> http-equiv="Content-Type" content="text/html;charset=iso-8859-9">[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<STYLE
> type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</HEAD>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<BODY>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<H1>HATA</H1>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<H2>Cache Sunucusunu
> Kullanamazs[0xfd]n[0xfd]z</H2>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<HR noshade
> size="1px">[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<P>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<A
> HREF="http://www.google.com/">http://www.google.com/</A>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<P>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "adresine
> ula[0xfe][0xfd]rken a[0xfe]a[0xf0][0xfd]daki hata olu[0xfe]tu:[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<UL>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<LI>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<STRONG>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "Cache Sunucusunu
> Kullanamazs[0xfd]n[0xfd]z.[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</STRONG>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</UL>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</P>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<P>[0xd6]z[0xfc]r
> dilerim, istedi[0xf0]iniz:[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<PRE>
> http://www.google.com/</PRE>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "adresine bu Cache
> Sunucusunu kullanarak ula[0xfe]amazs[0xfd]n[0xfd]z.[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</P>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<P>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "Netscape 2.0 veya
> [0xfc]st[0xfc], Microsoft Internet Exporer 3.0 veya [0xfc]st[0xfc],
> veya herhangi HTTP/1.1 uyumlu[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "taray[0xfd]c[0xfd]
> kulland[0xfd][0xf0][0xfd]n[0xfd]za emin olun. L[0xfc]tfen <A
> HREF="mailto:interneterisim@adalet.gov.tr">Cache Y[0xf6]neticisi</a>
> ile [\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "ba[0xf0]lant[0xfd]ya
> ge[0xe7]in, veya [0xfe]ifrenizi de[0xf0]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "i[0xfe]tirmek
> i[0xe7]in [\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<A
> HREF="http://cache.proxy.local/cgi-bin/chpasswd.cgi">buraya</a>
> t[0xfd]klay[0xfd]n. [\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</P>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<BR
> clear="all">[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<HR noshade
> size="1px">[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "<ADDRESS>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "Generated Thu, 20
> Mar 2008 18:35:21 GMT by cache.proxy.local (squid)[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</ADDRESS>[\n]"
> 
> 2008/03/20 20:35:12:765 EET [DEBUG] content - << "</BODY></HTML>[\n]"
> 
> 2008/03/20 20:35:12:781 EET [DEBUG] HttpMethodBase - Should close
> connection in response to directive: close
> 
> 2008/03/20 20:35:12:781 EET [DEBUG] HttpConnection - Connection is
> locked. Call to releaseConnection() ignored.
> 
> 2008/03/20 20:35:12:781 EET [DEBUG] HttpMethodDirector -
> Authenticating with NTLM <any realm>@10.200.246.10:8080
> 
> 2008/03/20 20:35:12:781 EET [DEBUG] HttpMethodParams - Credential
> charset not configured, using HTTP element charset
> 
> 2008/03/20 20:35:12:796 EET [DEBUG] HttpConnection - Open connection
> to 10.200.246.10:8080
> 
> 2008/03/20 20:35:32:296 EET [DEBUG] header - >> "GET
> http://www.google.com/ HTTP/1.0[\r][\n]"
> 
> 2008/03/20 20:35:32:296 EET [DEBUG] HttpMethodBase - Adding Host
> request header
> 
> 2008/03/20 20:35:32:296 EET [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.1[\r][\n]"
> 
> 2008/03/20 20:35:32:296 EET [DEBUG] header - >> "Proxy-Connection:
> Keep-Alive[\r][\n]"
> 
> 2008/03/20 20:35:32:296 EET [DEBUG] header - >> "Proxy-Authorization:
> NTLM
> TlRMTVNTUAABAAAABlIAAAYABgAtAAAADQANACAAAAAxMC4yMDAuMjQ2LjEwQURBTEVU[\r][\n]"
> 
> 2008/03/20 20:35:32:296 EET [DEBUG] header - >> "Host:
> www.google.com[\r][\n]"
> 
> 2008/03/20 20:35:32:296 EET [DEBUG] header - >> "[\r][\n]"
> 
> 2008/03/20 20:35:32:312 EET [DEBUG] header - << "HTTP/1.0 407 Proxy
> Authentication Required[\r][\n]"
> 
> 2008/03/20 20:35:32:312 EET [DEBUG] header - << "HTTP/1.0 407 Proxy
> Authentication Required[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Server:
> squid[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Date: Thu, 20 Mar
> 2008 18:35:41 GMT[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Content-Type:
> text/html[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Content-Length:
> 1269[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Expires: Thu, 20 Mar
> 2008 18:35:41 GMT[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "X-Squid-Error:
> ERR_CACHE_ACCESS_DENIED 0[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Proxy-Authenticate:
> NTLM
> TlRMTVNTUAACAAAABgAGADAAAAAWAoEAyRmg0zjSjfEAAAAAAAAAADgAOAA2AAAAQURBTEVUAgAMAEEARABBAEwARQBUAAEADABQAFIATwBYAFkAMQAEAAAAAwAMAHAAcgBvAHgAeQAxAAAAAAA=[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "X-Cache: MISS from
> cache.proxy.local[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Via: 1.0
> cache.proxy.local:3030 (squid)[\r][\n]"
> 
> 2008/03/20 20:35:32:328 EET [DEBUG] header - << "Proxy-Connection:
> keep-alive[\r][\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] header - << "[\r][\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] HttpMethodDirector - Authorization
> required
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] AuthChallengeProcessor - Using
> authentication scheme: ntlm
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] AuthChallengeProcessor -
> Authorization challenge processed
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] HttpMethodDirector - Proxy
> authentication scope: NTLM <any realm>@10.200.246.10:8080
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] HttpMethodDirector - Retry
> authentication
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<!DOCTYPE HTML
> PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<HTML><HEAD>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<TITLE>HATA: Cache
> Sunucusu Kullanamazs[0xfd]n[0xfd]z</TITLE>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<META
> http-equiv="Content-Type" content="text/html;charset=iso-8859-9">[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<STYLE
> type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</HEAD>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<BODY>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<H1>HATA</H1>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<H2>Cache Sunucusunu
> Kullanamazs[0xfd]n[0xfd]z</H2>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<HR noshade
> size="1px">[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<P>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<A
> HREF="http://www.google.com/">http://www.google.com/</A>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<P>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "adresine
> ula[0xfe][0xfd]rken a[0xfe]a[0xf0][0xfd]daki hata olu[0xfe]tu:[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<UL>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<LI>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<STRONG>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "Cache Sunucusunu
> Kullanamazs[0xfd]n[0xfd]z.[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</STRONG>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</UL>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</P>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<P>[0xd6]z[0xfc]r
> dilerim, istedi[0xf0]iniz:[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<PRE>
> http://www.google.com/</PRE>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "adresine bu Cache
> Sunucusunu kullanarak ula[0xfe]amazs[0xfd]n[0xfd]z.[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</P>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<P>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "Netscape 2.0 veya
> [0xfc]st[0xfc], Microsoft Internet Exporer 3.0 veya [0xfc]st[0xfc],
> veya herhangi HTTP/1.1 uyumlu[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "taray[0xfd]c[0xfd]
> kulland[0xfd][0xf0][0xfd]n[0xfd]za emin olun. L[0xfc]tfen <A
> HREF="mailto:interneterisim@adalet.gov.tr">Cache Y[0xf6]neticisi</a>
> ile [\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "ba[0xf0]lant[0xfd]ya
> ge[0xe7]in, veya [0xfe]ifrenizi de[0xf0]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "i[0xfe]tirmek
> i[0xe7]in [\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<A
> HREF="http://cache.proxy.local/cgi-bin/chpasswd.cgi">buraya</a>
> t[0xfd]klay[0xfd]n. [\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</P>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<BR
> clear="all">[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<HR noshade
> size="1px">[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "<ADDRESS>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "Generated Thu, 20
> Mar 2008 18:35:41 GMT by cache.proxy.local (squid)[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</ADDRESS>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] content - << "</BODY></HTML>[\n]"
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] HttpMethodBase - Should NOT close
> connection in response to directive: keep-alive
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] HttpConnection - Connection is
> locked. Call to releaseConnection() ignored.
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] HttpMethodDirector -
> Authenticating with NTLM <any realm>@10.200.246.10:8080
> 
> 2008/03/20 20:35:32:343 EET [DEBUG] HttpMethodParams - Credential
> charset not configured, using HTTP element charset
> 
> 2008/03/20 20:35:33:281 EET [DEBUG] header - >> "GET
> http://www.google.com/ HTTP/1.0[\r][\n]"
> 
> 2008/03/20 20:35:33:281 EET [DEBUG] HttpMethodBase - Adding Host
> request header
> 
> 2008/03/20 20:35:33:281 EET [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.1[\r][\n]"
> 
> 2008/03/20 20:35:33:281 EET [DEBUG] header - >> "Proxy-Connection:
> Keep-Alive[\r][\n]"
> 
> 2008/03/20 20:35:33:281 EET [DEBUG] header - >> "Proxy-Authorization:
> NTLM
> TlRMTVNTUAADAAAAGAAYAFsAAAAAAAAAcwAAAAYABgBAAAAACAAIAEYAAAANAA0ATgAAAAAAAABzAAAABlIAAEFEQUxFVEFCMTAwMTM2MTAuMjAwLjI0Ni4xMH7U9NgJmljQ1bonslAujhIniaP5JByKpw==[\r][\n]"
> 
> 2008/03/20 20:35:33:281 EET [DEBUG] header - >> "Host:
> www.google.com[\r][\n]"
> 
> 2008/03/20 20:35:33:281 EET [DEBUG] header - >> "[\r][\n]"
> 
> 2008/03/20 20:35:33:328 EET [DEBUG] header - << "HTTP/1.0 407 Proxy
> Authentication Required[\r][\n]"
> 
> 2008/03/20 20:35:33:328 EET [DEBUG] header - << "HTTP/1.0 407 Proxy
> Authentication Required[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Server:
> squid[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Date: Thu, 20 Mar
> 2008 18:35:42 GMT[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Content-Type:
> text/html[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Content-Length:
> 1269[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Expires: Thu, 20 Mar
> 2008 18:35:42 GMT[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "X-Squid-Error:
> ERR_CACHE_ACCESS_DENIED 0[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Proxy-Authenticate:
> NTLM[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "X-Cache: MISS from
> cache.proxy.local[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Via: 1.0
> cache.proxy.local:3030 (squid)[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "Proxy-Connection:
> close[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] header - << "[\r][\n]"
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] HttpMethodDirector - Authorization
> required
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] AuthChallengeProcessor - Using
> authentication scheme: ntlm
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] AuthChallengeProcessor -
> Authorization challenge processed
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] HttpMethodDirector - Proxy
> authentication scope: NTLM <any realm>@10.200.246.10:8080
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] HttpMethodDirector - Proxy
> credentials required
> 
> 2008/03/20 20:35:33:343 EET [DEBUG] HttpMethodDirector - Proxy
> credentials provider not available
> 
> 2008/03/20 20:35:33:343 EET [INFO] HttpMethodDirector - Failure
> authenticating with NTLM <any realm>@10.200.246.10:8080
> 
> Stat=Proxy Authentication Required
> 
> ***********************************************************************************************************************************************************************
> 
>  
> 
> 
>  
>  


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