Unable To download the CSV file for the object which is having more then 300 fields.

  • aravelo_21694
    Participant
    5 years, 2 months ago #5461

    Unable To download the CSV file for the object which is having more then 300 fields:
    We are getting error as below while syncing :

    15-Jul-2019 10:15:37.372 INFO [http-nio-8080-exec-5] 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:700)
    at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:847)
    at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:549)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Unknown Source)

    anoop.S_20156
    Participant
    5 years, 2 months ago #5728

    Hi Aravelo,

    The maximum size of the request and response HTTP header(csv header)specified in bytes. If not specified, this attribute is set to 4096 (4 KB).
    As the object which you are trying to sync is having more then 300 fields.So header is more then 4KB that is the reason its throwing an error. To troubleshoot this error you need to increase the maxHttpHeaderSize.

    Please change properties present in server.xml
    change the HTTP/1.1 Connector entry and set the maxHttpHeaderSize to “65536” (64Kb in bytes) as shown below:

    Please refer the below link:

    https://thewebspark.com/2017/12/06/tomcat-request-header-too-large-resolved/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.