Skip to content

api.codeball.ai NXDOMAIN — Codeball job fails with getaddrinfo ENOTFOUND #198

Description

@BabuBahir

Summary

The baller step fails immediately with a DNS resolution error — api.codeball.ai does not resolve:

FetchError: request to https://api.codeball.ai/track failed, reason: getaddrinfo ENOTFOUND api.codeball.ai
##[error]request to https://api.codeball.ai/jobs failed, reason: getaddrinfo ENOTFOUND api.codeball.ai

Repro

  • Action: sturdy-dev/codeball-action@v2.6.0 (the composite calls baller@v2 internally), label-only dry-run inputs (approvePullRequests: "false", labelPullRequestsWhenApproved/Needed: "true").
  • Workflow trigger: pull_request on a same-repo branch, explicit permissions: { contents: read, issues: write, pull-requests: write }.
  • Fails in <1s on ubuntu-latest; full log: https://github.com/BabuBahir/Iacuc-Protocol-Web-APP/actions/runs/31517531617

Diagnosis

api.codeball.ai returns NXDOMAIN from public resolvers as of 2026-08-11 (checked 8.8.8.8 and 1.1.1.1), while codeball.ai resolves fine:

> nslookup api.codeball.ai 8.8.8.8
  (no A/AAAA records)

> nslookup codeball.ai 8.8.8.8
  Name: codeball.ai
  Addresses: 2606:4700:3031::6815:b5f ...

This looks like the api.codeball.ai DNS records are missing/down rather than a workflow configuration issue. The API base is hardcoded to https://api.codeball.ai (see src/lib/api/index.ts, BASE_URL = process.env.CODEBALL_API_HOST || 'https://api.codeball.ai').

Expected

Either the DNS records for api.codeball.ai are restored, or the status endpoint is reachable again so the baller/status steps complete.

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