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: Getting no content using Proxy and HTTPS
Date Sat, 21 May 2005 10:54:23 GMT
Benjamin,

OK. I have spotted the problem:

[DEBUG] header - >> "GET
https://sourceforge.net/export/rss2_project.php?group_id=86683 HTTP/1.1
[\r][\n]"

This of course is not right. HttpClient is programmed to use so called
secure tunneling when executing HTTPS via a proxy. 

Does your application register a custom HTTPS Protocol object with a
custom ProtocolSocketFactory?

Oleg


On Fri, 2005-05-20 at 18:41 +0100, Benjamin Pasero wrote:
> 
> >HttpClient must have thrown as exception but unfortunately it has not
> >been logged, so I can't really tell what caused it in the first place.
> >
> >Have you tried running the same code in Java 1.4.2? 
> >  
> >
> He is not able to switch to an older Java version, since it is a companies
> PC.
> 
> I looked at my code and found out that I am calling
> setAuthenticationPreemptive(true)
> in any case even if the Proxy does not require Username / Password
> Authentication.
> 
> Could this be the source of the problem?
> 
> I have asked the user, his Proxy does not require Authentication.
> 
> Ben
> 
> >Oleg
> >
> >
> >On Wed, 2005-05-18 at 21:27 +0100, Benjamin Pasero wrote:
> >  
> >
> >>Hi,
> >>
> >>as user is having problems accessing a Document via HTTPS using latest
> >>HttpClient nightly.
> >>He is using a proxy with Basic authentication. Accessing the same
> >>Document via HTTP is
> >>working.
> >>
> >>I am having a Debug+Trace log, but not able to read out what might go
> >>wrong. If anybody
> >>could help me?
> >>
> >>Here is the log:
> >>https://sourceforge.net/tracker/download.php?group_id=86683&atid=580502&file_id=134944&aid=1200447
> >>
> >>Thanks,
> >>Ben
> >>
> >>---------------------------------------------------------------------
> >>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