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

getHealth API not working as expect #27737

Closed
jasoncsli opened this issue Sep 13, 2022 · 2 comments
Closed

getHealth API not working as expect #27737

jasoncsli opened this issue Sep 13, 2022 · 2 comments
Labels
community Community contribution validator Issues that relate to the validator

Comments

@jasoncsli
Copy link

jasoncsli commented Sep 13, 2022

Problem

The monitor command and getHealthApi showed that the validator is behind. But When I use the catchup command, it shows that I am in sync with the newest block. This problem has been for one hour.

⠂ 354:15:48 | 1766 slots behind | Processed Slot: 150421263 | Confirmed Slot: 150421263 | Finalized Slot: 150421229 | Full Snapshot Slot:

sudo solana  catchup --our-localhost
xx has caught up (us:150421907 them:150421917)
curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '
  {"jsonrpc":"2.0","id":1, "method":"getHealth"}
'
{"jsonrpc":"2.0","error":{"code":-32005,"message":"Node is behind by 1906 slots","data":{"numSlotsBehind":1906}},"id":1}

I can get the correct slot from getSlot Api, and I can also get the newest block data. What happened to my validator?

version: 1.10.35

@jasoncsli jasoncsli added the community Community contribution label Sep 13, 2022
@seal
Copy link

seal commented Sep 23, 2022

Take a peek here:
#16957

it compares local to solana blockchain, etc
It's normal to be behind a bit

@sakridge sakridge added the validator Issues that relate to the validator label Oct 21, 2022
@steviez
Copy link
Contributor

steviez commented Jun 2, 2023

Closing this issue out - this is a duplicate of the already mentioned issue #16957.

@steviez steviez closed this as completed Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution validator Issues that relate to the validator
Projects
None yet
Development

No branches or pull requests

4 participants