If you are self-hosted, you may run into an issue when attempting to upload a data set to the WorkBench that is larger than your server is configured to handle.
This is because many data sets are larger than the default size allowed by nginx.
You may see the following error:
413 Request Entity Too Large
This is being displayed becuase of the web server, not Specify.
It happens because the size of the data set you are trying to import is larger than 1MB.
You can change that limit to something like 500M (500 megabytes) by following this guide:
Then (iii) restarted the container. Is is the correct way to fix the error for docker self-hosted installation ?
Nonetheless, after doing so, we still get 413 Request Entity Too Large error with file uploaded in the workbench ~30Mb. With ~5 Mb files, it is OK, no error is thrown. But we are far from the 512 Mb limit set to the nginx server. What else could be at stake that would explain the error ? The hosting machine itself ?
Can you ensure the nginx container has been completely restarted so the previous volume is destroyed? You can also enter into the container via the terminal to see if the file inside the volume under the nginx service is changed.
The 512M parameter is changed successfully. Then I tried a new 23Mb upload from the workbench and running docker logs -f on every running services (sp7, sp7-worker, nginx, redis, etc.). Issue is still triggered and here is the only logs I got from nginx related to the upload:
After discussion with Network IT staff from my institute, we understood that it was a limitation from the reverse-proxy that triggered the error, not the ningx container!