Passer au contenu

Nous améliorons nos opérations pour mieux vous servir. Les commandes sont expédiées normalement depuis Laval, QC. Questions? Contactez-nous

Bitcoin accepté au paiement  |  Expédié depuis Laval, QC, Canada  |  Soutien expert depuis 2016

NET_ERR Info

ASIC Miner – Web Interface Not Loading

Web UI unreachable on <code>http://<miner-ip>/</code> while the cgminer/btminer API on port <code>4028</code> and pool stratum connection remain alive — dashboard daemon crashed, firmware regression, browser / network-path problem, or control-board storage corruption.

Informational — Monitor and address as needed

Affected Models: Antminer S9 · S9j · S9k · L3+ · L7 · T17 · S17 · S17 Pro · T19 · S19 · S19 Pro · S19j · S19j Pro · S19 XP · S19 XP Hydro · S19k Pro · S21 · S21 Pro · S21 XP · T21. Cross-referenced against Whatsminer M30S / M50 / M60S and Canaan Avalon A1246 / A1366 where the same symptom appears.

Symptoms

  • Browser to `http://<miner-ip>` returns `ERR_CONNECTION_REFUSED` (Chrome/Edge) or `Unable to connect` (Firefox)
  • Browser to `http://<miner-ip>` returns `ERR_CONNECTION_TIMED_OUT` after ~30 seconds
  • Page loads partially — header renders then hangs on dashboard AJAX calls (stuck spinner, no hashrate numbers)
  • `502 Bad Gateway` or `504 Gateway Timeout` from an `nginx` / `lighttpd` error page — web daemon up, mining back-end not answering
  • Blank white page — DOM renders, console shows `Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH` or `Mixed Content` warnings
  • HTTP basic-auth prompt appears but every credential combination returns `401 Unauthorized`
  • `ping <miner-ip>` answers cleanly; `nc -zv <miner-ip> 80` returns `Connection refused` or `timed out`
  • `nc -zv <miner-ip> 4028` returns `succeeded` — cgminer / btminer API is alive, only the web layer is dead
  • Pool dashboard (Ocean, Braiins, NiceHash, F2Pool, ViaBTC) shows the worker online and submitting shares — miner is hashing, only the UI is gone
  • Green LED on the control board is steady or blinking at the normal mining-OK cadence
  • Web UI loads fine from one device but not another on the same LAN — points at browser cache / client-side, not the miner
  • Web UI used to work, then a firmware update happened, then it stopped
  • `curl -v http://<miner-ip>/` returns `curl: (7) Failed to connect` or `HTTP/1.1 500 Internal Server Error`
  • Factory reset / IP reporter button returned the miner's IP but the UI at that IP refuses the connection

Step-by-Step Fix

1

Hard power-cycle the miner. 30 seconds off at the wall — not a soft restart. Clears a wedged `lighttpd` / `nginx` / `btminer-api` daemon state, which resolves roughly 60% of tickets D-Central sees for this error. Wait 3 minutes after power-up before retrying the browser — the full boot chain on an S19-class control board is 90-120 seconds and the web daemon is one of the last services to come up.

2

Try a different browser in an incognito/private window. Chrome HSTS cache and extensions like uBlock, privacy tools, and MDM profiles silently break LAN-side HTTP calls to private IPs. Open a private window in a browser you don't normally use and hit `http://<miner-ip>/` with an explicit `http://` prefix — never `https://` on stock Bitmain. Rules out about 30% of 'dead UI' tickets without touching the miner.

3

Try a different machine on the same subnet: phone on WiFi, laptop on Ethernet, a Pi. If the UI loads from any one of them, the problem is client-side on the first machine (DNS cache, firewall, antivirus, MDM, extension). If it fails from all of them, the problem is the miner or the network path between them and the miner.

4

Flush DNS on your workstation: `ipconfig /flushdns` on Windows, `sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder` on macOS, `sudo resolvectl flush-caches` on Linux. Clears stale hostname lookups if you've been accessing the miner by `miner.local` or a DHCP-assigned name and the lease recently changed.

5

Factory reset via the physical reset button. Power the miner on, wait 2 minutes for full boot, press and hold the reset button for 5 seconds. Wait 4 minutes for the auto-restart. This wipes pool config, passwords, and tuning — note your pool URL and worker name first. Restores a clean `lighttpd` state on stock Bitmain; on custom firmware consult the firmware-specific reset procedure. Source: `support.bitmain.com/hc/en-us/articles/115003595387`.

6

Confirm ports with nmap from a LAN machine: `nmap -p 22,80,443,4028,8080 <miner-ip>`. Stock Bitmain healthy state shows `80/tcp open` and `4028/tcp open`. Custom firmware adds `22/tcp open` and possibly `443/tcp open`. If `80` is filtered but `4028` is open: web daemon dead, mining alive — flash fix, not hardware fix. If all ports are filtered but ping answers: firewall or VLAN between you and the miner — check router/switch config.

7

Test the miner from a direct laptop-to-miner Ethernet cable. Unplug the miner's Ethernet from your switch/router, run a straight cable to your laptop, set the laptop to a static IP in the miner's subnet, then load `http://<miner-ip>/`. If it works direct, your LAN is the problem. If it still fails, the miner is the problem — isolates network path from miner state definitively in under 5 minutes.

