Skip to content

Error collecting operator balance #1103

@francesco-gaglione

Description

@francesco-gaglione

Description

On node startup, the json-rpc-relay logs the following error when attempting to fetch the operator balance and from that it is not accepting any request:

[2025-06-03 20:18:55.085 +0000] DEBUG (mirror-node/103 on 2b315facc0be): [Request ID: ff4b3f16-6555-4ead-886e-2f357bf93b6f] An accepted error occurred while communicating with the mirror node server: method=GET, path=accounts/0.0.2?transactions=false, status=404

[2025-06-03 20:18:55.085 +0000] ERROR (relay/103 on 2b315facc0be): Error collecting operator balance. Skipping balance set

    err: {

      "type": "TypeError",

      "message": "Cannot read properties of null (reading 'balance')",

      "stack":

          TypeError: Cannot read properties of null (reading 'balance')

              at Gauge.<anonymous> (/home/node/app/packages/relay/dist/lib/relay.js:138:62)

              at Generator.next (<anonymous>)

              at fulfilled (/home/node/app/packages/relay/dist/lib/relay.js:6:58)

              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

    }

Steps to reproduce

Just run docker-compose up -d

Additional context

No response

Hedera network

No response

Version

v0.68

Operating system

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAn error that causes the feature to behave differently than what was expected based on design.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions