-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Bug]: 413 Request Entity Too Large: The data value transmitted exceeds the capacity limit. #4122
Comments
Does it behave the same when using HTTP/Python API? |
How can this be tested or configured? (while working with Docker-Images!) |
You could use curl with your Ragflow API key and upload them. |
Ok, I already figured out how to set up Python with the API calls ( I could make it create a new dataset ... so obviously the API communication works) , but I don't really know how I could quickly / from code make it upload the same 1176 files (although I am senior IT guy, I am not a python coder) |
Try it with a bash script and curl like this:
|
It seems to be a frontend issue then, I suppose? |
Are you using nginx to forward traffic on the host outside the docker container? If so, you need to configure client_max_body_size on the host's nginx. |
Well, as written in detail in my original post, I already set these parameters too: docker/nginx/nginx.conf ... to no avail |
Please make sure that nginx is running on your host. |
Hmm @cike8899 I am not 100% sure what / how exactly you mean it. (and yes, the entire ragflow installation is the official docke compose one running in a docker env on a large linux VM) |
Is there an existing issue for the same bug?
RAGFlow workspace code commit ID
8939206
RAGFlow image version
v0.15.0 full
Other environment information
Actual behavior
In the "File Management" I try to upload 1176 TXT files, having a total of < 5 MByte (essentially they are all C# source code files).
I can select the directory, where it recognizes all the files.
When I click "OK" (to start the Upload), I get the message:
I want to highlight, that according to the "Web developer" output, the upload volume content-length is 4258188! So, thats about 4,06 MBytes.
I have already checked this Bug report:
And tried to set all referenced parameters to some ridiculous sizes (1 GB!)
But I still get the same error.
When I reduce my upload to a subset, which is 212 Files weighing only 1,02 MBytes ... then Upload works.
Expected behavior
No response
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: