Skip to content

[Bug]: Gateway Launch Failure: Label cannot be longer than 63 bytes #37705

@LHucass

Description

@LHucass

Bug type

Crash (process/app exits or hangs)

Summary

[openclaw] Uncaught exception: AssertionError [ERR_ASSERTION]: Label cannot be longer than 63 bytes (app-41627eae5842473f9e05f139ea307277-7f9477f4d6-lqqzf (OpenClaw)) at DNSLabelCoder.getLabelLength (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/coder/DNSLabelCoder.ts:349:13) at NonCompressionLabelCoder.getUncompressedNameLength (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/coder/DNSLabelCoder.ts:85:31) at NonCompressionLabelCoder.getNameLength (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/coder/DNSLabelCoder.ts:404:17) at Question.getEncodingLength (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/coder/Question.ts:35:18) at DNSPacket.getEstimatedEncodingLength (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/coder/DNSPacket.ts:377:24) at DNSPacket.createDNSQueryPackets (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/coder/DNSPacket.ts:213:16) at MDNSServer.sendQueryBroadcast (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/MDNSServer.ts:281:31) at Prober.sendProbeRequest (envs/openclaw/lib/node_modules/openclaw/node_modules/@homebridge/ciao/src/responder/Prober.ts:165:17) at listOnTimeout (node:internal/timers:605:17) at processTimers (node:internal/timers:541:7)

Steps to reproduce

You could reproduce the bug following https://github.com/openclaw/openclaw/issues/1828
And you closed the issue. I tried to use CLAWDBOT_DISABLE_BONJOUR=1 openclaw gateway but it does not work

Expected behavior

The gateway started normally
And if the length is too long, cut it manually to prevent it from being crashed

Actual behavior

The gateway crashed quickly

OpenClaw version

OpenClaw 2026.3.2 (85377a2)

Operating system

Linux

Install method

npm global

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbug:crashProcess/app exits unexpectedly or hangs

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions