Task #3803
closed
Dev4 portal errors when uploading files larger than 3MB
Added by Costantino Perciante about 9 years ago.
Updated about 9 years ago.
Assignee:
_InfraScience Systems Engineer
Infrastructure:
Development
Description
Using the dev4 portal, when performing two HTTP/POST calls, one of which contains a file larger than 3MB in its body, we get these error messages:
1)413 Request Entity Too Large
2)504 Gateway Time-out
The errors appear when the haproxy is used. There is no error if the server is contacted using the port 9090, that is without using the proxy.
- Assignee changed from Andrea Dell'Amico to _InfraScience Systems Engineer
- Status changed from New to In Progress
The error comes from the nginx server. The pipeline is haproxy -> nginx -> tomcat
.
I'm working to raise the limits.
What we want as a maximum size for the file uploads?
50 MB would be ok, thanks
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
I've just tried: I think you have enlarged the maximum size accepted and in fact the 413 Request Entity Too Large no longer appears. However, the second error sometimes arises. Is there any timeout value that can be increased too?
Thanks
- Status changed from Feedback to In Progress
- Status changed from In Progress to Feedback
Raised the haproxy timeouts too.
- Status changed from Feedback to Closed
Now it seems to work, thanks! Of course, we will need to have the same configuration in production
Yes. The new infra is not configured at all right now, I think @massimiliano.assante@isti.cnr.it wants to test the tomcat clustering first?
Also available in: Atom
PDF