8

Check the API with cgminer-api-over-nc: `echo '{"command":"summary"}' | nc <miner-ip> 4028`. Expected is a JSON response with `MHS av`, `Accepted`, `Rejected`, `Hardware Errors`, and uptime. If you get that response, the mining engine is fine — confirm against your pool dashboard. You are now free to fix the UI at your convenience without panic. Record the JSON; it is the minimum viable monitoring you can script in the meantime.

9

Roll firmware one version back or forward if the UI broke after a recent update. Identify your control-board revision from its sticker (typically `BHB42xxx` on S17-era, `BHB56xxx` / `BHB68xxx` on S19/S21 — verify the exact string). Download the previous stable build from `service.bitmain.com/support/download`. Flash via web UI (when back online) or SD card. On custom firmware, pull the previous release from the project's GitHub releases page. Back up your config first.

10

Check your router and network-security stack. Log in and look for: ASUS AiProtection (silently drops miner traffic — whitelist the MAC or disable), UniFi / Dream Machine IDS/IPS in strict mode (set miner as a trusted device), VLAN tagging across subnets (allow HTTP from your workstation VLAN), or parental/time-of-day controls catching the miner IP range. Restart the router once to clear any stuck firewall state.

11

SSH in and restart the web daemon without rebooting the miner. On custom firmware (DCENT_OS / Braiins OS+ / LuxOS / Vnish): `ssh root@<miner-ip>`, then `systemctl restart nginx` or `/etc/init.d/lighttpd restart`, and `ls -la /var/log/` to scan for recurring errors. Non-destructive — leaves mining uninterrupted. On Bitmain stock, SSH is almost always off, which is itself the Tier 3 upgrade trigger.

12

Cross-flash DCENT_OS (D-Central's own open-source Antminer firmware — the Mining Hackers' option: modern `nginx` web stack, SSH by default, per-chip HW%, autotuning, stratum v2, open-source on GitHub, no licensing fees). Fixes this error permanently on Antminer hardware. Alternatives: Braiins OS+, LuxOS, Vnish. On Whatsminer: stick with matched official `btminer` bundles — DCENT_OS is Antminer-only. On Canaan: use official AvalonMiner firmware.

13

UART console recovery for an unresponsive control board. Pull the control board, connect a 3.3 V USB-to-serial adapter (FTDI FT232RL or CP2102) to the documented UART header (`TX` / `RX` / `GND` labels on S17/S19), 115200 baud 8N1. Power the miner. You will see U-Boot output, kernel boot messages, services starting. From this console check `dmesg`, restart services, or drop to the U-Boot prompt. No U-Boot output at all = SoC or power-rail failure — Tier 4.

14

Re-image an SD-card-booting control board (S9/S17 and some S19 revisions). Pull the microSD card, image the latest stock or DCENT_OS build via Balena Etcher onto a 16 GB FAT32-formatted card, re-insert, and boot. The web UI comes back alongside a fresh rootfs — you will have to reconfigure the miner. Firmware source: `service.bitmain.com/support/download` for stock, `github.com/DCentralTech/DCENT_OS/releases` for DCENT_OS.

15

Re-image an eMMC-booting control board (S19 XP / S21 / S21 Pro / S21 XP). These require the emergency-recovery SD card — ships with the miner or available from Bitmain for specific control-board revisions. Boot from SD, run the eMMC flasher, then boot from the freshly-written eMMC. Unforgiving if you use the wrong firmware for the wrong control-board revision — verify the hardware revision label on the board before flashing.

16

Stop DIY and book a D-Central bench slot when all three are true: UART shows no boot output or repeated filesystem error lines, SD card flash or eMMC reflash does not restore boot, and the miner has stopped hashing as well as losing the UI. You are looking at eMMC wearout, SoC failure, or PMIC failure — test-fixture territory. Book at `https://d-central.tech/services/asic-repair/`.

17

D-Central bench process: documented U-Boot access and eMMC programmer, JTAG recovery where available on the specific SoC (Xilinx Zynq on older Antminers, Amlogic / custom on newer Bitmain, custom on Whatsminer), eMMC chip replacement with programmed stock from inventory if wearout is confirmed, PMIC sanity check, and 24-hour burn-in at nameplate to verify both the UI and the mining engine stay up under sustained load.

18

Ship safely. Control-board-only repairs: anti-static bag, bubble-wrap padding, small box — the control board is roughly 150 mm × 80 mm and ships cheaply. Full-miner ship-ins: original Bitmain box if available, otherwise double-walled box with ≥5 cm foam on every side, fans removed or padded, PSU shipped separately or padded. Include a note with observed symptoms, firmware build string, network steps already tried, and contact info — saves us diagnostic time and your repair cost.

When to Seek Professional Repair

If the steps above do not resolve the issue, or if you are not comfortable performing these repairs yourself, professional service is recommended. Attempting advanced repairs without proper equipment can cause further damage.

Related Error Codes

Still Having Issues?

Our team of Bitcoin Mining Hackers has been repairing ASIC miners since 2016. We have seen it all and fixed it all. Get a professional diagnosis.