A stalled node still answers every RPC call, fast and with HTTP 200, but its block height has stopped moving. The only way to see it is to compare the height between checks: if the number hasn't changed for longer than the chain's normal gap between blocks, the node is stuck.
The day we shipped stall detection, it found one in someone else's production pool within the first hour. We were testing against a community-run XRPL pool, a load balancer in front of many donated XRP Ledger nodes. Most checks came back clean with HTTP 200 in 30 to 50 milliseconds and a ledger index climbing by about 16 a minute. Then a check landed on one backend and the monitor went red while the HTTP layer stayed green:
# What the HTTP layer saw:
HTTP 200, 247ms
# What was inside the response:
{ "result": { "error": "amendmentBlocked", "error_code": 14,
"error_message": "Amendment blocked, need upgrade." } }
That node was amendment blocked. The XRPL network had adopted a protocol amendment its rippled version didn't support, so it could no longer process ledgers, but it kept answering every call quickly. A monitor that only reads the status code would call it healthy forever, which is probably how it stayed in a live pool serving traffic.
Why a running node can still be stalled
A node has two layers that fail separately: the RPC server that answers HTTP, and the node itself, which follows the chain. Most monitors watch the first layer, while the failures that matter happen in the second:
- The height freezes because the node lost its peers or fell out of consensus, and the RPC server keeps answering from the last state it knows.
- The node returns an error inside a 200, because JSON-RPC puts errors in the response body.
amendmentBlockedis one; rate limits and sync errors are others. - The node is stuck syncing and serves stale data while it tries to catch up, sometimes forever.
The guide on monitoring a JSON-RPC node covers all the checks an RPC node needs. This one is about the frozen height, because it gets past both status checks and JSON assertions: the height is there and it's a valid number, it just isn't moving, and a monitor that looks at each response on its own can't know that.
Catching a stall means remembering the last value and comparing. One reading tells you nothing; the change between two readings is the whole signal.
How value tracking works
Value tracking gives a failover.io HTTP monitor that memory. You set two things: the value path, which is where the number sits in the response JSON (result for eth_blockNumber, result.sync_info.latest_block_height for a Tendermint /status endpoint), and the stall window, which is how many seconds the value may stay the same before the check fails.
On every check the monitor reads the value, decodes hex when the chain returns it that way (EVM and Substrate heights look like 0x16a2c80) and compares it with the last reading. Any change resets the clock. Once the value has been the same for longer than the window, the check fails with a reason that says so. From our own test logs, with a 120-second window and a value we kept constant:
# check at 119s of stall: up
# check at 179s of stall:
down: Tracked value stalled: result = 1 unchanged for 179s (window 120s)
# every check after that, until the value moves again:
down: Tracked value stalled: result = 1 unchanged for 239s (window 120s)
down: Tracked value stalled: result = 1 unchanged for 299s (window 120s)
The rest of the system treats a stall like any other failure. It counts toward the retry threshold, opens an incident and runs the monitor's alert chain, for example Slack, then SMS, then a phone call, until someone acknowledges. It doesn't matter that the node answered in 30 milliseconds the whole time.
An error inside a 200 is caught too. When a node returns an error object instead of a result, the value path doesn't exist in the response, so the check fails and the failure reason includes the node's own message. That's how the amendment-blocked node showed up: with the rippled error text, which told us what was wrong before anyone opened a terminal.
Set it up
Create an HTTP monitor, open Blockchain node tracking and pick an RPC preset. There are seven: Bitcoin Core, EVM (Ethereum, Polygon, BSC and L2s), Solana, Tendermint and Cosmos, Polkadot and Substrate, XRP Ledger and NEAR. A preset fills in the method, the JSON-RPC body, the value path and a stall window sized for the chain. For anything else, type your own path and window. It works on any JSON endpoint with a number that should keep changing, including queue depths and Kafka consumer offsets. You can try a path against a sample response first in the JSONPath tester.
For a node behind authentication, put the credentials in the monitor's custom headers (up to 20 per monitor). Hosted providers that put the key in the URL path work as is.
Choosing the stall window
The window has to be longer than the longest normal gap between blocks, or you'll get alerts for nothing. Bitcoin is where people get caught. A single gap over an hour is rare (about 0.25% of blocks), but there are about 144 gaps a day, so one of them passes an hour every 2 to 3 days. A one-hour window means false alerts a couple of times a week for blocks that arrived exactly as Bitcoin intends, and a 90-minute window still fires every couple of months. Gaps over 2 hours happen about once every 3 years, which is why the Bitcoin preset uses 7,200 seconds. Faster chains can use much shorter windows:
| Chain | Block time | Preset window |
|---|---|---|
| Solana | about 400 ms slots | 30 s |
| Ethereum and EVM chains | about 12 s | 60 s |
| Tendermint and Cosmos | about 6 s | 60 s |
| Polkadot | about 6 s | 60 s |
| XRP Ledger | about 4 s | 60 s |
| NEAR | about 1 s | 60 s |
| Bitcoin Core | about 10 min, gaps over 1 h are normal | 7,200 s |
A lower value counts as movement, not as a failure. A node that resyncs from a snapshot reports a lower height for a while, and a reorg can move the tip back briefly. Only a value that stays exactly the same fails the check.
Read the height in the check history
Each check stores the value it read next to its status and response time, so the monitor's check history shows the height for every check. During an incident that's the quickest view you have without logging in to the node: a healthy run shows the number going up on every row, and a stall shows the same number repeated while status and response time look normal. You can see the minute it froze and match it to a deploy, a peer drop or a full disk before you open a terminal.
Frequently asked questions
How do I know if my blockchain node is stuck?
Compare its block height between checks. A node can answer HTTP 200 with valid JSON while the height hasn't moved; the only reliable sign is a number that stopped changing for longer than the chain's normal block gap.
What stall window should I use for Ethereum?
About 60 seconds. Blocks arrive every 12 seconds, so a minute without a new block is already abnormal.
What stall window should I use for Bitcoin?
Around 2 hours (7,200 seconds). Hour-long gaps between Bitcoin blocks happen every few days by chance, so shorter windows cause false alerts.
Does a lower block height count as a stall?
No. Any change counts as movement, including a lower value after a node resyncs from a snapshot. Only a value that stays the same fails the check.