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

  1. 2
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  2. 1
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  3. 5

    when spring boot startup,throw out the "method names must be tokens" exception

    Stack Overflow | 5 months ago | discipline19810128
    java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to enable STOMP websocket with ActiveMQ and Spring

    Stack Overflow | 5 months ago | Adam Kortylewicz
    java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
  6. 0

    Embed Tomcat SSL报错:Invalid character found in method name. HTTP method names must be tokens - 开源中国社区

    oschina.net | 5 days ago
    java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens

  1. poroszd 1 times, last 7 days ago
  2. rp 6 times, last 4 days ago
  3. Hronom 3 times, last 1 week ago
  4. kjhdofjosvs 2 times, last 2 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Invalid character found in method name. HTTP method names must be tokens

    at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine()
  2. Grizzly HTTP
    SocketProcessorBase.run
    1. org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:462)[tomcat-embed-core-8.5.4.jar:8.5.4]
    2. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:994)[tomcat-embed-core-8.5.4.jar:8.5.4]
    3. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-embed-core-8.5.4.jar:8.5.4]
    4. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)[tomcat-embed-core-8.5.4.jar:8.5.4]
    5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)[tomcat-embed-core-8.5.4.jar:8.5.4]
    6. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)[tomcat-embed-core-8.5.4.jar:8.5.4]
    6 frames
  3. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_102]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_102]
    2 frames
  4. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.5.4.jar:8.5.4]
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_102]
    1 frame