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

Proposer Assign RPC Return 500 Error #8703

Open
J1a-wei opened this issue Oct 10, 2024 · 5 comments
Open

Proposer Assign RPC Return 500 Error #8703

J1a-wei opened this issue Oct 10, 2024 · 5 comments
Assignees

Comments

@J1a-wei
Copy link

J1a-wei commented Oct 10, 2024

Hi Teku team,
When slot miss. e.g. https://beaconcha.in/slot/10143104
Call Proposer Assign RPC. Teku client return 500 Internal Error.

/eth/v1/validator/duties/proposer/{epoch}

Teku Args:

- --network=${NETWORK}
- --data-path=/data
- --data-beacon-path=/data/beacon
- --data-storage-archive-frequency=${ARCHIVE_FREQUENCY}
- --data-storage-mode=archive
- --checkpoint-sync-url=${CHECKPOINT_URL}
- --ee-endpoint=http://reth:8551
- --ee-jwt-secret-file=/reth/jwt.hex
- --p2p-enabled=true
- --p2p-advertised-ip=${PUBLIC_IP}
- --p2p-advertised-port=${P2P_PORT}
- --rest-api-enabled=true
- --rest-api-host-allowlist=*
- --rest-api-interface=0.0.0.0
- --rest-api-port=8080
- --rest-api-cors-origins=false
@lucassaldanha
Copy link
Member

Hi! Thanks for reporting this issue.

To clarify, are you calling the Validator API Get block proposer duties method externally? Or did your Validator node report the RPC error? Or are you saying that your validator missed the proposal because the duties method returned 500?

@J1a-wei
Copy link
Author

J1a-wei commented Oct 11, 2024

Just calling the Validator API Get block proposer duties method externally @lucassaldanha

@tbenr tbenr self-assigned this Oct 11, 2024
@tbenr
Copy link
Contributor

tbenr commented Oct 11, 2024

I think he is saying that if the epoch begins with an empty slot, then the api fails. Going to check if it is the case.

@tbenr
Copy link
Contributor

tbenr commented Oct 11, 2024

@J1a-wei I cannot replicate the issue based on what I understood from your description.
Can you provide beacon node logs in the surrounding of the 500 error?
Can you also provide the epoch parameter you where using in the query?

@J1a-wei
Copy link
Author

J1a-wei commented Oct 12, 2024

HI @tbenr
Sorry, I synced from the most recent checkpoint, and the previous data has been deleted.

I suspect that if the first slot of the epoch is missed, the RPC(/eth/v1/validator/duties/proposer/{epoch}) cannot be called.

When I checked the logs, it's highly likely that there wasn't any meaningful log because the debug log level wasn't enabled.

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

3 participants