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

"Error converting signing metadata to Artifact Signer: KeyStore file not found" after upgrading to 24.6 #1005

Open
sauliusgrigaitis opened this issue Jun 21, 2024 · 5 comments
Assignees

Comments

@sauliusgrigaitis
Copy link

consensys/web3signer:24.2 docker image loads the keys, however consensys/web3signer:latest throws errors:

...
024-06-21 20:25:13.392+00:00 | ForkJoinPool.commonPool-worker-21 | ERROR | SignerLoader | Error converting signing metadata to Artifact Signer: KeyStore file not found: file:/opt/keys/web3signer/1.json
2024-06-21 20:25:13.392+00:00 | ForkJoinPool.commonPool-worker-1 | ERROR | SignerLoader | Error converting signing metadata to Artifact Signer: KeyStore file not found: file:/opt/keys/web3signer/2json
2024-06-21 20:25:13.392+00:00 | ForkJoinPool.commonPool-worker-9 | ERROR | SignerLoader | Error converting signing metadata to Artifact Signer: KeyStore file not found: file:/opt/keys/web3signer/3.json
...
@usmansaleem
Copy link
Contributor

@sauliusgrigaitis Can you give the detailed docker command that you are using? It might be due to incorrect volume or file permissions, but need more details to figure out whats going wrong. Feel free to forward detailed logs to my Consensys email if privacy is a concern. usman(dot)saleem(at)consensys.net

@usmansaleem usmansaleem self-assigned this Jun 22, 2024
@sauliusgrigaitis
Copy link
Author

The command I run is:

docker run -it -v "/opt/holesky/:/opt/keys" --network=host consensys/web3signer:latest --http-listen-port=19500 --key-store-path /opt/keys/holesky --http-host-allowlist "x.x.x.x" eth2 --slashing-protection-db-url="jdbc:postgresql://localhost/holeskyweb3signer" --slashing-protection-db-username=user --slashing-protection-db-password=pass --key-manager-api-enabled=true --network=holesky

@usmansaleem
Copy link
Contributor

There aren't any docker specific changes since last release (24.2.0). Can you run ls -alh on /opt/holesky on the host system? Based on the logs, it should contain web3signer folder. Can you also attach ls -alh output of at least one file under web3signer folder? The idea is to see permissions on the folder and its contents. KeyStore file not found: file:/opt/keys/web3signer/1.json suggests either incorrect folder/filename or permissions issues.

@usmansaleem
Copy link
Contributor

Are there any further updated on this? Were you able to sort it out? @sauliusgrigaitis

@sauliusgrigaitis
Copy link
Author

Thanks @usmansaleem , it was a permissions issue. It's weird that it worked with the older web3bigner version.

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