본문 바로가기

Issue

[Java] java.lang.IllegalArgumentException: Request header is too large 오류 해결

반응형

오류 현상


org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
 java.lang.IllegalArgumentException: Request header is too large
at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:718)
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:462)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:684)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

해결 방법


요청하는 헤더(Header)가 너무 발생해서 발생하는 현상으로, 

서버 환경설정(server.xml)에서 maxHttpHeaderSize 옵션을 높이면 된다.

 


[참고] https://aroundlena.tistory.com/26

 

Request header is too large 에러 해결

Request header is too large 에러 해결 어떤 페이지를 들어갔다가 아래와 같은 에러가 발생했다. 3월 29, 2019 10:59:06 오전 org.apache.coyote.http11.AbstractHttp11Processor process 정보: Er..

aroundlena.tistory.com

 

 

반응형

❥ CHATI Github