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

Stack Overflow | user2016012 | 3 months ago
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. and
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    You might send a large amount of data in the request URL. Consider sending it in the request body.
    via Coderanch by Partheban Udayakumar

  1. poroszd 1 times, last 4 months ago
  2. rp 3 times, last 4 months ago
31 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.AbstractNioInputBuffer.parseRequestLine()
  2. Grizzly HTTP
    1. org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine(
    2. org.apache.coyote.http11.AbstractHttp11Processor.process(
    3. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
    5 frames
  3. Java RT
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$ Source)
    2 frames
  4. Tomcat Util
    1. org.apache.tomcat.util.threads.TaskThread$
    1 frame
  5. Java RT
    1. Source)
    1 frame