https://bz.apache.org/bugzilla/show_bug.cgi?id=64770

            Bug ID: 64770
           Summary: java.lang.IllegalStateException: Invalid request line
                    parse phase [6]  Tomcat 9.0.36
           Product: Tomcat 9
           Version: 9.0.36
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: devidutt...@gmail.com
  Target Milestone: -----

[https-jsse-nio-9443-exec-3] org.apache.coyote.http11.Http11Processor.service 
Error parsing HTTP request header
 Note: further occurrences of HTTP request parsing errors will be logged at
DEBUG level.

java.lang.IllegalStateException: Invalid request line parse phase [6]

Already have tried following options.

in server.xml
______________
relaxedPathChars='[]|{|}'
relaxedQueryChars='{|}[]|{}^\`"'<>~;`;!;@;#;$;%;°;^;&;*;(;);-;_;+;=;{;};[;];|;\;/;:;";,;.;?'
 

in catalina.bat.

-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
-Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true

Please help us as its a blocker now.
This issue is occuring after upgrading from Tocmat 8.5 to Tomcat 9.0.36

Tomcat Access logs:


10.1.135.53 - - [26/Sep/2020:11:27:52 +0530] "GET /ecpix/CCHInfo null" 400 1815
10.1.135.53 - - [26/Sep/2020:11:27:57 +0530] "GET /ecpix/CCHInfo null" 400 1815
10.1.135.53 - - [26/Sep/2020:11:28:02 +0530] "GET /ecpix/CCHInfo null" 400 1815
10.1.135.53 - - [26/Sep/2020:11:28:07 +0530] "GET /ecpix/CCHInfo null" 400 1815
10.1.135.53 - - [26/Sep/2020:11:28:12 +0530] "GET /ecpix/CCHInfo null" 400 1815
10.1.135.53 - - [26/Sep/2020:11:28:17 +0530] "GET /ecpix/CCHInfo null" 400 1815


Stderr file:

26-Sep-2020 11:27:50.167 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in [70,002]milliseconds
26-Sep-2020 11:27:52.307 INFO [https-jsse-nio-9443-exec-4]
org.apache.coyote.http11.Http11Processor.service Error parsing
HTTP request header
 Note: further occurrences of HTTP request parsing errors will be logged at
DEBUG level.
        java.lang.IllegalStateException: Invalid request line parse phase [6]
                at
org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:579)
                at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260)
                at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
                at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
                at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
                at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.lang.Thread.run(Thread.java:748)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to