hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheetal D <sheetal_d_2...@yahoo.com>
Subject Re: Problem on Proxy Authentication over ssl
Date Wed, 14 Jun 2006 04:57:11 GMT
Hi Oleg,
             Thanks, Do you want ethereal dump. Or is wire log of Http Request (Not Https
) you are asking,
   
  Thanks,
  Sheetal
  

Oleg Kalnichevski <olegk@apache.org> wrote:
  On Tue, 2006-06-13 at 05:33 -0700, Sheetal D wrote:
> HI Oleg,
> Here is the wire context log. I am using both proxy auth and host auth over ssl.
> Only Https has problem. where as http goes fine.
> 
> Thanks,
> Sheetal
> 

Sheetal,

This is insufficient. I also need to see a wire log of the HTTP session.

Oleg



> 
> 2005/06/14 17:35:00:765 GMT+05:30 [DEBUG] HttpClient - -Java version: 1.4.2_03
> 2005/06/14 17:35:00:765 GMT+05:30 [DEBUG] HttpClient - -Java vendor: Sun Microsystems
Inc.
> 2005/06/14 17:35:00:765 GMT+05:30 [DEBUG] HttpClient - -Java class path: C:\j2sdk1.4.2_03\jre\lib\jce.jar;C:\j2sdk1.4.2_03\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_03\jre\lib\jsse.jar;C:\j2sdk1.4.2_03\jre\lib\charsets.jar;C:\j2sdk1.4.2_03\jre\lib\plugin.jar;C:\j2sdk1.4.2_03\jre\lib\rt.jar;C:\j2sdk1.4.2_03\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.2_03\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_03\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_03\jre\lib\ext\localedata.jar;C:\httpclient20\classes;C:\httpclient20\commons-httpclient.jar;C:\httpclient20\commons-logging.jar;
> 2005/06/14 17:35:00:781 GMT+05:30 [DEBUG] HttpClient - -Operating system name: Windows
2000
> 2005/06/14 17:35:00:781 GMT+05:30 [DEBUG] HttpClient - -Operating system architecture:
x86
> 2005/06/14 17:35:00:781 GMT+05:30 [DEBUG] HttpClient - -Operating system version: 5.0
> 2005/06/14 17:35:00:906 GMT+05:30 [DEBUG] 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)
> 2005/06/14 17:35:00:906 GMT+05:30 [DEBUG] HttpClient - -SunJSSE 1.42: Sun JSSE provider(implements
RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
> 2005/06/14 17:35:00:906 GMT+05:30 [DEBUG] HttpClient - -SunRsaSign 1.42: SUN's provider
for RSA signatures
> 2005/06/14 17:35:00:906 GMT+05:30 [DEBUG] HttpClient - -SunJCE 1.42: SunJCE Provider
(implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
> 2005/06/14 17:35:00:906 GMT+05:30 [DEBUG] HttpClient - -SunJGSS 1.0: Sun (Kerberos v5)
> 2005/06/14 17:35:00:984 GMT+05:30 [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0)
> 2005/06/14 17:35:01:000 GMT+05:30 [DEBUG] HttpMethodBase - -Execute loop try 1
> 2005/06/14 17:35:01:000 GMT+05:30 [DEBUG] HttpMethodBase - -Adding Host request header
> 2005/06/14 17:35:01:015 GMT+05:30 [DEBUG] HttpMethodBase - -Authorization required
> 2005/06/14 17:35:01:031 GMT+05:30 [DEBUG] HttpAuthenticator - -Authenticating with the
'Squid proxy-caching web server' authentication realm at 172.16.100.91
> 2005/06/14 17:35:01:031 GMT+05:30 [DEBUG] HttpMethodBase - -HttpMethodBase.execute():
Server demanded authentication credentials, will try again.
> 2005/06/14 17:35:01:031 GMT+05:30 [DEBUG] HttpMethodBase - -Should NOT close connection
in response to Proxy-Connection: keep-alive
> 2005/06/14 17:35:01:031 GMT+05:30 [DEBUG] HttpMethodBase - -Execute loop try 2
> 2005/06/14 17:35:01:031 GMT+05:30 [DEBUG] HttpMethodBase - -Request to add Host header
ignored: header already added
> 2005/06/14 17:35:01:031 GMT+05:30 [WARN] HttpMethodBase - -Response content length is
not known
> 2005/06/14 17:35:01:031 GMT+05:30 [DEBUG] HttpMethodBase - -Force-close connection: true
> 2005/06/14 17:35:01:031 GMT+05:30 [DEBUG] ConnectMethod - -CONNECT status code 200
> 2005/06/14 17:35:01:156 GMT+05:30 [DEBUG] HttpConnection - -Secure tunnel created
> 2005/06/14 17:35:01:156 GMT+05:30 [DEBUG] HttpMethodBase - -Execute loop try 1
> 2005/06/14 17:35:01:171 GMT+05:30 [DEBUG] HttpMethodBase - -Adding Host request header
> 2005/06/14 17:35:01:250 GMT+05:30 [DEBUG] HttpMethodBase - -Authorization required
> 2005/06/14 17:35:01:250 GMT+05:30 [DEBUG] HttpAuthenticator - -Authenticating with the
'172.16.231.39' authentication realm at 172.16.100.39
> 2005/06/14 17:35:01:250 GMT+05:30 [DEBUG] HttpMethodBase - -HttpMethodBase.execute():
Server demanded authentication credentials, will try again.
> 2005/06/14 17:35:01:250 GMT+05:30 [DEBUG] HttpMethodBase - -Should close connection in
response to Connection: close
> 2005/06/14 17:35:01:250 GMT+05:30 [DEBUG] HttpMethodBase - -Execute loop try 2
> 2005/06/14 17:35:01:265 GMT+05:30 [DEBUG] HttpMethodBase - -Opening the connection.
> 2005/06/14 17:35:01:265 GMT+05:30 [DEBUG] HttpMethodBase - -Request to add Host header
ignored: header already added
> The status code is 501
> The status code is HTTP/1.0 501 Not Implemented
> 2005/06/14 17:35:01:265 GMT+05:30 [DEBUG] HttpMethodBase - -Buffering response body
> 2005/06/14 17:35:01:265 GMT+05:30 [DEBUG] HttpMethodBase - -Should close connection in
response to Proxy-Connection: close
> 2005/06/14 17:35:01:265 GMT+05:30 [DEBUG] HttpMethodBase - -Default charset used: ISO-8859-1
> The status code is 
> 
> 
>     
> 
>   ERROR
>   The requested URL could not be retrieved
>   
---------------------------------
  
>   
> While trying to retrieve the URL:
> https://172.16.100.39/BASIC/my.xml
>   
> The following error was encountered:
>   
>   
   
> 
> Unsupported Request Method and Protocol
> 
> 

>   
> Squid does not support all request methods for all access protocols.
> For example, you can not POST a Gopher request.
>   Your cache administrator is webmaster. 
> 

>   
---------------------------------
  
>   
> Generated Tue, 13 Jun 2006 11:43:48 GMT by localhost.localdomain (squid/2.5.STABLE10)
> 
> 
> 
> Process finished with exit code 0
> 
> 
> Oleg Kalnichevski wrote:
> On Sat, 2006-06-10 at 05:47 -0700, Sheetal D wrote:
> > Hi all,
> > I am using Http client version 2.0 which comes with JBoss.When I try with proxy
authentication over ssl. It is giving error and the error code is 501.
> > 
> > ERROR The requested URL could not be retrieved 
> > ---------------------------------
> > While trying to retrieve the URL: https://localhost The following error was encountered:

> > Unsupported Request Method and Protocol 
> > Squid does not support all request methods for all access protocols. For example,
you can not POST a Gopher request. Your cache administrator is webmaster. 
> > 
> > ---------------------------------
> > Generated Sat, 10 Jun 2006 12:21:27 GMT by localhost.localdomain (squid/2.5.STABLE10)

> > I am using squid as Proxy Server. this is problem with 2.0 only. In 3.0 is it is
working fine. How do I get solved this problem. 
> > 
> > Thanks,
> > Sheetal
> > 
> 
> Please post a complete wire/context log of the session
> 
> Oleg
> 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


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



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message