openclaw - 💡(How to fix) Fix [Bug]: After updating to 4.24, LaunchAgent gateway doesn't work and only `openclaw gateway --force` works. [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72146Fetched 2026-04-27 05:34:12
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×2closed ×1commented ×1referenced ×1

After I upgraded from 2026.4.23 to 2026.4.24, the LaunchAgent server does not work. This is the output from openclaw when I run openclaw gateway probe.

🦞 OpenClaw 2026.4.24 (cbcfdf6)
   Say "stop" and I'll stop—say "ship" and we'll both learn a lesson.

Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Discovery (this machine)
Found 1 gateway(s) via Bonjour (local.)

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

I have done the following steps:

openclaw gateway stop
openclaw gateway install
openclaw gateway start

and even reinstalled OpenClaw but I still face the same issues.

I am currently on Mac 26.3.1.

Root Cause

After I upgraded from 2026.4.23 to 2026.4.24, the LaunchAgent server does not work. This is the output from openclaw when I run openclaw gateway probe.

🦞 OpenClaw 2026.4.24 (cbcfdf6)
   Say "stop" and I'll stop—say "ship" and we'll both learn a lesson.

Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Discovery (this machine)
Found 1 gateway(s) via Bonjour (local.)

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

I have done the following steps:

openclaw gateway stop
openclaw gateway install
openclaw gateway start

and even reinstalled OpenClaw but I still face the same issues.

I am currently on Mac 26.3.1.

Fix Action

Fix / Workaround

Workaround is to force the gateway with openclaw gateway --force

Code Example

🦞 OpenClaw 2026.4.24 (cbcfdf6)
   Say "stop" and I'll stop—say "ship" and we'll both learn a lesson.


Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Discovery (this machine)
Found 1 gateway(s) via Bonjour (local.)

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

---

openclaw gateway stop
openclaw gateway install
openclaw gateway start

---

2026-04-26T19:47:41.650+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:47:41.659+08:00 [heartbeat] started
2026-04-26T19:47:50.476+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:47:51.534+08:00 [gateway] loading configuration…
2026-04-26T19:47:51.620+08:00 [gateway] resolving authentication…
2026-04-26T19:47:51.621+08:00 [gateway] starting...
2026-04-26T19:47:53.938+08:00 [gateway] starting HTTP server...
2026-04-26T19:47:53.940+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:47:53.969+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:47:54.139+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:47:54.140+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.5s)
2026-04-26T19:47:54.141+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:47:54.144+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:47:54.318+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:48:06.466+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:48:06.469+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:48:06.487+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:48:06.497+08:00 [heartbeat] started
2026-04-26T19:48:16.234+08:00 [gateway] loading configuration…
2026-04-26T19:48:16.311+08:00 [gateway] resolving authentication…
2026-04-26T19:48:16.312+08:00 [gateway] starting...
2026-04-26T19:48:18.495+08:00 [gateway] starting HTTP server...
2026-04-26T19:48:18.497+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:48:18.523+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:48:18.685+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:48:18.685+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.4s)
2026-04-26T19:48:18.686+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:48:18.689+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:48:18.809+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:48:44.387+08:00 [gateway] loading configuration…
2026-04-26T19:48:44.464+08:00 [gateway] resolving authentication…
2026-04-26T19:48:44.465+08:00 [gateway] starting...
2026-04-26T19:48:45.508+08:00 [gateway] signal SIGTERM received
2026-04-26T19:48:45.508+08:00 [gateway] received SIGTERM; shutting down
2026-04-26T19:48:46.529+08:00 [gateway] loading configuration…
2026-04-26T19:48:46.608+08:00 [gateway] resolving authentication…
2026-04-26T19:48:46.609+08:00 [gateway] starting...
2026-04-26T19:48:48.658+08:00 [gateway] starting HTTP server...
2026-04-26T19:48:48.660+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:48:48.687+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:48:48.850+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:48:48.850+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.2s)
2026-04-26T19:48:48.851+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:48:48.854+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:48:48.985+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:49:01.413+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:49:01.416+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:49:01.434+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:49:01.445+08:00 [heartbeat] started
2026-04-26T19:49:11.077+08:00 [gateway] loading configuration…
2026-04-26T19:49:11.158+08:00 [gateway] resolving authentication…
2026-04-26T19:49:11.158+08:00 [gateway] starting...
2026-04-26T19:49:13.297+08:00 [gateway] starting HTTP server...
2026-04-26T19:49:13.299+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:49:13.324+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:49:13.482+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:49:13.483+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.3s)
2026-04-26T19:49:13.483+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:49:13.486+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:49:13.605+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:49:25.512+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:49:25.516+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:49:25.534+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:49:25.546+08:00 [heartbeat] started
2026-04-26T19:49:34.849+08:00 [gateway] loading configuration…
2026-04-26T19:49:34.927+08:00 [gateway] resolving authentication…
2026-04-26T19:49:34.928+08:00 [gateway] starting...
2026-04-26T19:49:37.265+08:00 [gateway] starting HTTP server...
2026-04-26T19:49:37.267+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:49:37.300+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:49:37.476+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:49:37.476+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.5s)
2026-04-26T19:49:37.477+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:49:37.481+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:49:37.610+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:49:49.814+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:49:49.833+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:49:49.843+08:00 [heartbeat] started
2026-04-26T19:49:58.216+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:49:59.212+08:00 [gateway] loading configuration…
2026-04-26T19:49:59.291+08:00 [gateway] resolving authentication…
2026-04-26T19:49:59.292+08:00 [gateway] starting...
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After I upgraded from 2026.4.23 to 2026.4.24, the LaunchAgent server does not work. This is the output from openclaw when I run openclaw gateway probe.

