openclaw - 💡(How to fix) Fix [Bug]:Gateway crashes on macOS when hostname contains apostrophe (Bonjour / ciao) [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#72953Fetched 2026-04-28 06:29:35
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
closed ×1commented ×1labeled ×1

Gateway process crashes during startup when hostname contains an apostrophe, with CIAO PROBING CANCELLED error in logs.

Error Message

Gateway process crashes during startup when hostname contains an apostrophe, with CIAO PROBING CANCELLED error in logs.

Root Cause

Gateway process crashes during startup when hostname contains an apostrophe, with CIAO PROBING CANCELLED error in logs.

Code Example

[plugins] bonjour: state=probing
[plugins] bonjour: state=unannounced
Unhandled promise rejection: CIAO PROBING CANCELLED
RAW_BUFFERClick to expand / collapse

Bug type

Crash (process/app exits or hangs)

Beta release blocker

No

Summary

Gateway process crashes during startup when hostname contains an apostrophe, with CIAO PROBING CANCELLED error in logs.

Steps to reproduce

  1. Set macOS hostname to include an apostrophe, e.g. "test's-mac"
  2. Install OpenClaw 2026.4.24 via npm
  3. Run openclaw gateway
  4. Observe crash during startup

Expected behavior

Gateway should start normally and remain running.

Actual behavior

Gateway crashes during startup with log: "Unhandled promise rejection: CIAO PROBING CANCELLED"

OpenClaw version

2026.4.24

Operating system

macOS 15.x

Install method

npm global

Model

NOT_RELEVANT

Provider / routing chain

NOT_RELEVANT

Additional provider/model setup details

NOT_RELEVANT

Logs, screenshots, and evidence

[plugins] bonjour: state=probing
[plugins] bonjour: state=unannounced
Unhandled promise rejection: CIAO PROBING CANCELLED

Impact and severity

Affected: macOS users with hostname containing apostrophe Severity: High (gateway cannot start) Frequency: Always (reproduced multiple times) Consequence: Gateway unusable

Additional information

Renaming hostname to remove apostrophe avoids the crash. I can help test a fix if needed.

extent analysis

TL;DR

The gateway process crash during startup on macOS with a hostname containing an apostrophe can likely be fixed by properly handling or escaping the apostrophe in the hostname.

Guidance

  • Verify that the issue is indeed caused by the apostrophe in the hostname by testing with different hostnames and checking if the crash occurs consistently.
  • Investigate the openclaw code to see how it handles hostnames with special characters, specifically apostrophes, and consider updating the code to properly escape or handle such characters.
  • As a temporary workaround, renaming the hostname to remove the apostrophe, as mentioned in the additional information, can avoid the crash.
  • Check the bonjour plugin configuration to see if there are any settings related to hostname handling that could be adjusted to prevent the crash.

Example

No code snippet is provided as the issue does not include enough information about the openclaw codebase.

Notes

The fix may require updates to the openclaw code to handle hostnames with apostrophes correctly. The provided logs suggest a promise rejection related to the bonjour plugin, which may be a key area to investigate.

Recommendation

Apply workaround: renaming the hostname to remove the apostrophe, as this is a simple and effective way to avoid the crash until a more permanent fix can be implemented.

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

Gateway should start normally and remain running.

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]:Gateway crashes on macOS when hostname contains apostrophe (Bonjour / ciao) [1 comments, 2 participants]