You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][0.2.1-rc.2] Inspector bundle injects a loopback-only endpoint (ws://127.0.0.1:9230/ingest); LAN/remote browsers get periodic mux disconnects
#12985
When the optional @deepseek-ai/dsh-experimental-inspector-profile bundle is enabled — documented as "off by default in Plugin Manager" and switched on via Developer Tools — the Host injects this bootstrap into every Web page:
127.0.0.1 is hardcoded. For any browser that is not running on the Host machine (LAN, reverse proxy, SSH-tunnel / remote clients), it resolves to the client machine, where no DSH inspector is listening. The inspector client therefore never connects and retries every 0.25–5 s, filling the console with WebSocket connection to 'ws://127.0.0.1:9230/ingest' failed / 403 / 1006.
On those clients, /api/remote.mux is torn down periodically, the UI repeatedly shows a "connected" toast, and recovery takes tens of seconds.
Environment
@deepseek-ai/dsh0.2.1-rc.2, web profile
Host: WSL2 (6.18.58.1-microsoft-standard-WSL2), dsh web bound to 127.0.0.1:3080 behind a LAN reverse proxy (192.168.10.x:8080)
Client: macOS + Chrome; also reproduced in everyday browsers (all brands)
The bundle entered dsh.profile.bundles when the profile was regenerated on upgrade; all package.json backups from 2026-10-05 to 2026-10-12 predate it
Loopback access (127.0.0.1:3080 on the Host) is unaffected, as expected
Symptoms
Periodic teardown of /api/remote.mux, with no WebSocket close frame (1006 / ECONNRESET)
Console repeatedly shows [connection] connection lost, retry #1 and [connection] generation is still not ready after 3000ms
23–49 s from disconnect to reconnect in our captures, consistent with backoffBaseMs=500, factor=2, backoffMaxMs=10000
Switching sessions triggers an immediate successful reconnect (the manual reconnect() aborts the backoff wait)
Only non-loopback clients are affected
Relation to existing discussions
We searched Discussions first; several reports describe similar symptoms but different root causes:
To our knowledge nobody has linked this loopback-only inspector endpoint to periodic disconnects on non-loopback clients. It may also be worth re-checking on #9603-style setups.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
When the optional
@deepseek-ai/dsh-experimental-inspector-profilebundle is enabled — documented as "off by default in Plugin Manager" and switched on via Developer Tools — the Host injects this bootstrap into every Web page:127.0.0.1is hardcoded. For any browser that is not running on the Host machine (LAN, reverse proxy, SSH-tunnel / remote clients), it resolves to the client machine, where no DSH inspector is listening. The inspector client therefore never connects and retries every 0.25–5 s, filling the console withWebSocket connection to 'ws://127.0.0.1:9230/ingest' failed/ 403 / 1006.On those clients,
/api/remote.muxis torn down periodically, the UI repeatedly shows a "connected" toast, and recovery takes tens of seconds.Environment
@deepseek-ai/dsh0.2.1-rc.2,webprofile6.18.58.1-microsoft-standard-WSL2),dsh webbound to127.0.0.1:3080behind a LAN reverse proxy (192.168.10.x:8080)dsh.profile.bundleswhen the profile was regenerated on upgrade; allpackage.jsonbackups from 2026-10-05 to 2026-10-12 predate it127.0.0.1:3080on the Host) is unaffected, as expectedSymptoms
/api/remote.mux, with no WebSocket close frame (1006/ECONNRESET)[connection] connection lost, retry #1and[connection] generation is still not ready after 3000msbackoffBaseMs=500,factor=2,backoffMaxMs=10000reconnect()aborts the backoff wait)Relation to existing discussions
We searched Discussions first; several reports describe similar symptoms but different root causes:
session/followsnapshotkeepAliveTimeoutdefault (we applied that workaround independently; it reduced but did not eliminate our disconnects)inspector: Host source is closed), a different inspector failure modews://127.0.0.1:9230/ingestfailing, but called it a red herring for a renderer freezeTo our knowledge nobody has linked this loopback-only inspector endpoint to periodic disconnects on non-loopback clients. It may also be worth re-checking on #9603-style setups.
All reactions