Strange Http11Processor error

Showing results for 
Search instead for 
Did you mean: 
Senior Member

Strange Http11Processor error


Once in a few days, my Alfresco instance is self restarting. When I enter logs, there is almost every time the same log sequence before restart:

 01-Sep-2020 20:16:30.032 INFO [http-nio-8080-exec-21] 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.IllegalArgumentException: Invalid character found in method name [0x050x040x000x010x020x800x050x010x000x030x0agithub.com0x00PGET]. HTTP method names must be tokens
                at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(
                at org.apache.coyote.http11.Http11Processor.service(
                at org.apache.coyote.AbstractProcessorLight.process(
                at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
                at java.util.concurrent.ThreadPoolExecutor.runWorker(
                at java.util.concurrent.ThreadPoolExecutor$
                at org.apache.tomcat.util.threads.TaskThread$

I have an SSL enabled (Let's Encrypt), it works every day.

The java.lang.IllegalArgumentException is always like: "Invalid character found in xxx".

After that, servers stop and after that, there are again errors:

01-Sep-2020 00:24:23.304 WARNING [Thread-52] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [alfresco] appears to have started a thread named [Timer-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)

And after that bunch of severe logs:

01-Sep-2020 00:24:23.336 SEVERE [Thread-52] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal.SuppliedThreadLocal] (value [java.lang.ThreadLocal$SuppliedThreadLocal@792a15aa]) and a value of type [org.alfresco.util.transaction.TransactionSupportUtil.ResourcesHolder] (value [org.alfresco.util.transaction.TransactionSupportUtil$ResourcesHolder@1d82ab84]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

And Alfresco starts again, as nothing happened..

Is it a Let's encrypt error? Config error? Hackers?

Alfresco Developer
1 Reply
Senior Member

Re: Strange Http11Processor error

I created a new server with a new IP address, new certificates - still the same error. What can be wrong?

Alfresco Developer