Open ghost opened 1 year ago
Please add any relevant logging that occurs when trying to reconnect from:
debug.log sparrow.log here they are, sorry
I'm still unsure what's causing this, but I do see some error messages that are troubling:
2022-12-06T14:57:30Z Fatal LevelDB error: IO error: lock /media/xgabrirossx/ssd/bitcoin/blocks/index/LOCK: Risorsa temporaneamente non disponibile
It may be worth taking a look in /media/gabriele/ssd/bitcoin/wallets/sparrow/db.log
to see if there's anything in there.
It's also worth suggesting that installing an Electrum server (like Fulcrum or Electrs) will solve this. If you are keen to try fix it directly, I can suggest downloading BWT from https://github.com/bwt-dev/bwt and trying to run it directly from the command line. It appears there is something causing that library to fail to startup when launched on an existing Bitcoin Core wallet.
i'm a novice. i'll try to learn how to install an electrum server. thanks
I got an similar issue when trying to connect Sparrow Wallet to Bitcoin Core. Desribed here. Any help appreciated!
@gabrielexgrx Have you created any wallets in Sparrow yet? If not, that may be the cause. Any wallet will do.
@craigraw yes, but the problem is still there
It may be worth taking a look in /media/gabriele/ssd/bitcoin/wallets/sparrow/db.log
to see if there's anything in there.
When Sparrow connects to Bitcoin Core and the core has no wallet named "sparrow", it will create it. The core command "getwalletinfo" returns wallet info and there is an attribute "keypoololdest". The attribute is there as long as the core is running. When you restart the core, the sparrow wallet will be there but "getwalletinfo" does not anymore return that attribute and my understanding is that this is causing this whole issue. To live with this issue, after you have shut down the core, also delete sparrow folder in the wallets folder so that Sparrow can create the wallet again and the attribute is again returned.
@btcsonni Thanks for the explanation, but I'm not sure that the right one here. The OP has indicated that they have created a wallet in Sparrow, and thus the Bitcoin Core wallet will have keys added and keypoololdest
will be returned from getwalletinfo
.
in addition that I can connect to my bitcoin-core only once (after removing sparrow wallet from core and restart both bitcoin-core and sparrow wallet), my initial sync is always stuck on 99%.
also when i see that I cannot connect to my bitcoin-core in logs and can successfully test connection in preference (sparrow wallet)
Sparrow 1.7.1 (windows)
Sparrow is connected to Bitcoin Core. If i disconnect it (using the green button) when I try to reconnect it doesn't work (it freezes on syncing and the green button keeps flashing). The same happens if I close Sparrow without disconnect it. The time after I open it it doesn't automatically connect. The only way to make it work is to manually disconnect Sparrow, close it, reopen it and manually connect to Bitcoin Core.
URL: 127.0.0.1 8332 Authentication: Default Data Folder: external ssd Sparrow version: 1.7.1 Bitcoin Core version: 23.0.0
Sorry if I omitted some info but it's the first time using GitHub