[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532707#comment-16532707
 ] 

ASF subversion and git services commented on HTTPCLIENT-1882:
-------------------------------------------------------------

Commit 060cf48d4bbca8e040cda180e0a0e879bf41383d in httpcomponents-client's 
branch refs/heads/4.5.x from [~olegk]
[ https://git-wip-us.apache.org/repos/asf?p=httpcomponents-client.git;h=060cf48 
]

HTTPCLIENT-1882: reset authentication state on I/O or runtime error for 
connection based authentication schemes (such as NTLM)


> NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED
> ----------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1882
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1882
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async), HttpClient (classic), HttpClient 
> (Windows)
>    Affects Versions: 4.5.1
>            Reporter: Matthias Schmalz
>            Priority: Major
>              Labels: stuck, volunteers-wanted
>             Fix For: 4.5.6, 5.0 Beta2
>
>         Attachments: MSG_TYPE3_GENERATED-temporary-fix.patch, commonCase.log, 
> httpclient-v4.5.5-MSG_TYPE3_GENERATED.txt, image-2018-05-04-12-43-37-213.png, 
> rareCase.log
>
>
> We use the httpClient as part of our products to send http requests. One of 
> our customers makes use of NTLM authentication. In most cases (as in 
> commonCase.log), authentication works well.
> In rare cases (as in rareCase.log), the HttpAuthenticator logs
> {code:java}
> ERROR org.apache.http.impl.auth.HttpAuthenticator: NTLM authentication error: 
> Unexpected state: MSG_TYPE3_GENERATED
> {code}
> Note that in rareCase.log the http client does not log anything between 
> 10:08:48.990 and 10:10:23.577. We have analysed numerous cases where the 
> authentication was and was not successful. We have observed that this period 
> of inactivity occurs if and only if the NTLM authentication error is logged.
> Is this a bug?
> If not, could you please provide further information on why this is logged 
> and how this can be avoided?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to