java.lang.IllegalArgumentException

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

Samebug tips2

This error is caused by malformed HTTP request. You are trying to access unsecured page through https.


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.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web19702

  • via Google Groups by Xin Gong, 9 months ago
    Invalid character found in method name. HTTP method names must be tokens
  • via Unknown by rp, 6 months ago
    The owner protected this stack trace.
  • Invalid character found in method name. HTTP method names must be tokens
  • Stack trace

    • java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:135) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:996) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 6 months ago
    Once, 6 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    10 more bugmates