Skip to content
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

No key found for absolute path #4758

Closed
CognitiveDiss opened this issue Nov 6, 2020 · 17 comments
Closed

No key found for absolute path #4758

CognitiveDiss opened this issue Nov 6, 2020 · 17 comments

Comments

@CognitiveDiss
Copy link

CognitiveDiss commented Nov 6, 2020

Description

I had a problem completing a trade yesterday. I had paid EUR and confirmed payment the day before but then received a mediator message, which I assumed the btc seller asked for. I contacted the seller, who thought I initiated the mediator! But the seller confirmed receipt to me of my EUR. I waited assuming delivery but this morning nothing had happened and I though the program (ver 1.3.4 I think) had frozen. I tried to reload it but without success so I downloaded ver. 1.4.2 from the website. No luck. I understand this is probably a wallet issue. Any ideas, please?

Version

Steps to reproduce

Expected behaviour

Actual behaviour

Screenshots

image

image

image

Device or machine

OS Mac Catalina 10.15.6

Additional info

@boring-cyborg
Copy link

boring-cyborg bot commented Nov 6, 2020

Thanks for opening your first issue here!

Be sure to follow the issue template. Your issue will be reviewed by a maintainer and labeled for further action.

@ripcurlx
Copy link
Member

ripcurlx commented Nov 6, 2020

@oscarguindzberg Do you have an idea what could cause this issue? It occurred after the user updated to v1.4.2.

@CognitiveDiss
Copy link
Author

No it started before I updated. I updated because I left it open during the night and it appeared frozen this morning.

@CognitiveDiss
Copy link
Author

Skärmavbild 2020-11-06 kl  15 27 33

@CognitiveDiss CognitiveDiss changed the title Can't load the platform No key found for absolute path Nov 6, 2020
@oscarguindzberg
Copy link
Contributor

This is probably due to a corrupted wallet file.
I would follow the "standard" procedure to restore the wallet when the user has a trade open.

Probably something like:

  • Stop Bisq.
  • Do a backup of Bisq data dir (not really needed, but I strongly suggest to do ir)
  • Start Bisq in a new data dir. Wait for it to sync
  • Do a restore from seed. Restart Bisq when you are asked for it. Wait for it to sync.
  • Shut down Bisq on the new data dir.
  • Copy these files from the new data dir to the standard data dir:
    • btc_mainnet/wallet/bisq.spvchain
    • btc_mainnet/wallet/bisq_BSQ.wallet
    • btc_mainnet/wallet/bisq_BTC.wallet
  • Start Bisq in the standard dir

@huey735
Copy link
Member

huey735 commented Nov 6, 2020

This did indeed help get past the No key found for absolute path error but @CognitiveDiss is still having connection issues when trying to open their standard Bisq client.

@CognitiveDiss
Copy link
Author

Yes, synchronizing is very slow, gets up to about 5%, then the Tor file delete pop-up appears. Deleting there doesn't help unfortunately.

@CognitiveDiss
Copy link
Author

Skärmavbild 2020-11-07 kl  07 49 39
Does this mean something maybe?

@jmacxx
Copy link
Contributor

jmacxx commented Nov 7, 2020

Its just an informational message saying you've started an SPV resync. You can close it. Progress will be indicated on the screen behind it.

@CognitiveDiss
Copy link
Author

Thanks! I did close it and also the pop-up suggesting deleting Tor files. It's been syncing since then for 12 hours now. We're up to 64%! I'll see what happens, probably tomorrow morning. Praying my BTC stash shows this time!

@CognitiveDiss
Copy link
Author

Resync completed, so I shut down and restarted. No luck. I got the pop-up to delete Tor files, which I closed, and it's now churning getting nowhere.
Skärmavbild 2020-11-07 kl  22 11 10

Anyone got an idea please?

@CognitiveDiss
Copy link
Author

CognitiveDiss commented Nov 7, 2020

This is the pop-up 'no key found' which I had to start with. So it looks like the same problem.
Skärmavbild 2020-11-07 kl  22 14 12

@jmacxx
Copy link
Contributor

jmacxx commented Nov 7, 2020

