Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9520

Tomcat fails to process request with error "Unexpected state: headers already parsed"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4
    • Fix Version/s: 6.5-M3, 6.5
    • Component/s: Web
    • Labels:

      Description

      Tomcat generates the following error:

      2017.06.14 10:20:10 INFO  web[][o.a.c.h.Http11Processor] Error parsing HTTP request header
       Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
      java.lang.IllegalStateException: Unexpected state: headers already parsed. Buffer not recycled?
              at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:554)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:683)
      

      Apparently it breaks the processing of the HTTP request.

      Discussion on group : https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/sonarqube/IgYJvZuvIZU/tzkaiSgOAwAJ

      The solution is to upgrade Tomcat to 8.5.13+. See https://bz.apache.org/bugzilla/show_bug.cgi?id=60918.

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: