Step-by-step guide
How to fix "413 Request Entity Too Large" when updating Antminer E3 firmware
Short answer: the Antminer E3 "413 Request Entity Too Large" error during a firmware upgrade appears when the miner's internal storage is full, so it cannot accept the firmware file. SSH into the miner (user root, password admin by default), run df to confirm the root filesystem is at 100%, delete the big crash-dump file with rm /core, and then flash the firmware again from the Upgrade page.
In this guide you will update a Bitmain Antminer E3 from firmware 4.9 to 5.4 exactly as I did in the video: check the current version, download the official file, see the 413 error, fix it from the Mac Terminal, flash again and confirm the new version after the reboot. I also show how to do the same from Windows with PuTTY, how to clear the "remote host identification has changed" SSH warning, and a troubleshooting table for other upload problems.
In this article
- Check the current firmware version
- Download the official E3 firmware from Bitmain
- Try the normal upgrade from the Upgrade page
- Recognize the 413 Request Entity Too Large error
- Open the Terminal and SSH into the miner
- Fix "Remote host identification has changed"
- Check the free space with df
- Delete the core file with rm /core
- Run df again to confirm the space is free
- Use basic commands and exit
- Flash the firmware again
- Wait for "System Upgrade Succeeded" and the reboot
- Confirm the new firmware version
- On Windows: do the same with PuTTY
- Why the Antminer E3 firmware upgrade gives a 413 error
- Antminer E3 413 error troubleshooting
- Safety tips before flashing any Antminer firmware
- Is it still worth updating an Antminer E3?
- Frequently asked questions
- Watch the video
Step 1Check the current firmware version

- Type the miner's IP address in your browser and log in to the Antminer web interface.
- On System > Overview, look at the CGminer Version. My E3 showed 4.9.0, so it needed the 5.4 update.
- Write down the version: after the upgrade you will come back to this page to confirm it changed.
- Tip: if you do not know the IP, look it up in your router's list of connected devices (or give the miner a fixed address, see DHCP reservation on UniFi).
Step 2Download the official E3 firmware from Bitmain

- Go to Bitmain's official support site and open Product Manual & Firmware > Ethash Miners > Antminer E3.
- Download the firmware file. In the video it is E3_V5.40_0327.tar.gz (34.84 MB); the description says it extends the E3 miner life and fixes a corner case of abnormal operation on ETC.
- Do not unzip the
.tar.gz: the miner expects the file as it comes. - Common mistake: firmware from random forums or file-sharing sites. Only use Bitmain's file, and compare the MD5 shown on the page (Mac:
md5 file.tar.gz; Windows:certutil -hashfile file.tar.gz MD5).
Caution: Flashing firmware is risky: if something goes wrong you can brick the miner and there may be no way back. Do it only if you accept that risk.
Step 3Try the normal upgrade from the Upgrade page

- Open System > Upgrade. Under Flash new firmware image, click Choose File, select the
.tar.gzand click Flash image, then confirm. - Leave Keep settings checked if you want to keep your pool configuration.
- Make sure the miner is on a UPS or a reliable power source: a power cut in the middle of a flash is the classic way to brick it (see my CyberPower UPS setup).
Step 4Recognize the 413 Request Entity Too Large error

- Instead of upgrading, the browser shows a page that only says "413 - Request Entity Too Large", and the firmware stays the same.
- HTTP status 413 means the web server refused the upload because it is bigger than it can accept. On this E3 the reason was that the root filesystem was 100% full, with only 8 KB free, so there was no room for the 35 MB file.
- The space was taken by a large file called core in the root folder (a crash dump). Deleting it is the fix shown in the next steps.
Step 5Open the Terminal and SSH into the miner

- On a Mac or Linux computer, open Terminal and type
ssh root@<miner-IP>. In the video it isssh root@192.168.2.125; use your own IP. - Answer yes when asked whether to continue connecting, then enter the password. The default user is root and the password is admin.
- Nothing appears while you type the password; that is normal. If you get "Permission denied", retype it carefully.
- On Windows, use PuTTY or the built-in
sshcommand (Step 14).
Step 6Fix "Remote host identification has changed"

- If SSH stops with "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED", your computer remembers an old key for that IP (for example, a different device or a reflashed miner used it before).
- Run
ssh-keygen -R 192.168.2.125with your miner's IP. It removes the old entry fromknown_hosts; then connect again withssh root@IP. - Only do this on your own local network when you know the device is yours; on unknown networks that warning can mean someone is intercepting the connection.
Step 7Check the free space with df

- Type
dfand press Enter. Look at the line ubi0:rootfs mounted on /. - On my miner it showed 115,488 KB total, 115,480 KB used, 8 KB available, 100%. That is why the upload failed.
- Go to the root folder with
cd /(with a space) and runlsorls -la: you will see a file called core.
Step 8Delete the core file with rm /core

- Type
rm /coreand press Enter. That deletes the dump file that filled the storage. - A core file is a memory dump written when a program crashes; the miner does not need it to run.
- Type it exactly. Do not delete other files or folders such as
/config, and never userm -rfhere.
Caution: You are logged in as root: a wrong rm command can delete system files and break the miner.
Step 9Run df again to confirm the space is free

- Run
dfagain. In the video the root filesystem dropped to 44%: 51,116 KB used and 64,372 KB available. - That is more than enough room for the roughly 35 MB firmware file.
- If it is still near 100%, the space is used by something else; stop and get help instead of deleting random files.
Step 10Use basic commands and exit

