[Bug 64478] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
https://bz.apache.org/bugzilla/show_bug.cgi?id=64478 --- Comment #7 from Deviduttapanda --- Hi Md. Adnan Rashidul. Need your support here, I am also facing the same issue as we are using Tomcat 9.0.36 behind F5 and F5 sendstring is GET /HealthInfo /r/n (In reply to Md. Adnan Rashidul Islam from comment #5) > Hi Mark, > > Thanks. We have resolved the issue. The http request has been sent by > reverse proxy from HTTP/0.9 protocol with the tailing double pair of RCFL > which is not supported by HTTP/1.1. So we have changed the RCFL and then it > works. Thanks. -- 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
[Bug 64770] java.lang.IllegalStateException: Invalid request line parse phase [6] Tomcat 9.0.36
https://bz.apache.org/bugzilla/show_bug.cgi?id=64770 --- Comment #1 from Deviduttapanda --- Has tomcat stopped listening HTTP 0.9 request. as my tomcat is behind F5 and its default protocol is HTTP 0.9 -- 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
[Bug 64770] java.lang.IllegalStateException: Invalid request line parse phase [6] Tomcat 9.0.36
https://bz.apache.org/bugzilla/show_bug.cgi?id=64770 --- Comment #2 from Deviduttapanda --- Created attachment 37469 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37469&action=edit F5 Send request Please find the details of request to tomcat, the sendstring from F5 is working fine for Tomcat 8.5 but its not working for Tomcat 9.0.36 -- 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
CATALINA_BASE vs CATALINA_HOME: What must be where?
All, I'm writing about the above topic for ApacheCon @ Home and I wanted to get some confirmation about a few statements. The code is ... large and complex and it will be easier to just ask for help from those who Know. " Many files in CATALINA_BASE are optional * Override those in CATALINA_HOME - conf/context.xml * Some files are required in CATALINA_BASE - conf/server.xml - conf/catalina.policy - conf/web.xml Some Exceptions may be Surprising * Only in CATALINA_HOME - bin/setclasspath.sh - endorsed/ (special Java libraries) - bin/bootstrap.jar " Is this all correct? Am I missing anything? Thanks! -chris - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 64770] java.lang.IllegalStateException: Invalid request line parse phase [6] Tomcat 9.0.36
https://bz.apache.org/bugzilla/show_bug.cgi?id=64770 Christopher Schultz changed: What|Removed |Added Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #3 from Christopher Schultz --- Your problem is that the request line ends with [space][cr][lf] when the protocol requires that it end with [cr][lf]. Both Tomcat 8.5 and Tomcat 9 will fail with a similar error. Try it: (With extra space) $ echo "GET / " | nc localhost 8080 [response: 400 Bad Request] (Without extra space) $ echo "GET /" | nc localhost 8080 [response: 400 Not Found] I just tested on 8.5 and this is how it behaves. If you want to add Connection:close header (which is further invalid in HTTP 9.0, by the way), you can do: (With extra space) $ echo "GET / Connection:close" | nc localhost 8080 [response: 400 Bad Request] (Without extra space) $ echo "GET / Connection: close" | nc localhost 8080 [response: 400 Not Found] You cannot "fix" this with Tomcat configuration. You are violating multiple parts of the HTTP specification and Tomcat is properly refusing you because of it. -- 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
[Bug 64770] java.lang.IllegalStateException: Invalid request line parse phase [6] Tomcat 9.0.36
https://bz.apache.org/bugzilla/show_bug.cgi?id=64770 Christopher Schultz changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Christopher Schultz --- *** This bug has been marked as a duplicate of bug 64478 *** -- 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
[Bug 64478] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
https://bz.apache.org/bugzilla/show_bug.cgi?id=64478 Christopher Schultz changed: What|Removed |Added CC||devidutt...@gmail.com --- Comment #8 from Christopher Schultz --- *** Bug 64770 has been marked as a duplicate of this bug. *** -- 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
[Bug 64771] New: Windows CPU processor getting locked by a thread reading request body from https connection
https://bz.apache.org/bugzilla/show_bug.cgi?id=64771 Bug ID: 64771 Summary: Windows CPU processor getting locked by a thread reading request body from https connection Product: Tomcat 9 Version: 9.0.37 Hardware: PC Status: NEW Severity: major Priority: P2 Component: Util Assignee: dev@tomcat.apache.org Reporter: jerryhou...@gmail.com Target Milestone: - Created attachment 37472 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37472&action=edit Java Thread Dump The problem started with windows CPU always keep at 25%, but it should be around 2-7% is there is no request. I use windows ProcessExplorer identified that one thread is reading request body from an https connection but there is no request at that time based on the audit logs, and the thread has been running more than 2 hours. I use windows ProcessExplorer and jdk jstack identified the thread "0xd14" is always keep running even there is no request to Tomcat. "boundedElastic-90" #434 daemon prio=5 os_prio=0 tid=0x21055000 nid=0xd14 runnable [0x4383d000] java.lang.Thread.State: RUNNABLE at org.apache.tomcat.util.net.openssl.OpenSSLEngine.unwrap(OpenSSLEngine.java:603) - locked <0x000608ad2bf0> (a org.apache.tomcat.util.net.openssl.OpenSSLEngine) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) "I/O dispatcher 3" #30 prio=5 os_prio=0 tid=0x208d2800 nid=0x17e8 waiting for monitor entry [0x24ace000] java.lang.Thread.State: BLOCKED (on object monitor) at org.apache.tomcat.util.net.openssl.OpenSSLEngine.wrap(OpenSSLEngine.java:391) - waiting to lock <0x000608ad2bf0> (a org.apache.tomcat.util.net.openssl.OpenSSLEngine) at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469) at org.apache.tomcat.util.net.SecureNioChannel.write(SecureNioChannel.java:802) I try to understand the source "OpenSSLEngine" based on the thread logs, it seems that the reading request body is not yet fully completed but the request connection is closed by the caller. I need help to have a fix to prevent this kind of problem happen in Tomcat to prevent such problem happen in production. -- 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
[Bug 64771] Windows CPU processor getting locked by a thread reading request body from https connection
https://bz.apache.org/bugzilla/show_bug.cgi?id=64771 Jerry Hou changed: What|Removed |Added OS||All --- Comment #1 from Jerry Hou --- It is starting from at com.ncs.secureconnect.webflux.common.gateway.context.DefaultContext.bufferBody(DefaultContext.java:173) -- 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
[Bug 64771] Windows CPU processor always running by a thread reading request body from https connection
https://bz.apache.org/bugzilla/show_bug.cgi?id=64771 Jerry Hou changed: What|Removed |Added Summary|Windows CPU processor |Windows CPU processor |getting locked by a thread |always running by a thread |reading request body from |reading request body from |https connection|https connection -- 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