Electrum Service Failed
See original GitHub issueHi there, im having an issue to get the electrum service to run properly. LN and BTC are both running fine.
I get the following code:
*** LAST 20 ElectRS LOGS *** sudo journalctl -u electrs -b --no-pager -n20 – Journal begins at Sat 2022-11-05 06:47:31 GMT, ends at Sat 2022-11-05 20:17:40 GMT. – Nov 05 20:16:42 raspberrypi systemd[1]: electrs.service: Consumed 8.208s CPU time. Nov 05 20:16:42 raspberrypi systemd[1]: Started Electrs. Nov 05 20:16:42 raspberrypi electrs[973427]: Starting electrs 0.9.7 on aarch64 linux with Config { network: Bitcoin, db_path: “/mnt/hdd/app-storage/electrs/db/bitcoin”, daemon_dir: “/home/electrs/.bitcoin”, daemon_auth: UserPass(“raspibolt”, “<sensitive>”), daemon_rpc_addr: 127.0.0.1:8332, daemon_p2p_addr: 127.0.0.1:8333, electrum_rpc_addr: 0.0.0.0:50001, monitoring_addr: 127.0.0.1:4224, wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: None, reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: “Welcome to electrs v0.9.7 - the Electrum Rust Server on your RaspiBlitz”, args: [] } Nov 05 20:16:42 raspberrypi electrs[973427]: [2022-11-05T20:16:42.479Z INFO electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224 Nov 05 20:16:42 raspberrypi electrs[973427]: [2022-11-05T20:16:42.479Z INFO electrs::server] serving Electrum RPC on 0.0.0.0:50001 Nov 05 20:16:42 raspberrypi electrs[973427]: [2022-11-05T20:16:42.636Z INFO electrs::db] “/mnt/hdd/app-storage/electrs/db/bitcoin”: 1953 SST files, 56.666234871 GB, 4.696112756 Grows Nov 05 20:16:46 raspberrypi electrs[973427]: [2022-11-05T20:16:46.604Z INFO electrs::chain] loading 761240 headers, tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678 Nov 05 20:16:50 raspberrypi electrs[973427]: [2022-11-05T20:16:50.412Z INFO electrs::chain] chain updated: tip=000000000000000000022fa13b5abb217c073ed005a73834cb886470af426678, height=761240 Nov 05 20:16:50 raspberrypi electrs[973427]: [2022-11-05T20:16:50.455Z INFO electrs::index] indexing 635 blocks: [761241…761875] Nov 05 20:16:50 raspberrypi electrs[973427]: thread ‘p2p_loop’ panicked at ‘invalid message: OversizedVectorAllocation { requested: 12000072, max: 4000000 }’, src/p2p.rs:250:70 Nov 05 20:16:50 raspberrypi electrs[973427]: note: run with
RUST_BACKTRACE=1environment variable to display a backtrace Nov 05 20:16:50 raspberrypi electrs[973427]: [2022-11-05T20:16:50.647Z INFO electrs::db] closing DB at /mnt/hdd/app-storage/electrs/db/bitcoin Nov 05 20:16:50 raspberrypi electrs[973427]: Error: electrs failed Nov 05 20:16:50 raspberrypi electrs[973427]: Caused by: Nov 05 20:16:50 raspberrypi electrs[973427]: 0: sync failed Nov 05 20:16:50 raspberrypi electrs[973427]: 1: failed to get block 000000000000000000070742427fa10ec3c66d006160155a704d9f56d090a3ea Nov 05 20:16:50 raspberrypi electrs[973427]: 2: receiving on an empty and disconnected channel Nov 05 20:16:50 raspberrypi systemd[1]: electrs.service: Main process exited, code=exited, status=1/FAILURE Nov 05 20:16:50 raspberrypi systemd[1]: electrs.service: Failed with result ‘exit-code’. Nov 05 20:16:50 raspberrypi systemd[1]: electrs.service: Consumed 8.190s CPU time.*** ElectRS Status ***
STATUS ELECTRS SERVICE
configured=1 serviceInstalled=1 serviceRunning=0 serviceRunning=0 tipSynced=0 initialSynced=0 electrumResponding=0 infoSync=‘Not running - check: sudo journalctl -u electrs’
Issue Analytics
- State:
- Created a year ago
- Comments:8

Top Related StackOverflow Question
Small update Needed to update LND to 0.15.4-beta as well to get it working again. This was also suggested by @vv01f in #3406 Now it’s all is working fine again.
I suppose you get the same result with the new image (1.8.0c) from @rootzoll which he prepared very quickly. Thanks again for all the hard work and support, I really appreciate it.
thanks for your help guys - i’ve followed advise here and all is now working