Skip to content

Remove calls to listNodePubKeys #60

Description

@brh28

In Honeycomb, currently seeing errors with:

name: "OffChainServiceUnavailableError"
message: "no active lightning node (for offchain)"
stacktrace: "OffChainServiceUnavailableError: no active lightning node (for offchain)
    at getActiveLnd (/app/lib/services/lnd/config.js:23:16)
    at LndService (/app/lib/services/lnd/index.js:24:50)
    at listNodesPubkeys (/app/lib/app/lightning/list-nodes-pubkeys.js:6:50)
    at /app/lib/services/tracing.js:335:35
    at AsyncLocalStorage.run (node:async_hooks:346:14)
    at AsyncLocalStorageContextManager.with (/app/node_modules/@opentelemetry/context-async-hooks/build/src/AsyncLocalStorageContextManager.js:33:40)
    at ContextAPI.with (/app/node_modules/@opentelemetry/api/build/src/api/context.js:60:46)
    at Tracer.startActiveSpan (/app/node_modules/@opentelemetry/sdk-trace-base/build/src/Tracer.js:122:32)
    at Object.listNodesPubkeys (/app/lib/services/tracing.js:333:36)
    at resolve (/app/lib/graphql/public/root/query/globals.js:15:47)"

Here's a sample trace: https://ui.honeycomb.io/island-bitcoin/environments/test/result/fSnzYzahs98/trace/9NgzRvvvD5B?fields[]=s_name&fields[]=s_serviceName&span=bba4c00091cd1555

We want to remove this call because it adds noise to Honeycomb and we don't know if there are possible adverse effects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions