Error: electrs failed --- Please Help

Hello,

After working fine for months, my Umbrel has started to act up.

Specifically electrs, which appears to be failing.

Any wallet that I have connected to my node is no longer working because of this.

If I restart my Umbrel it appears to fix the problem, but only for about a day or so and then the problem comes back.

Any insight into how to fix this is very much appreciated.

electrs logs

Attaching to electrs
electrs | [2022-01-16T05:22:49.710Z INFO electrs::chain] loading 718917 headers, tip=0000000000000000000a2db0c046c471919a711cbdfd74cd1cc998fd77617e14
electrs | [2022-01-16T05:22:56.482Z INFO electrs::chain] chain updated: tip=0000000000000000000a2db0c046c471919a711cbdfd74cd1cc998fd77617e14, height=718917
electrs | [2022-01-16T05:22:57.320Z INFO electrs::daemon] waiting for 31 blocks to download (IBD)
electrs | [2022-01-16T05:23:13.919Z INFO electrs::db] closing DB at /data/db/bitcoin
electrs | Error: electrs failed
electrs |
electrs | Caused by:
electrs | 0: bitcoind RPC polling failed
electrs | 1: daemon not available
electrs | 2: JSON-RPC error: transport error: Didn’t receive response data in time, timed out.
electrs | Starting electrs 0.9.1 on aarch64 linux with Config { network: Bitcoin, db_path: “/data/db/bitcoin”, daemon_dir: “/data/.bitcoin”, daemon_auth: CookieFile("/data/.bitcoin/.cookie"), daemon_rpc_addr: V4(10.21.21.8:8332), daemon_p2p_addr: V4(10.21.21.8:8333), electrum_rpc_addr: V4(0.0.0.0:50001), monitoring_addr: V4(127.0.0.1:4224), wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: Some(200), reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: “Umbrel v0.4.10”, args: [] }
electrs | [2022-01-16T05:23:17.154Z INFO electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
electrs | [2022-01-16T05:23:17.327Z INFO electrs::db] “/data/db/bitcoin”: 135 SST files, 33.413071687 GB, 4.160915982 Grows
electrs | [2022-01-16T05:23:23.218Z INFO electrs::chain] loading 718917 headers, tip=0000000000000000000a2db0c046c471919a711cbdfd74cd1cc998fd77617e14
electrs | [2022-01-16T05:23:28.008Z INFO electrs::chain] chain updated: tip=0000000000000000000a2db0c046c471919a711cbdfd74cd1cc998fd77617e14, height=718917
electrs | [2022-01-16T05:24:05.150Z INFO electrs::db] closing DB at /data/db/bitcoin
electrs | Error: electrs failed
electrs |
electrs | Caused by:
electrs | 0: bitcoind RPC polling failed
electrs | 1: daemon not available
electrs | 2: JSON-RPC error: transport error: Didn’t receive response data in time, timed out.
electrs | Starting electrs 0.9.1 on aarch64 linux with Config { network: Bitcoin, db_path: “/data/db/bitcoin”, daemon_dir: “/data/.bitcoin”, daemon_auth: CookieFile("/data/.bitcoin/.cookie"), daemon_rpc_addr: V4(10.21.21.8:8332), daemon_p2p_addr: V4(10.21.21.8:8333), electrum_rpc_addr: V4(0.0.0.0:50001), monitoring_addr: V4(127.0.0.1:4224), wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: Some(200), reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: “Umbrel v0.4.10”, args: [] }
electrs | [2022-01-16T05:24:08.659Z INFO electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
electrs | [2022-01-16T05:24:08.759Z INFO electrs::db] “/data/db/bitcoin”: 136 SST files, 33.413072491 GB, 4.160915983 Grows
electrs | [2022-01-16T05:24:14.700Z INFO electrs::chain] loading 718917 headers, tip=0000000000000000000a2db0c046c471919a711cbdfd74cd1cc998fd77617e14
electrs | [2022-01-16T05:24:20.852Z INFO electrs::chain] chain updated: tip=0000000000000000000a2db0c046c471919a711cbdfd74cd1cc998fd77617e14, height=718917
electrs | [2022-01-16T05:24:33.040Z INFO electrs::daemon] waiting for 0 blocks to download (IBD)
electrs | [2022-01-16T05:24:34.087Z INFO electrs::server] serving Electrum RPC on 0.0.0.0:50001
electrs | [2022-01-16T05:59:42.878Z INFO electrs::db] closing DB at /data/db/bitcoin

1 Like

Maybe you should look into how to delete the old electrs database and create a new clean one.
Start here

and an interesting case here

Thank you for the response.

Unfortunately I do not see the instructions for how to do this in those links.

Is there a simple explanation on how to do this with the Umbrel?

Really appreciate any insight.

1 Like