NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
26 stars 12 forks source link

Add documentation for SSLRenegBufferSize in Apache configuration #1936

Open taojing2002 opened 2 months ago

taojing2002 commented 2 months ago

Sometimes we may see errors on the client side like:

<html><head>
  <title>413 Request Entity Too Large</title>
  </head><body>
  <h1>Request Entity Too Large</h1>
  The requested resource does not allow request data with POST requests, or the amount of data provided in
  the request exceeds the capacity limit.
  <hr>
  <address>Apache/2.4.52 (Ubuntu) Server at smithsonian.dataone.org Port 443</address>
  </body></html>

Also in the apache error log:

[ssl:error] [pid 1577432:tid 140187447318080] [client 128.111.85.174:54024] AH02018: request body exceeds maximum size (131072) for SSL buffer

Those errors need to increase the property in the apache configuration file:

<Location "/metacat/d1/mn">
                SSLRenegBufferSize 10000000
 </Location>                       

Currently we don't have this section on documentation. We need to add it.

iannesbitt commented 2 months ago

@taojing2002 The other thing I had to do in order to get the Smithsonian Metacat to accept files larger than 10000000 bytes was uncomment SSLOptions +OptRenegotiate.

artntek commented 2 months ago

for nginx/k8s, no directly comparable params, but see PR #1942 for annotations to deal better with larger request sizes