Cannot upload large files (Request Entity Too Large)
When uploading a file of ~400MB, Dashboard display's an error. It seems to indicate that it the upload hits a file size limit of Tank
Steps to Reproduce
- In Dashboard navigate to the files and upload manager
- Click upload file
- Select a
flac
file larger than 400MB - Click upload
Expected Result
The file is uploaded and no error is displayed.
Actual Result
No file is uploaded, a browser alert is displayed:
Logs & configuration
Default Tank configuration of Aura Web Docker Compose.
Browser console:
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) http://aura.local/tank/api/v1/shows/musikprogramm/files/12/upload
vue-logger.js:95 error | 413 Request Entity Too Large
{
"data": "<html>\r\n<head><title>413 Request Entity Too Large</title></head>\r\n<body>\r\n<center><h1>413 Request Entity Too Large</h1></center>\r\n<hr><center>nginx/1.20.2</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n",
"status": 413,
"statusText": "Request Entity Too Large",
"headers": {
"connection": "close",
"content-length": "585",
"content-type": "text/html",
"date": "Mon, 01 Aug 2022 15:08:22 GMT",
"server": "nginx/1.20.2"
},
"config": {
"transformRequest": {},
"transformResponse": {},
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/octet-stream",
"Authorization": "Bearer **redacted**"
},
"method": "put",
"withCredentials": true,
"url": "http://aura.local/tank/api/v1/shows/musikprogramm/files/12/upload",
"data": {
"$path": ""
}
},
"request": {}
}
Environment
- Aura Web Docker Compose