Skip to content

fix: uptime-kuma setup-job fails with Socket.IO connection error #34

@patrick-hermann-sva

Description

@patrick-hermann-sva

Description

The uptime-kuma setup-job (apps/uptime-kuma/setup-job.yaml) fails to connect to the Uptime Kuma API via the uptime-kuma-api Python library. The job uses Socket.IO to communicate with Uptime Kuma but times out despite retry logic (12 attempts, 15s intervals).

Error

The uptime-kuma-api library cannot establish a Socket.IO connection to http://uptime-kuma.<namespace>.svc:3001.

Additional Bug

sys.exit(1) is called on connection failure but import sys is missing — causes a NameError instead of a clean exit.

Affected Files

  • apps/uptime-kuma/setup-job.yaml

Expected Behavior

The setup job should:

  1. Wait for Uptime Kuma to be ready
  2. Auto-generate admin password and store in K8s Secret uptime-kuma-admin
  3. Create HTTP monitors for all cluster services

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