Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1882

NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED

    XMLWordPrintableJSON

    Details

      Description

      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

      ERROR org.apache.http.impl.auth.HttpAuthenticator: NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED
      

      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?

        Attachments

        1. MSG_TYPE3_GENERATED-temporary-fix.patch
          1 kB
          Sergiu Indrie
        2. image-2018-05-04-12-43-37-213.png
          124 kB
          Sergiu Indrie
        3. httpclient-v4.5.5-MSG_TYPE3_GENERATED.txt
          49 kB
          Sergiu Indrie
        4. rareCase.log
          19 kB
          Matthias Schmalz
        5. commonCase.log
          16 kB
          Matthias Schmalz

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              matthias.schmalz@incentage.com Matthias Schmalz
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: