Hi Oleg, I incorporated your patch, and it worked for our user sitting behind the NTLM proxy. Thanks so much for responding so quickly :)
Carina -----Original Message----- From: Oleg Kalnichevski [mailto:ol...@apache.org] Sent: Thursday, January 09, 2014 5:04 AM To: HttpClient User Discussion Cc: Lansing, Carina S Subject: Re: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1 On Thu, 2014-01-09 at 00:32 +0000, Lansing, Carina S wrote: > Will do - thanks Oleg! > Carina, Could you please try out this patch (attached)? If you are comfortable using GitHub you can clone the patched version from here https://github.com/ok2c/httpclient.git Oleg > -----Original Message----- > From: Oleg Kalnichevski [mailto:ol...@apache.org] > Sent: Wednesday, January 08, 2014 2:20 AM > To: HttpClient User Discussion > Subject: Re: Proxy authentication Error - NTLM authentication error: > Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1 > > On Tue, 2014-01-07 at 21:28 +0000, Lansing, Carina S wrote: > > Hi All, > > > > We are using httpclient 4.3.1, trying to connect to a website that requires > > basic authentication through an NTLM v2 proxy. It appears that the proxy > > authentication is successfully negotiated, but then when trying to process > > the challenge from the target web site in the next pass, the NTLMScheme is > > throwing this exception at line 147? We are instantiating our http client > > via the snippet shown below. Our software is a collaborative modeling & > > visualization tool that runs from several different external locations. We > > just got a new user who sits behind an NTLM v2 proxy, so we had to upgrade > > our httpclient library, which required me to change how our httpclient is > > instantiated. Please let me know if you see any problems. Following the > > code snippet is a debug trace of the HttpGet operation. > > > > Thanks, > > Carina > > Hi Carina > > Your code looks all right to me. This is likely to be a bug in HttpClient. > Could you please raise a JIRA for this defect? > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org >