🦞 OpenClaw 2026.4.24 (cbcfdf6)
   Say "stop" and I'll stop—say "ship" and we'll both learn a lesson.

Gateway Status
Reachable: no
Capability: unknown
Probe budget: 3000ms

Discovery (this machine)
Found 1 gateway(s) via Bonjour (local.)

Targets
Local loopback ws://127.0.0.1:18789
  Connect: failed - timeout · Capability: unknown

I have done the following steps:

openclaw gateway stop
openclaw gateway install
openclaw gateway start

and even reinstalled OpenClaw but I still face the same issues.

I am currently on Mac 26.3.1.

Steps to reproduce

  1. Start OpenClaw 2026.4.24
  2. Start the LaunchAgent through openclaw gateway start
  3. Launch a TUI chat with openclaw tui --session xxx

The TUI chat is stuck at disconnected.

Expected behavior

The TUI should connect

Actual behavior

The TUI does not connect

OpenClaw version

2026.4.24

Operating system

macOS 26.3.1

Install method

curl -fsSL https://openclaw.ai/install.sh | bash

Model

deepseek-v4-flash

Provider / routing chain

openclaw -> deepseek

Additional provider/model setup details

No response

Logs, screenshots, and evidence

2026-04-26T19:47:41.650+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:47:41.659+08:00 [heartbeat] started
2026-04-26T19:47:50.476+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:47:51.534+08:00 [gateway] loading configuration…
2026-04-26T19:47:51.620+08:00 [gateway] resolving authentication…
2026-04-26T19:47:51.621+08:00 [gateway] starting...
2026-04-26T19:47:53.938+08:00 [gateway] starting HTTP server...
2026-04-26T19:47:53.940+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:47:53.969+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:47:54.139+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:47:54.140+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.5s)
2026-04-26T19:47:54.141+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:47:54.144+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:47:54.318+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:48:06.466+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:48:06.469+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:48:06.487+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:48:06.497+08:00 [heartbeat] started
2026-04-26T19:48:16.234+08:00 [gateway] loading configuration…
2026-04-26T19:48:16.311+08:00 [gateway] resolving authentication…
2026-04-26T19:48:16.312+08:00 [gateway] starting...
2026-04-26T19:48:18.495+08:00 [gateway] starting HTTP server...
2026-04-26T19:48:18.497+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:48:18.523+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:48:18.685+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:48:18.685+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.4s)
2026-04-26T19:48:18.686+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:48:18.689+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:48:18.809+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:48:44.387+08:00 [gateway] loading configuration…
2026-04-26T19:48:44.464+08:00 [gateway] resolving authentication…
2026-04-26T19:48:44.465+08:00 [gateway] starting...
2026-04-26T19:48:45.508+08:00 [gateway] signal SIGTERM received
2026-04-26T19:48:45.508+08:00 [gateway] received SIGTERM; shutting down
2026-04-26T19:48:46.529+08:00 [gateway] loading configuration…
2026-04-26T19:48:46.608+08:00 [gateway] resolving authentication…
2026-04-26T19:48:46.609+08:00 [gateway] starting...
2026-04-26T19:48:48.658+08:00 [gateway] starting HTTP server...
2026-04-26T19:48:48.660+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:48:48.687+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:48:48.850+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:48:48.850+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.2s)
2026-04-26T19:48:48.851+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:48:48.854+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:48:48.985+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:49:01.413+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:49:01.416+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:49:01.434+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:49:01.445+08:00 [heartbeat] started
2026-04-26T19:49:11.077+08:00 [gateway] loading configuration…
2026-04-26T19:49:11.158+08:00 [gateway] resolving authentication…
2026-04-26T19:49:11.158+08:00 [gateway] starting...
2026-04-26T19:49:13.297+08:00 [gateway] starting HTTP server...
2026-04-26T19:49:13.299+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:49:13.324+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:49:13.482+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:49:13.483+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.3s)
2026-04-26T19:49:13.483+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:49:13.486+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:49:13.605+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:49:25.512+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:49:25.516+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:49:25.534+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:49:25.546+08:00 [heartbeat] started
2026-04-26T19:49:34.849+08:00 [gateway] loading configuration…
2026-04-26T19:49:34.927+08:00 [gateway] resolving authentication…
2026-04-26T19:49:34.928+08:00 [gateway] starting...
2026-04-26T19:49:37.265+08:00 [gateway] starting HTTP server...
2026-04-26T19:49:37.267+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root /Users/yixian/.openclaw/canvas)
2026-04-26T19:49:37.300+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-26T19:49:37.476+08:00 [gateway] agent model: deepseek/deepseek-v4-flash
2026-04-26T19:49:37.476+08:00 [gateway] ready (6 plugins: acpx, bonjour, browser, device-pair, phone-control, talk-voice; 2.5s)
2026-04-26T19:49:37.477+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-04-26.log
2026-04-26T19:49:37.481+08:00 [gateway] starting channels and sidecars...
2026-04-26T19:49:37.610+08:00 [hooks] loaded 4 internal hook handlers
2026-04-26T19:49:49.814+08:00 [plugins] embedded acpx runtime backend registered (cwd: /Users/yixian/.openclaw/workspace)
2026-04-26T19:49:49.833+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
2026-04-26T19:49:49.843+08:00 [heartbeat] started
2026-04-26T19:49:58.216+08:00 [plugins] bonjour: advertised gateway fqdn=MacBook Pro (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=announcing
2026-04-26T19:49:59.212+08:00 [gateway] loading configuration…
2026-04-26T19:49:59.291+08:00 [gateway] resolving authentication…
2026-04-26T19:49:59.292+08:00 [gateway] starting...

Impact and severity

No response

Additional information

Workaround is to force the gateway with openclaw gateway --force

extent analysis

TL;DR

The LaunchAgent server issue after upgrading to OpenClaw 2026.4.24 may be resolved by using the --force flag with the openclaw gateway command.

Guidance

  • The issue seems to be related to the gateway not starting properly after the upgrade, as indicated by the "Reachable: no" status in the openclaw gateway probe output.
  • The provided logs show repeated attempts to start the gateway, which may suggest a configuration or authentication issue.
  • Using the --force flag with openclaw gateway has been reported as a workaround, which could indicate that the issue is related to a specific check or validation that is failing.
  • To troubleshoot further, it may be helpful to inspect the gateway configuration and authentication settings to identify any potential issues.

Example

No specific code example is provided, as the issue appears to be related to the OpenClaw configuration and gateway startup.

Notes

The root cause of the issue is not explicitly stated, and the provided workaround may not be a permanent solution. Further investigation into the gateway configuration and authentication settings may be necessary to resolve the issue.

Recommendation

Apply the workaround by using the --force flag with openclaw gateway, as it has been reported to resolve the issue. However, it is recommended to also investigate the underlying cause of the problem to ensure a permanent solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The TUI should connect

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: After updating to 4.24, LaunchAgent gateway doesn't work and only `openclaw gateway --force` works. [1 comments, 2 participants]