Skip to content

ConnectError: [unavailable] getaddrinfo ENOTFOUND #2451

@nipka17

Description

@nipka17

Issue Description

The subgraph publish process fails during execution with a DNS resolution error.
The publishing tool attempts to connect to an internal Kubernetes service using a
*.svc.cluster.local hostname, but the hostname cannot be resolved in the execution
environment.

As a result, the connection fails with a getaddrinfo ENOTFOUND error, preventing
the subgraph from being published successfully.

Root Cause

The publishing command is executed in an environment that does not have access to
Kubernetes internal DNS.
Service names under svc.cluster.local are only resolvable from within the same
Kubernetes cluster network. When the command runs outside this scope, DNS resolution
fails.

Impact

Subgraph publishing fails

CI/CD pipeline is blocked

No changes are propagated to the graph registry

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