Setting up validator ... stuck at checking node section

The instructions are pretty good.
I followed the most.

I am not able to follow what you guys are trying to say in Checking the node.
You said to compare the block height.

but I don’t see any field in JSON that it’s coming back.

I am comparing the output of these two commands;
./hmy blockchain latest-headers
./hmy --node="https://api.s0.t.hmny.io" blockchain latest-headers

Any help?

Thank you.

Hello can you paste here the output of the command you tried ? thanks

Here you go.

./hmy blockchain latest-headers
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "beacon-chain-header": {
      "difficulty": "0x0",
      "epoch": 661,
      "extraData": "0x",
      "gasLimit": "0x4c4b400",
      "gasUsed": "0x159b1e7",
      "hash": "0x98f0a7355aded890b6ab7db12dd20b139384068195da8b7ed1eb5297c1f1d287",
      "logsBloom": "0x00200000000000000000008080000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000040800200000000000000000000002000008000000200800008000400000000000000000000000000000000000001000000000000000000000000000040000000010000000000000020000000000000000000000000000000000000000080000004000000000020000080000000000000000000000000000000000000010000000000000000000000002000000200000000000000000000000002000001000000002020000000010000000000000000000000000000000002000008000400000004000000000",
      "miner": "0xe5dc9dbd0b93231e5d0bf998669463fe990a7211",
      "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "nonce": "0x0000000000000000",
      "number": "0xf43d95",
      "parentHash": "0xf4aabed65dc4ddee3fc7a6e5326e40a1601769942d7eb76d309ac04ca14b3da4",
      "receiptsRoot": "0xa144c2c83bc9ed84a5299633701711e87c254ac75814b3a9ddc6e915de3eae1e",
      "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "shardID": 0,
      "stateRoot": "0x8523ffd9450723348233236d420aca4c8a452ce42f158a96cb76c6d55e1771d1",
      "timestamp": "0x61121e19",
      "transactionsRoot": "0x753d26037f624880baf3e48da032a14e46ff3b19c8b74eeccf3bdbe961875422",
      "viewID": 16007131
    },
    "shard-chain-header": {
      "difficulty": "0x0",
      "epoch": 661,
      "extraData": "0x",
      "gasLimit": "0x4c4b400",
      "gasUsed": "0x0",
      "hash": "0x6a4bfffe7cbdf2b3e44144cbdbad18ea39e1d9d00aa98f822da5ddcd3ea11436",
      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "miner": "0xa27461aa6303204a8d7c2239bb4ad16edca6e9c6",
      "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "nonce": "0x0000000000000000",
      "number": "0x10182fb",
      "parentHash": "0x8d6f663ff5114ca7015c91dcb38bc3faf76551d36c397b19c0e06dd909fd7237",
      "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
      "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "shardID": 1,
      "stateRoot": "0xbef8ffd32f41f36e7966f8cf123d057cd7653a793ff3b89cf5ce3732d4d1892a",
      "timestamp": "0x61121e1c",
      "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
      "viewID": 16876573
    }
  }
}

./hmy --node="https://api.s0.t.hmny.io" blockchain latest-headers
{
  "id": "0",
  "jsonrpc": "2.0",
  "result": {
    "beacon-chain-header": {
      "difficulty": "0x0",
      "epoch": 661,
      "extraData": "0x",
      "gasLimit": "0x4c4b400",
      "gasUsed": "0xba4eb3",
      "hash": "0x58c05b1d93a7b17824971262fdcfe38d59eb3a9a83c688b56c9405b5664232d0",
      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "miner": "0xe5dc9dbd0b93231e5d0bf998669463fe990a7211",
      "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "nonce": "0x0000000000000000",
      "number": "0xf43d9e",
      "parentHash": "0x7bea3a0cef4dc193608b9914fc17ebc0842623b2d0f9e89182b5325c9a56d3b6",
      "receiptsRoot": "0x8849f084c456bb63ed0af2bde996d417076f553d9c9bb1db24f0428bd6166565",
      "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "shardID": 0,
      "stateRoot": "0x823a9b58434e4fe283c0f58fbe5cdd1b067221fe3afd76deb91e08625e895d45",
      "timestamp": "0x61121e37",
      "transactionsRoot": "0x14c77266f1ab7e2e514a652e21a53a247cc378e9916f0028456133c75dc9aa57",
      "viewID": 16007140
    },
    "shard-chain-header": {
      "difficulty": "0x0",
      "epoch": 661,
      "extraData": "0x",
      "gasLimit": "0x4c4b400",
      "gasUsed": "0xba4eb3",
      "hash": "0x58c05b1d93a7b17824971262fdcfe38d59eb3a9a83c688b56c9405b5664232d0",
      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "miner": "0xe5dc9dbd0b93231e5d0bf998669463fe990a7211",
      "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "nonce": "0x0000000000000000",
      "number": "0xf43d9e",
      "parentHash": "0x7bea3a0cef4dc193608b9914fc17ebc0842623b2d0f9e89182b5325c9a56d3b6",
      "receiptsRoot": "0x8849f084c456bb63ed0af2bde996d417076f553d9c9bb1db24f0428bd6166565",
      "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "shardID": 0,
      "stateRoot": "0x823a9b58434e4fe283c0f58fbe5cdd1b067221fe3afd76deb91e08625e895d45",
      "timestamp": "0x61121e37",
      "transactionsRoot": "0x14c77266f1ab7e2e514a652e21a53a247cc378e9916f0028456133c75dc9aa57",
      "viewID": 16007140
    }
  }
}

are you referring to instruction in this link : https://docs.harmony.one/home/network/validators/validator-troubleshooting/why-am-i-not-elected#4-verify-if-node-is-in-sync

the output you copy pasted contains json fields, you might want to join the validator community telegram group chat so someone can help you live Telegram: Contact @PangaeaVolunteers

The field you are interested in is “viewID” at the bottom of the JSON structure
When “viewID” from ./hmy blockchain latest-headers (your node) equals the result from
./hmy --node="https://api.s0.t.hmny.io" blockchain latest-headers (chain) then you are caught up.

Notice that the viewID is increasing rapidly from the output of the first command compared to the second.