Lagos, Nigeria
info@ezefidelity.com

How to fix HTTP error 413 in Google Chrome [Best Solutions]


  1. Launch Google Chrome.
  2. Click Menu (three dots) and select Settings.
  3. Scroll down and click on expand the Advanced section.
  4. Scroll down to the Reset and clean up section.
  5. Click Restore settings to their original defaults.
  6. Read the description carefully and click on Reset settings.
  7. The process may take some time; wait till it is completed and then relaunch the browser.

Resetting the browser to factory default will reset your startup page, new tab page, search engine, and pinned tabs. It will also disable all extensions and clear temporary data like cookies. Other data, like bookmarks, history, and saved passwords, will not be cleared.

If you don’t want to reset your Chrome browser yet, skip this step and proceed with the next steps.


Your client issued a request that was too large

  1. Press the Windows key, type cmd, then click on Run as Administrator for Command Prompt.
  2. In the Command Prompt window, type the following command and hit enter to execute:
    netsh Winsock reset
  3. Once done, close the Command Prompt and then restart the computer.
  4. Launch the browser and check for any improvements.

Modify PHP.ini 

http error 413

  1. Login to your PHP server.
  2. Enter the following command to access the php.ini file:
    nano /etc/php.ini
  3. If you are using PHP_FPM, use the following command:
    nano /etc/php5/fpm/php.ini
  4. Find the path for these files:
    upload_max_filesize
    post_max_size
  5. Once we have the file, increase its limit to 100M. It will look something like this:
    upload_max_filesize = 100M
    post_max_size = 100M
  6. Save the file and exit.

Make sure to restart PHP to apply the changes.

Modify Nginx.conf

Your client issued a request that was too large

  1. Login to your cloud server.
  2. Enter the following command to access the Nginx.conf file:
    nano /etc/Nginx/nginx.conf
  3. Find the following variable:
    client_max_body_size
  4. Increase the size limit to 100M. It will look something like this:
    client_max_body_size 100M;
  5. Once done, restart Nginx to apply the changes:
    sudo service Nginx restart

If the HTTP error 413 occurs only on your Chrome browser, you can mostly fix the issue by clearing the browser cache, flushing the socket pool, or resetting the browser default.

However, if the issue persists, try increasing the file size limit by following the article’s steps.




This post was written by Tashreef Shareef and was first posted to WindowsReport

Tags: , ,

%d bloggers like this: