How do I configure the max size in order to avoid timeouts when uploading artifacts?

The “Failed to deploy file: HTTP response code 413” or “HTTP response code: 413 HTTP response message: Request Entity Too Large” messages can result if your maximum file size in incorrectly setup.

If Artifactory is running behind an HTTP server like Nginx or Apache, please try to increase the size configuration in your server to avoid these issues.

You may also increase the “maxPostSize” in the server.xml file that is located under $TOMCAT_HOME/conf/server.xml and add the parameter maxPostSize=”value of the max size”.  Additionally, you may adjust “maxHttpHeaderSize” (the maximum size of the request and response HTTP header, specified in bytes) to correct the issues.