-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Unable to sync, failed to get block #1071
Comments
Please make sure your
|
Thanks, i've update my bitcoin,conf bitcoind configurationsome values might be overruled directly systemd-service exec call parametersmainnet/testnettestnet=0 Bitcoind optionsserver=1 Connection settingsrpcuser=xxxxxx Raspberry Contabodbcache=2048 After I restarted bitcoin, lne and electr the sync resumed for a 10 minutes and then gave the same error again Starting electrs 0.10.5 on x86_64 linux with Config { network: Bitcoin, db_path: "/opt/data/electrs/.electrs/db/bitcoin", db_log_dir: None, daemon_dir: "/usr/bin/bitcoind", daemon_auth: UserPass("bitcoind", ""), daemon_rpc_addr: 127.0.0.1:8332, daemon_p2p_addr: 0.0.0.0: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: Some(1000), reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, skip_block_download_wait: false, disable_electrum_rpc: false, server_banner: "Welcome to electrs 0.10.5 (Electrum Rust Server)!", signet_magic: f9beb4d9 } Caused by: |
ive triedto remove maxuploadtarget and restart all services but after some minute riceived the same error Caused by: |
I assume |
Hum I meant that I can put N because it's for infinite. |
Check bitcoind's doc. |
OK, tomorrow I'll set it to 200. |
nothin to do, i'se to 400 maxconnections, removemaxuploadtarget, set whitelist=download@127.0.0.1 but the errors is still the same Caused by: and electrs never restart until restart bitcoind |
The last attempt was to uninstall and reinstall Electrs, but it still doesn't start. I have to restart Bitcoin Core to get it running again, but after just a few minutes of syncing, the problem reoccurs. Any suggestions? |
How is ram, cpu and disk usage just before the error occurs? |
Hello, I've 27gb of ram, 500gb of free disk on total of 2tb and 8 cpu |
Any logs in bitcoind around that time? |
Assuming that's 27 GB free (not total) that should be more than enough, I have had issues with bitcoind rpc timing out on close to 100% memory usage or prolonged 100% cpu usage. |
Hello,
I can’t sync electrs. Every time I launch the program, after a variable time between 10 minutes and an hour, the sync gets stuck and I receive this error:
If I restart the Bitcoin service and then electrs resumes syncing, but after a while, it gets stuck again. Obviously, I can't keep restarting Bitcoin continuously. The node works correctly, including integration with LND, ThunderHub, and LIT.
Electrs version
Electrs version 0.10.5
System running electrs
SO: Ubunu Server 22
Bitcoin: version v27.1.0
LND: 0.18.2
Thanks in advance
Davide
The text was updated successfully, but these errors were encountered: