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

Google Groups | Xin Gong | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0
    samebug tip
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  2. 0
    samebug tip
    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. 0
    samebug tip
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AcceptUsersAuthenticationHandler#0 class not found error

    Google Groups | 4 months ago | Xin Gong
    java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
  6. 0

    Tomact 问题 谢谢 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.-问答-云栖社区-阿里云

    aliyun.com | 1 month ago
    java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens

  1. rp 2 times, last 1 month ago
  2. poroszd 1 times, last 1 month ago
  3. linxiaolong 2 times, last 3 months ago
16 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.InternalInputBuffer.parseRequestLine()
  2. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:135)
    2. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:996)
    3. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
    4. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    4 frames
  3. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  4. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame