-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large imports give a 413 Payload Too Large error message #142
Comments
Hi @ditmarvisser, PS: Thanks for the other feature request, you have sent us. We really need an option to add multiple packages together :) Greetings, Noctera |
@ditmarvisser This issue is fixed now. But the final release will take some time. However if you already want to use it, you can switch to the experimental branch, or use the experimental docker image build. Information about how to set the limit (default 1mb), can be found in this pull request vocascan/vocascan-server#96 |
Also I could not import file from @ditmarvisser from paste bin. There are wrong format. |
Describe the bug
When importing a new package the import failes if the number of vocabs is too large. In my testing the number of vocabs seems to be around 1100. The error in the console is "413 Payload Too Large error message". The json file I want to upload is 126 Kb.
I have found that nginx has a default limit of 1Mb on upload files. I have set the value of client_max_body_size in /etc/nginx/conf.d/default.conf to 64M, restarted the container, but that does not seem to make a difference.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The package gets imported succesfully.
Additional context
Here is an even larger file I was originally trying to import. This is 424 Kb.
The text was updated successfully, but these errors were encountered: