Problem description

Large files fail to upload to websites that are protected by Anti-DDoS Pro or Anti-DDoS Premium, and 413 errors occur.

Cause

The files that you uploaded to the websites protected by Anti-DDoS Pro or Anti-DDoS Premium exceed 300 MB in size.

Solution

  • Compress the files and then upload them. Make sure that the file or package you upload is not larger 300 MB in size.
  • We recommend that you store large files in OSS, rather than uploading them to ECS instances.
  • For occasional upload needs, you can modify the hosts file and directly upload large files to ECS instances. This upload method bypasses Anti-DDoS Pro or Anti-DDoS Premium.