1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Request Entity Too Large error while uploading files of more than 128KB over SSL

Discussion in 'Apache' started by tusharkanta, Aug 21, 2012.

  1. #1
    We have a web portal setup on Java spring framework. It running on tomcat app server. Portal is served through apache web server connected to tomcat through JK connector. Entire portal is HTTPS enabled using 443 port of apache. Apache version is : Apache/2.4.2 (Unix). it is the latest stable version of apache web server.
    Whenever we try to upload files more than 128 KB into the portal, We are facing 413 error: Request Entity Too Large The requested resource /teamleadchoachingtracking/doFileUpload does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.
    [h=1]In the apache error log we get the following errors:[/h] AH02018: request body exceeds maximum size (131072) for SSL buffer
    [h=1]AH02257: could not buffer message body to allow SSL renegotiation to proceed[/h] We did search over google and there were suggestions to put SSLRenegBufferSize as some high value like 10MB. Based on these suggestions, we had put the following entry in virtualhost section of httpd config file:
    SSLRenegBufferSize 10486000
    But still the error persists. Also we have specified SSLVerifyClient none, but still renegotiation is happening.
    This is a very inconsistent and frustrating error. Any help will be highly appreciated. Many thanks in advance.
     
    tusharkanta, Aug 21, 2012 IP