Re: getting through a proxy server

2004-10-08 Thread Madeleine Wright
Hi, Mike. Thanks so much. That solved it! I originally had the ..setAuthenticationPreemptive(true)..bit but had taken it out because it didn't seem to work earlier. The explanations were really helpful too. This is an incredibly helpful list! Madeleine Michael Becke wrote: Hi Madeleine, The

Re: getting through a proxy server

2004-10-08 Thread Michael Becke
Also, preemptive authentication is covered in more detail at . Mike Madeleine Wright wrote: Hi. Thanks for all the suggestions. I tried replacing client.getHostConfiguration()..with method.getHostConfiguration butit didn't seem

Re: getting through a proxy server

2004-10-08 Thread Michael Becke
Hi Madeleine, The first request fails because the credentials are not sent on the first method execution. This is for two reasons. One, because the proxy credentials have been specified with a particular realm. HttpClient does not know that a URL is protected by a particular realm until is tr

Re: getting through a proxy server

2004-10-08 Thread Madeleine Wright
o:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 10:53 AM To: 'Commons HttpClient Project' Subject: RE: getting through a proxy server Madeleine, Stupid question but is your proxy server using NTLM authentication? I had to do some hoop jumping to get NTLM to work properly, but it&

Re: getting through a proxy server

2004-10-08 Thread Madeleine Wright
Hi. Thanks for all the suggestions. I tried replacing client.getHostConfiguration()..with method.getHostConfiguration butit didn't seem to make any difference. I changed "method" back to "client" and retried and for the second attempt it did authenticate me - but not for the first. Initiall

RE: getting through a proxy server

2004-10-08 Thread Oleg Kalnichevski
e()) > > That should work, too. > > Hope that helps, > Bob > > -Original Message- > From: Yuzwa, Erik [mailto:[EMAIL PROTECTED] > Sent: Friday, October 08, 2004 10:53 AM > To: 'Commons HttpClient Project' > Subject: RE: getting through a proxy serv

Re: getting through a proxy server

2004-10-08 Thread Oleg Kalnichevski
Madeleine, If you activate wire/context logging in your application you'll get more details on what exactly goes wrong http://jakarta.apache.org/commons/httpclient/logging.html If you need help reading the log, feel free to post it to this list. Do obfuscate security sensitive bits such as logo

RE: getting through a proxy server

2004-10-08 Thread St Jacques, Robert
that helps, Bob -Original Message- From: Yuzwa, Erik [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 10:53 AM To: 'Commons HttpClient Project' Subject: RE: getting through a proxy server Madeleine, Stupid question but is your proxy server using NTLM authentication

Re: getting through a proxy server

2004-10-08 Thread Madeleine Wright
Hi, Eric. I don't think so. It's not a windows server. But I would appreciate seeing the code anyway? Thanks. Mad Yuzwa, Erik wrote: Madeleine, Stupid question but is your proxy server using NTLM authentication? I had to do some hoop jumping to get NTLM to work properly, but it's working now

RE: getting through a proxy server

2004-10-08 Thread Yuzwa, Erik
Madeleine, Stupid question but is your proxy server using NTLM authentication? I had to do some hoop jumping to get NTLM to work properly, but it's working now if you need some code. Erik -Original Message- From: Madeleine Wright [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 200