Skip to content

Invert OpenClaw port 18789 check: green when blocked, red when accessible#1628

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/update-port-checking-status
Draft

Invert OpenClaw port 18789 check: green when blocked, red when accessible#1628
Copilot wants to merge 2 commits intomasterfrom
copilot/update-port-checking-status

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 14, 2026

Upptime has no native support for inverted TCP checks — it marks a port as "up" (green) when reachable and "down" (red) when not. For port 18789, the desired logic is the opposite: blocked = good (green), accessible = security breach (red).

Keeping the entry in .upptimerc.yml with tcp:// would permanently show red (firewall correctly blocks it) and generate misleading GitHub Issues.

Changes

  • .upptimerc.yml — Remove OpenClaw firewall (port 18789) entry to prevent Upptime's uptime workflow from interfering with the inverted check.

  • .github/workflows/openclaw-firewall-port-18789.yml (new, not Upptime-managed) — Custom daily workflow at 00:15 UTC applying inverted logic via nc:

    • Port blocked → writes status: up (green) + closes any open security issue
    • Port accessible → writes status: down (red) + opens a GitHub Issue: "🚨 OpenClaw port 18789 is accessible — firewall may be down"
  • history/open-claw-firewall-port-18789.yml — Set to status: up to reflect the correct current state (port is blocked = firewall working).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • upptime.js.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…ible

Co-authored-by: Androz2091 <42497995+Androz2091@users.noreply.github.com>
Copilot AI changed the title [WIP] Update port checking for OpenClaw status Invert OpenClaw port 18789 check: green when blocked, red when accessible Mar 14, 2026
Copilot AI requested a review from Androz2091 March 14, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants