ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.13k stars 670 forks source link

Node stop synchronization #2816

Closed COLUD4 closed 7 months ago

COLUD4 commented 8 months ago
curl -s -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method" :"health.health"}' http://127.0.0.1:9650/ext/health | jq

Returns:

{
  "jsonrpc": "2.0",
  "result": {
    "checks": {
      "2MrmXmx4nrSn5BS3EAtWg5Pf9madiBoN7MRaByM88g49VArjDt": {
        "message": {
          "engine": {
            "consensus": {},
            "vm": {
              "database": null,
              "health": null
            }
          },
          "networking": {
            "percentConnected": 0.6666666666666666
          }
        },
        "error": "not connected to enough stake: connected to 66.666667%; required at least 80.000000%",
        "timestamp": "2024-03-06T12:55:32.911207817+08:00",
        "duration": 627634,
        "contiguousFailures": 5,
        "timeOfFirstFailure": "2024-03-06T12:53:32.91111334+08:00"
      },
      "C": {
        "message": {
          "engine": {
            "consensus": {
              "lastAcceptedHeight": 42538081,
              "lastAcceptedID": "WZqDPibe45xTX2bQwvwNmYCmHPLakDZTrnBt9NcurHbT4vCVM",
              "longestProcessingBlock": "967.485485ms",
              "processingBlocks": 1
            },
            "vm": null
          },
          "networking": {
            "percentConnected": 0.995834824256674
          }
        },
        "timestamp": "2024-03-06T12:55:32.910610803+08:00",
        "duration": 29797
      },
      "P": {
        "message": {
          "engine": {
            "consensus": {
              "lastAcceptedHeight": 11915728,
              "lastAcceptedID": "2ftcmcx4VJZ3uMixYPmeqpgav6bwvptqrgGc7DZp4g3bkC2uyL",
              "longestProcessingBlock": "0s",
              "processingBlocks": 0
            },
            "vm": null
          },
          "networking": {
            "percentConnected": 0.995834824256674
          }
        },
        "timestamp": "2024-03-06T12:55:32.910642514+08:00",
        "duration": 50279
      },
      "X": {
        "message": {
          "engine": {
            "consensus": {
              "lastAcceptedHeight": 304400,
              "lastAcceptedID": "hBJYYkMUpP4Ko3ALYjyTYqLpePrZUWaqE4sJ9eR5xCxynFZYK",
              "longestProcessingBlock": "0s",
              "processingBlocks": 0
            },
            "vm": null
          },
          "networking": {
            "percentConnected": 0.995834824256674
          }
        },
        "timestamp": "2024-03-06T12:55:32.910603842+08:00",
        "duration": 42751
      },
      "bootstrapped": {
        "message": [
          "ii7zCu8JNnYYgPT8PwpVYiTS1gcK5RWJfsyuPXTDv8Bn9wspY"
        ],
        "error": "subnets not bootstrapped",
        "timestamp": "2024-03-06T12:55:32.910594019+08:00",
        "duration": 2898,
        "contiguousFailures": 6,
        "timeOfFirstFailure": "2024-03-06T12:53:02.916305642+08:00"
      },
      "database": {
        "timestamp": "2024-03-06T12:55:32.910577907+08:00",
        "duration": 2638
      },
      "diskspace": {
        "message": {
          "availableDiskBytes": 57327513600
        },
        "timestamp": "2024-03-06T12:55:32.910586169+08:00",
        "duration": 3337
      },
      "network": {
        "message": {
          "connectedPeers": 1718,
          "sendFailRate": 0,
          "timeSinceLastMsgReceived": "910.573098ms",
          "timeSinceLastMsgSent": "910.573098ms"
        },
        "timestamp": "2024-03-06T12:55:32.910578671+08:00",
        "duration": 11205
      },
      "router": {
        "message": {
          "longestRunningRequest": "315.225981ms",
          "outstandingRequests": 62
        },
        "timestamp": "2024-03-06T12:55:32.91058978+08:00",
        "duration": 2595
      }
    },
    "healthy": false
  },
  "id": 1
}

version:

{
  "jsonrpc": "2.0",
  "result": {
    "version": "avalanchego/1.11.2",
    "databaseVersion": "v1.4.5",
    "rpcProtocolVersion": "34",
    "gitCommit": "daeacb18aad7e537bca729ecf9ea29ddbffc53a1",
    "vmVersions": {
      "XANAChain": "v0.6.2",
      "avm": "v1.11.2",
      "evm": "v0.13.0",
      "platform": "v1.11.2"
    }
  },
  "id": 1
}
StephenButtolph commented 7 months ago

This doesn't seem to be an avalanchego problem. It seems that the subnet running chain 2MrmXmx4nrSn5BS3EAtWg5Pf9madiBoN7MRaByM88g49VArjDt is not healthy due to some validators not being reachable.