java.lang.IllegalArgumentException: Request header is too large

Stack Overflow | coder0007 | 6 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

    Submitted form data visible in url despite using method=post

    Stack Overflow | 6 months ago | coder0007
    java.lang.IllegalArgumentException: Request header is too large
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JAVA EE web module security getting error IllegalArgumentException

    Stack Overflow | 2 months ago | JoeZ
    java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens

  1. poroszd 1 times, last 1 month ago
  2. mellson 1 times, last 6 months ago
4 unregistered visitors

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Request header is too large

    at org.apache.coyote.http11.InternalAprInputBuffer.fill()
  2. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:574)
    2. org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:217)
    3. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:996)
    4. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
    5. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
    6. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
    6 frames
  3. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    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(Thread.java:722)
    1 frame