HTTP Status 400 - Request header is too large WebViewer 12.1
search cancel

HTTP Status 400 - Request header is too large WebViewer 12.1

book

Article ID: 217214

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

Receiving HTTP Status 400 - Bad Request intermittently when attempting to retrieve reports. It is working fine for some users and it does not happen consistently.

Logs show

 java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
...
 java.lang.IllegalArgumentException: Request header is too large

Environment

Release : 12.1

Component :OUTPUT MANAGEMENT WEB VIEWER FOR ALL PLATFORMS

Resolution

In the server.xml file, for the connector port in use,  modify the maxHttpHeaderSize as shown.

<Connector port="8080maxHttpHeaderSize="65536" protocol="HTTP/1.1" ... />