I'm pretty sure you are accidentally running an older version of Bisq. I get the same error as above when running an old version of Bisq - that's because the wallet was upgraded to Segwit in 1.4.2 but older versions of Bisq cannot read the new format. To check this you can tail or notepad the log file, when Bisq starts it writes a message indicating the version, e.g. Nov-07 15:50:05.768 [main] INFO b.c.app.Version: Version{VERSION=1.3.7 Find your log file here

@CognitiveDiss
Copy link
Author

Thanks jmacxx! Huey735 helped me follow Oscar instructions above and after a whole day of syncing I got the original message about 'no key...' Back to square one I thought. But, just in case, I ran what I thought was the new dir as per Oscar's instructions and, without a password, I was in! My btc was there and 2 messages to transfer btc from the 2 transactions to bisq or external wallet. I transferred both to bisq but received no funds, nor my deposits for the transactions. I removed the btc on the account without a problem and surprisingly with no password. Looking at the transactions tabs, I only see the deposit and fee debits for these transactions and it looks like the btc form a third transaction, which I assumed closed on 3 Nov, were also not credited. Very strange.

@chimp1984
Copy link
Contributor

This is probably due to a corrupted wallet file.
I would follow the "standard" procedure to restore the wallet when the user has a trade open.

Probably something like:

* Stop Bisq.

* Do a backup of Bisq data dir (not really needed, but I strongly suggest to do ir)

* Start Bisq in a new data dir. Wait for it to sync

* Do a restore from seed. Restart Bisq when you are asked for it. Wait for it to sync.

* Shut down Bisq on the new data dir.

* Copy these files from the new data dir to the standard data dir:
  
  * btc_mainnet/wallet/bisq.spvchain
  * btc_mainnet/wallet/bisq_BSQ.wallet
  * btc_mainnet/wallet/bisq_BTC.wallet

* Start Bisq in the standard dir

The AddressEntryList file in db folder need to be in sync as well. If you dont have open offers or trades, you can delete it (backup first) and it will be recreated based on the wallet.

@oscarguindzberg
Copy link
Contributor

I could reproduce the error message by opening a Bisq v1.4.2 datadir with the Bisq v1.3.9 codebase.

Nov-09 20:55:31.156 [JavaFX Application Thread] ERROR b.core.btc.setup.WalletsSetup: Service failure from state: STARTING; failure={} java.lang.IllegalArgumentException: No key found for absolute path M/44H/0H/0H/0/16.
at org.bitcoinj.crypto.DeterministicHierarchy.get(DeterministicHierarchy.java:89)
at org.bitcoinj.wallet.DeterministicKeyChain.getKeyByPath(DeterministicKeyChain.java:617)
at org.bitcoinj.wallet.DeterministicKeyChain.getKeyByPath(DeterministicKeyChain.java:612)
at org.bitcoinj.wallet.KeyChainGroup.createCurrentKeysMap(KeyChainGroup.java:762)
at org.bitcoinj.wallet.KeyChainGroup.fromProtobufUnencrypted(KeyChainGroup.java:658)
at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:477)
at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:444)
at bisq.core.btc.setup.WalletConfig.loadWallet(WalletConfig.java:543)
at bisq.core.btc.setup.WalletConfig.createOrLoadWallet(WalletConfig.java:499)
at bisq.core.btc.setup.WalletConfig.startUp(WalletConfig.java:380)
at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
at java.base/java.lang.Thread.run(Thread.java:834)

java.lang.IllegalArgumentException: No key found for absolute path M/44H/0H/0H/0/16.
at org.bitcoinj.crypto.DeterministicHierarchy.get(DeterministicHierarchy.java:89)
at org.bitcoinj.wallet.DeterministicKeyChain.getKeyByPath(DeterministicKeyChain.java:617)
at org.bitcoinj.wallet.DeterministicKeyChain.getKeyByPath(DeterministicKeyChain.java:612)
at org.bitcoinj.wallet.KeyChainGroup.createCurrentKeysMap(KeyChainGroup.java:762)
at org.bitcoinj.wallet.KeyChainGroup.fromProtobufUnencrypted(KeyChainGroup.java:658)
at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:477)
at org.bitcoinj.wallet.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:444)
at bisq.core.btc.setup.WalletConfig.loadWallet(WalletConfig.java:543)
at bisq.core.btc.setup.WalletConfig.createOrLoadWallet(WalletConfig.java:499)
at bisq.core.btc.setup.WalletConfig.startUp(WalletConfig.java:380)
at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
at java.base/java.lang.Thread.run(Thread.java:834)

@CognitiveDiss
Copy link
Author

Very happy I'm done. Thanks guys for your suggestions, time, and patience. Now back to buying BTC!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants