-
Notifications
You must be signed in to change notification settings - Fork 235
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
ethd keys import - sometimes not working - jq: error #1872
Comments
Can you run this with |
no this only works for
|
Indeed. I fixed the This is one of those "it works here" problems 😅 Can you tell me whether you have any special characters in your keystore password, and if so which? Special characters would be anything that's not standard latin letters or arabic numerals - spaces, $, or unicode characters would all fall into that. The debug should now show you the keystore and password and attempt a jq on those, before running it for real. |
Just to be sure, please also do a |
thank you for the feedback
|
That helps. Prysm returns a 400 but I am not parsing the error message because it's formatted differently. I changed the code to special-case for Prysm and just output the entire response - hopefully that gets us a step further |
|
Thanks for being patient. Once more please with Once there is an error message to look at, hopefully that gives us a clue. |
|
I'm stumped. The trouble is that "it works here". Let me run it here once more and compare the json to yours |
Ok, in your output you cut off so much that I can't tell. This is what a healthy file looks like in debug
As I can't reproduce this here, could you send me a keystore file and password you created on Holesky, that fails to import. Also check that your Prysm version is 5.0.4, please. |
Yes everything seems right for me. Here i created a new keystore:
|
Ah, there's a wrinkle. I've been testing this with prysm.yml, and you have something set up where it's an SSV node and a solo node both Can you give me what your The key file you gave me is fine and imports on my Prysm here |
Ah okay i see..
|
Roger will take a look. ee-shared.yml doesn’t seem necessary, that’s the engine api and nothing but prysm should access it what are you using cl-shared and el-shared for? Those are the REST and RPC API respectively |
Using that Can you think of anything that's different in your |
okay strange.. i just change ports..
|
That should not have any impact, but let me test it here |
Entirely unsurprisingly, that had no impact. I have no idea what's different on your system that's causing Prysm to reject the file |
Another user reported this with just an This means it's intermittent and likely connected to exactly what's in the Prysm volume. Which makes it hard to impossible to track down unless the issue already shows. If you are keen to pursue this, please raise it with the Prysm team, tell them it's likely specific to the contents of the VC volume and cannot be reproduced in a fresh setup, and see what they can do to narrow it down and find root cause |
I run the
My
My
|
That’s different, and the error message tells you what’s going on: You don’t have a wallet, so create one. That’s specific to Prysm. Run ethd keys and the help screen shows you the command to initialize / create the Prysm wallet |
@yorickdowne the issue is I run
|
Definitely unexpected. Please open a new issue for it so we’re not cluttering this one also, prysm may require a restart after wallet creation so its keymanager api picks it up |
I have a similar problem. Here are the steps:
The error when importing is that the keys already exists and then does not continue, but when making list I also have error. I don't know if it has something to do with it but first my validator was Lighthouse and then I changed to Prysm. Thanks
xxxxxxxxx@eth-docker:~/eth-docker$ ethd keys list
[+] Creating 2/0
✔ Container eth-docker-consensus-1 Running 0.0s
✔ Container eth-docker-validator-1 Running 0.0s
Validator public keys loaded into web3signer
0xa6aef24bca2998c088xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Unexpected return code 400. Result: 400 Bad Request
ethd terminated with exit code 1 on line 20
This happened during ethd keys list victorelec14@eth-docker-consensus:~/eth-docker$ ethd keys list --debug
[+] Creating 2/0
✔ Container eth-docker-consensus-1 Running 0.0s
✔ Container eth-docker-validator-1 Running 0.0s
Called web3signer:9000/eth/v1/keystores with method GET and the following data
This was a call without data
The token was NIL from /tmp/api-token.txt
The return code was 200 and if we had result data, here it is.
{"data":[{"validating_pubkey":"0xa6aef24bca2998c088b525c90df51xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","derivation_path":"m/12381/3600/0/0/0","readonly":false}]}
Validator public keys loaded into web3signer
0xa6aef24bca2998c088b525c90df516xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Called vc:7500/eth/v1/remotekeys with method GET and the following data
This was a call without data
The token was e973a86ccb1857dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
eyJhbGciOiJIUzI1NiIsInR5cCIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx from /tmp/api-token.txt
The return code was 400 and if we had result data, here it is.
400 Bad Request
Unexpected return code 400. Result: 400 Bad Request
ethd terminated with exit code 1 on line 20
This happened during ethd keys list --debug $ ethd version
This is Eth Docker v2.14.0.2
beacon-chain version Prysm/v5.1.2/944f94a9bf6cbd19699b319917499fd7262e2f73. Built at: 2024-10-16 19:15:24+00:00
validator version Prysm/v5.1.2/944f94a9bf6cbd19699b319917499fd7262e2f73. Built at: 2024-10-16 19:16:39+00:00
Geth
Version: 1.14.12-stable
Git Commit: 293a300d64be3d9a1c2cc92c26fcff4089deadcd
Git Commit Date: 20241119
Architecture: amd64
Go Version: go1.23.3
Operating System: linux
GOPATH=
GOROOT=
2024-11-24 09:35:56.814+00:00 | main | INFO | Web3SignerApp | Web3Signer has started with args --version
2024-11-24 09:35:56.846+00:00 | main | INFO | Web3SignerApp | Version = web3signer/v24.6.0/linux-x86_64/-eclipseadoptium-openjdk64bitservervm-java-17
web3signer/v24.6.0/linux-x86_64/-eclipseadoptium-openjdk64bitservervm-java-17
PostgreSQL 16.5 (Debian 16.5-1.pgdg120+1)
INFO[0000] mev-boost v1.8.1
prometheus, version 3.0.0 (branch: HEAD, revision: c5d009d57fcccb7247e1191a0b10d74b06295388)
build user: root@aa286d0eb00a
build date: 20241114-16:40:43
go version: go1.23.3
platform: linux/amd64
tags: netgo,builtinassets,stringlabels
Grafana Version 11.3.1 (commit: 9225f4a1cbd1cfe8b69f1aa2d62309a9700533a5, branch: HEAD)
|
confirmed, the problem is only with Prysm, I just switched to lighthouse again and the commands (list and import) work correctly. |
to reproduce:
This works fine on
besu-teku
nethermind-lighthouse
but on
geth-prysm
i see:
The text was updated successfully, but these errors were encountered: