EHRI / ehri-frontend

The EHRI project's portal interface.
https://portal.ehri-project.eu
European Union Public License 1.2
14 stars 9 forks source link

Uploading overlarge profile image results in bad gateway Apache error for the client... #1198

Open mikesname opened 5 years ago

mikesname commented 5 years ago
Bad Gateway
The proxy server received an invalid response from an upstream server.

This should be handled gracefully by Play. On the backend we have an Akka streams exception:

Tearing down FileSink(/tmp/playtemp7370616944964610281/multipartBody2184519533985252596asTemporaryFile) due to upstream error
mikesname commented 4 years ago

~Still investingating: possibly related to this bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=60330 ~

Now (circa 2.8) no error on the Play end, which seems to be handling max content correctly and returning 413. Apache is accepting the whole file upload and then erroring, however. The mystery deepens.

mikesname commented 2 years ago

Latest update: still seeing an error. Have tested on Apache 2.4.52 and Nginx on Ubuntu 22.04 and unable to reproduce error. Have also updated Apache on the server to 2.4.54 and error still occurs. Haven't yet tested Nginx on the server.