- Useful commands while you are in:
lslists files,cd ..goes up one folder,cd /goes to the root, andpwdshows where you are. - When you are done, type
exitto close the SSH session (or just close the Terminal window). - If you want to learn more Terminal basics, see how to install and upgrade Python from the Mac Terminal.
Step 11Flash the firmware again

- Back in the browser, go to System > Upgrade, choose the same
.tar.gzand click Flash image. - This time the 413 error does not appear: you will see Upload firmware image... while it uploads.
- Do not close the page, refresh, or power off the miner while it uploads and flashes.
Step 12Wait for "System Upgrade Succeeded" and the reboot

- After a few minutes the page shows System Upgrade Succeeded and Rebooting system... please wait for 120 seconds.
- Wait the full two minutes. The miner restarts and the web interface is unavailable during that time.
- Common mistake: unplugging it because it looks frozen. Give it time.
Step 13Confirm the new firmware version

- Refresh the browser and open System > Overview again.
- The CGminer Version now shows 5.4.0, the latest version in the video. The miner was working on 5.4 right after.
- Then check your pool settings in Miner Configuration and that the miner is hashing.
Step 14On Windows: do the same with PuTTY

- Download PuTTY from its official site, open it, type the miner's IP in Host Name (or IP address) and click Open (SSH, port 22 are the defaults).
- Log in as root with the password admin and run the same commands:
df,rm /core,df,exit. - Windows 10 and 11 also include an OpenSSH client, so
ssh root@IPin PowerShell works too. Ubuntu and other Linux distributions work like the Mac.
Why the Antminer E3 firmware upgrade gives a 413 error
HTTP 413 ("Request Entity Too Large", called "Content Too Large" in the current HTTP standard) is the code a web server returns when it refuses an upload because the request is bigger than it is willing or able to process. On a normal website that usually means an upload size limit. On the Antminer E3 in this video, the real problem was no free space:
- The root filesystem (ubi0:rootfs, about 113 MB) was 100% full, with 8 KB available.
- A large core file sat in the root folder. Core files are crash dumps a Linux system can write when a program crashes.
- The firmware file is about 35 MB, so the miner's web server could not accept it and answered 413.
Deleting /core freed about 63 MB, and the same file uploaded and flashed normally. So if your E3 shows 413, check df first before trying other firmware files or browsers.
Antminer E3 413 error troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| 413 Request Entity Too Large | Root filesystem full (core file) | SSH in, df, rm /core, df, flash again |
| ssh: Permission denied | Wrong password or user | User root, default password admin; type carefully |
| Remote host identification has changed | Old key saved for that IP | ssh-keygen -R <IP>, then reconnect |
| ssh: Connection refused or timed out | Wrong IP, miner off, different network | Check the IP in your router, be on the same LAN |
| Still 100% after rm /core | Space used by other files | Stop; do not delete random files, get help |
| Upgrade page hangs | Power or network interruption | Wait; do not unplug during a flash. Use a UPS |
| Miner not hashing after update | Pool settings lost | Re-enter pool URL, worker and password |
Note: if the miner no longer boots after a failed flash, recovery usually needs Bitmain's SD card recovery procedure for your model. Check Bitmain's support site for your exact miner.
Safety tips before flashing any Antminer firmware
- Use only official firmware from Bitmain's support site and check the MD5.
- Keep power stable: a UPS protects you from the most common cause of bricked miners.
- Do not interrupt the upload, flash or 120-second reboot.
- Back up your settings: the Upgrade page has a Backup option to download your configuration first.
- Be careful as root: the only thing this fix deletes is the file
/core. - Change default passwords if the miner is reachable by other people on your network;
root/adminis widely known.
If you are new to crypto in general, see my comparison of Bitcoin vs fiat money vs gold.
Is it still worth updating an Antminer E3?
The Antminer E3 is an Ethash miner. Ethereum moved to proof of stake in September 2022 ("the Merge"), so ETH can no longer be mined with it. The firmware notes in the video mention ETC (Ethereum Classic), which still uses a proof-of-work algorithm. Before you spend time on an old E3, check current profitability for the coins it can still mine, your electricity cost and whether your pool still supports it. The firmware fix itself is the same either way.
Frequently asked questions
What does 413 Request Entity Too Large mean on an Antminer?
The miner's web server refused the firmware upload. On the E3 in the video it happened because the root filesystem was 100% full, so there was no room for the file.
How do I fix the Antminer E3 413 error?
SSH into the miner as root, run df to confirm the storage is full, delete the crash-dump file with rm /core, run df again and flash the firmware from the Upgrade page.
What is the default SSH login for an Antminer E3?
In the video the user is root and the password is admin. If someone changed it, use the current password.
Is it safe to delete the core file on an Antminer?
The core file is a crash dump, and deleting it fixed the problem in the video. Only delete /core; removing other system files or folders can break the miner.
How do I SSH into an Antminer from Windows?
Use PuTTY: enter the miner's IP, SSH on port 22, click Open and log in as root. Windows 10 and 11 can also use ssh root@IP in PowerShell.
How do I fix 'remote host identification has changed'?
Run ssh-keygen -R followed by the miner's IP to remove the old saved key, then connect again.
Where do I download Antminer E3 firmware?
From Bitmain's official support site under Product Manual & Firmware, Ethash Miners, Antminer E3. The file in the video is E3_V5.40_0327.tar.gz.
Can a firmware update brick an Antminer?
Yes. A power loss or a wrong file during the flash can brick it, so use a UPS, use only official firmware and do not interrupt the process.
Watch the video




Comments
Comments appear after Gabriel reviews them.
Loading comments…