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

Wallet not found, passphrase error #328

Closed
StasFQ opened this issue Aug 5, 2023 · 4 comments
Closed

Wallet not found, passphrase error #328

StasFQ opened this issue Aug 5, 2023 · 4 comments

Comments

@StasFQ
Copy link

StasFQ commented Aug 5, 2023

I am using docker for my project and database, volumes are configured correctly.When I do a re-build of the image(update to code)
I get an error:
bitcoinlib.wallets.WalletError: Wallet 'wallet_name' not found, please specify correct wallet ID or name.
Then got this:
PassphraseError: Wrong passphrase
How to fix that?

@mccwdev
Copy link
Member

mccwdev commented Aug 6, 2023

Not sure, looks like the database or link to the database is different. Please check the link to database and make sure the database is not overwritten during an image rebuild.

@StasFQ
Copy link
Author

StasFQ commented Aug 6, 2023

No, the database is not overwritten when the image is rebuilt, the problem is only with bitcoin and Litecoin wallets,everything else works successfully in the project

@mccwdev
Copy link
Member

mccwdev commented Aug 6, 2023

It's hard to tell why the wallet cannot be found without knowing the details of your project.
Maybe you can check with list_wallets() if the wallet is available in the database, or try to open it with the id instead of the name.

@StasFQ
Copy link
Author

StasFQ commented Aug 18, 2023

resolved with db_uri

@StasFQ StasFQ closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants