Electrs never syncs, stalls at 21-23%

My BTC node is 100% synced, but Electrs (v 0.9.14) will not sync. The progress will not go past 22 or 23%. I’ve removed/reinstalled it, waited several days. Sometimes it just says that it’s waiting for the node to sync, which it has already done for weeks now. I’m stuck! I’m on a mac running Umbrel on a Raspberry Pi.

Any help for a BTC node/non-tech noob would be much appreciated!

Screen Shot 2023-10-24 at 8.04.40 PM|690x479

Hi there

Can you please try the following and share the output here:

then run the following

~/umbrel/scripts/app compose electrs logs --tail 250

Thanks for your guidance. Below is about 10% of the output

umbrel@umbrel:~ $ ~/umbrel/scripts/app compose electrs logs --tail 250
Attaching to electrs_app_1, electrs_app_proxy_1, electrs_tor_server_1, electrs_tor_1, electrs_electrs_1
app_proxy_1 | yarn run v1.22.19
app_proxy_1 | $ node ./bin/www
app_proxy_1 | [HPM] Proxy created: / → http://10.21.22.4:3006
app_proxy_1 | Waiting for 10.21.22.4:3006 to open…
app_proxy_1 | Electrs is now ready…
app_proxy_1 | Listening on port: 2102
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
app_1 | at TCP. (node:net:709:12)
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:49:03.290 [notice] Tor 0.4.7.8 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1n, Zlib 1.2.11, Liblzma N/A, Libzstd N/A and Glibc 2.31 as libc.
tor_1 | Oct 25 20:49:03.290 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
tor_1 | Oct 25 20:49:03.290 [notice] Read configuration file “/etc/tor/torrc”.
tor_1 | Oct 25 20:49:03.316 [notice] Opening Socks listener on 127.0.0.1:9050
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:49:03.317 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
app_1 | ::ffff:10.21.0.4 - - [Wed, 25 Oct 2023 21:08:23 GMT] “GET /v1/electrs/syncPercent HTTP/1.1” 500 2 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0”
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:49:03.000 [notice] Bootstrapped 0% (starting): Starting
tor_1 | Oct 25 20:49:03.000 [notice] Starting with guard context “default”
electrs_1 | , 6, 140, 155, 226, 81, 152, 43, 188, 187, 211, 240, 23, 191, 29, 136, 172, 160, 134, 1, 0, 0, 0, 0, 0, 25, 118, 169, 20, 171, 255, 235, 80, 255, 73, 1, 10, 77, 161, 113, 43, 134, 5, 208, 195, 106, 197, 171, 54, 136, 172, 160, 134, 1, 0, 0, 0, 0, 0, 25, 118, 169, 20, 172, 34, 214, 12, 162, 36, 138, 40, 156, 227, 217, 214, 187, 239, 129, 50, 97, 135, 11, 160, 136, 172, 224, 147, 4, 0, 0, 0, 0, 0, 25, 118, 169, 20,

A HUGE PILE OF NUMBERS DELETED TO GET UNDER THE CHARACTER LIMIT

253, 111, 211, 136, 172, 48, 246, 41, 0, 0, 0, 0, 0, 25, 118, 169, 20, 218, 203, 25, 240, 59, 2, 177, 140, 82, 58, 221, 204, 17, 255, 131, 13, 247, 187, 190, 224, 136, 172, 0, 0, 0, 0])': unsupported segwit version: 0
electrs_1 | Error: electrs failed
app_1 |
tor_1 | Oct 25 20:49:04.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 |
tor_1 | Oct 25 20:51:04.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | Caused by:
app_1 | umbrel-middleware
tor_1 | Oct 25 20:51:04.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
tor_1 | Oct 25 20:51:05.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
electrs_1 | 0: sync failed
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:05.000 [notice] Bootstrapped 20% (onehop_create): Establishing an encrypted directory connection
tor_1 | Oct 25 20:51:05.000 [notice] Bootstrapped 25% (requesting_status): Asking for networkstatus consensus
app_1 | Electrum attempting reconnect…
electrs_1 | 1: failed to get block 0000000000000233a5d1b66b716e53e8b774bf689c9a8a59c174abb84f268b7b
tor_1 | Oct 25 20:51:05.000 [notice] Bootstrapped 30% (loading_status): Loading networkstatus consensus
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | 2: receiving on an empty and disconnected channel
tor_server_1 | Oct 25 20:49:03.306 [notice] Tor 0.4.7.8 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1n, Zlib 1.2.11, Liblzma N/A, Libzstd N/A and Glibc 2.31 as libc.
tor_1 | Oct 25 20:51:05.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus.
electrs_1 | Starting electrs 0.9.14 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: 10.21.21.8:8332, daemon_p2p_addr: 10.21.21.8: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, skip_block_download_wait: false, disable_electrum_rpc: false, server_banner: “Umbrel Electrs (0.9.14)”, signet_magic: f9beb4d9, args: }
tor_server_1 | Oct 25 20:49:03.306 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
tor_1 | Oct 25 20:51:05.000 [notice] Bootstrapped 40% (loading_keys): Loading authority key certs
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:21.294Z INFO electrs::metrics::metrics_impl] serving Prometheus metrics on 127.0.0.1:4224
tor_server_1 | Oct 25 20:49:03.307 [notice] Read configuration file “/tmp/torrc”.
tor_1 | Oct 25 20:51:06.000 [notice] The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services.
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:21.294Z INFO electrs::server] serving Electrum RPC on 0.0.0.0:50001
tor_server_1 | Oct 25 20:49:03.346 [notice] Opening Socks listener on 127.0.0.1:9050
tor_1 | Oct 25 20:51:06.000 [notice] Bootstrapped 45% (requesting_descriptors): Asking for relay descriptors
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:21.328Z INFO electrs::db] “/data/db/bitcoin”: 22 SST files, 0.185650457 GB, 0.013350729 Grows
tor_server_1 | Oct 25 20:49:03.347 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
tor_1 | Oct 25 20:51:06.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/8069, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of end bw (no exits in consensus, using mid) = 0% of path bw.)
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:22.266Z INFO electrs::chain] loading 172280 headers, tip=0000000000000043fbc211a98ecac9305cce590f70b3a864076f18d6c48f7fc6
tor_server_1 | Oct 25 20:49:03.000 [notice] Bootstrapped 0% (starting): Starting
tor_1 | Oct 25 20:51:07.000 [notice] Bootstrapped 50% (loading_descriptors): Loading relay descriptors
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:23.316Z INFO electrs::chain] chain updated: tip=0000000000000043fbc211a98ecac9305cce590f70b3a864076f18d6c48f7fc6, height=172280
tor_server_1 | Oct 25 20:49:03.000 [notice] Starting with guard context “default”
tor_1 | Oct 25 20:51:13.000 [notice] The current consensus contains exit nodes. Tor can build exit and internal paths.
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:23.392Z INFO electrs::index] indexing 2000 blocks: [172281…174280]
tor_server_1 | Oct 25 20:49:04.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
tor_1 | Oct 25 20:51:31.000 [notice] Bootstrapped 57% (loading_descriptors): Loading relay descriptors
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:23.400Z WARN electrs::thread] p2p_recv thread failed: sending on a disconnected channel
tor_server_1 | Oct 25 20:49:05.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
tor_1 | Oct 25 20:51:31.000 [notice] Bootstrapped 62% (loading_descriptors): Loading relay descriptors
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
electrs_1 | [2023-10-25T21:03:23.400Z INFO electrs::db] closing DB at /data/db/bitcoin
tor_server_1 | Oct 25 20:49:05.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
tor_1 | Oct 25 20:51:33.000 [notice] Bootstrapped 71% (loading_descriptors): Loading relay descriptors
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:35.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:36.000 [notice] Bootstrapped 80% (ap_conn): Connecting to a relay to build circuits
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:36.000 [notice] Bootstrapped 85% (ap_conn_done): Connected to a relay to build circuits
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:37.000 [notice] Bootstrapped 89% (ap_handshake): Finishing handshake with a relay to build circuits
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:38.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
app_1 | Electrum attempting reconnect…
app_proxy_1 | Validating token: 399fb832abb9 …
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:38.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
app_1 | Electrum attempting reconnect…
tor_server_1 | Oct 25 20:49:06.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
app_proxy_1 | Validating token: 399fb832abb9 …
tor_1 | Oct 25 20:51:38.000 [notice] Bootstrapped 100% (done): Done
app_1 | syncPercent error: Error: connect EHOSTUNREACH 10.21.21.10:50001
tor_server_1 | Oct 25 20:49:06.000 [notice] Bootstrapped 20% (onehop_create): Establishing an encrypted directory connection
app_proxy_1 | Validating token: 399fb832abb9 …