On Tue, 2008-10-07 at 11:00 -0700, Henrich Kraemer wrote: > We have been using HttpClient 3.0 release for a few years now. We recently > switched on preemptive authentication: > fHttpClient.getParams().setAuthenticationPreemptive(true); > > My best guess is that this causes an issue when attempting to connect via a > proxy requiring authentication. The proxy is an ISA proxy server requiring > NTLM authentication. > Connecting using the same proxy has worked previously (as I confirmed > looking into logs). > > I cannot reproduce this with a non NTLM proxy. The application works with > other proxies requiring authentication. > > Below is a log, but I changed the proxy server name to hostname.domain.com > (it had same structure). > An IllegalStateException: Authentication state already initialized is > thrown from AuthState.setPreemptive after the user provides the proxy > credentials (see entry 97) > > Is this a known issue? > > Thanks, > > Henrich >
Please upgrade to the latest release in the 3.x branch (3.1) and re-test. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
