Skip to content

MinerConnectionError when ECC is bad #401

Open
@posterzh

Description

@posterzh

Follow up to:

Thoughts:

  • For any miner, if helium-miner container is down, then one of the following actions makes MinerConnectionError.
    • open the diagnostics page.
    • call diagnostics/json endpoint
    • upload the diagnostics to the Google big query

The bad ECC can be identified as follows:

{
  "result": "fail",
  "tests": {
    "ecdh(0)": {
      "error": "elliptic_curve error",
      "result": "fail"
    },
    "key_config(0)": {
      "checks": {
        "auth_key": "0",
        "intrusion_disable": "false",
        "key_type": "ecc",
        "lockable": "true",
        "private": "true",
        "pub_info": "true",
        "req_auth": "false",
        "req_random": "false",
        "x509_index": "0"
      },
      "result": "pass"
    },
    "miner_key(0)": {
      "checks": "112GoL4dxhdTkAZ1Ny7Kqe1mTgH6scA3Sh3fMv77uY87JvH5YdwV",
      "result": "pass"
    },
    "sign(0)": {
      "checks": "ok",
      "result": "pass"
    },
    "slot_config(0)": {
      "checks": {
        "ecdh_operation": "true",
        "encrypt_read": "false",
        "external_signatures": "true",
        "internal_signatures": "true",
        "limited_use": "false",
        "secret": "true"
      },
      "result": "pass"
    },
    "zone_locked(config)": {
      "checks": "ok",
      "result": "pass"
    },
    "zone_locked(data)": {
      "checks": {
        "expected": "locked",
        "found": "unlocked"
      },
      "result": "fail"
    }
  }
}
  • helium-miner container is still accessible through SSH, but all miner operation is timed out.
    For example, if run miner peer book -s command:
    image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions