Tomcat error parsing HTTP request header

Tomcat login was configured a few days ago https://localhost : 8080/I found that I didn’t find the reason for the error. Later, others suggested 127.0.0.1:8080. The result was really OK. I was very fascinated

Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.

java.lang.IllegalArgumentException : Invalid character found in method name. HTTP method names must be tokens

at org.apache.coyote .http11. InternalInputBuffer.parseRequestLine ( InternalInputBuffer.java:139 )

at org.apache.coyote .http11.AbstractHttp11 Processor.process (AbstractHttp11 Processor.java:1028 )

at org.apache.coyote .AbstractProtocol$Abstr actConnectionHandler.process ( AbstractProtocol.java:637 )

at org.apache.tomcat . util.net.JIoEndpoint $ SocketProcessor.run ( JIoEndpoint.java:316 )

at java.util.concurrent . ThreadPoolExecutor.runWorker ( ThreadPoolExecutor.java:1145 )

at java.util.concurrent .ThreadPoolExecutor$ Worker.run ( ThreadPoolExecutor.java:615 )

at org.apache.tomcat . util.threads.TaskThread $ WrappingRunnable.run ( TaskThread.java:61 )

at java.lang.Thread .run( Thread.java:745 )

Read More: