[bug] Coder Connect on Windows: DNS publishing silently fails — workspace lookups return empty answers despite Connect being on
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- csharp
- 领域
- devops, networking
调研方向
使用 Resolve-DnsName 针对 fd60:627a:a42b::53 重现故障,然后检查 Coder Connect Windows service、Wintun adapter、NRPT rule 以及 CoderVpnService 的行为。当对 workspace.coder 的查询返回 IP 地址,并且重启 Coder Desktop service 后 adapter、rule 和 service registration 仍然保留时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Version: 0.8.3 (latest)
OS: Windows 11 Pro 10.0.26200
Symptom
Coder Desktop GUI reports Connect is ON, workspaces are listed, but no workspace hostname (<workspace>.coder) actually resolves via DNS. Apps that rely on Coder Connect for hostname routing (in our case, Claude Desktop's bundled SSH client which cannot use ~/.ssh/config ProxyCommand) time out at the SSH handshake step because no IP is returned.
What's set up correctly
- Wintun adapter "Coder" is
Upwith afd60:627a:a42b::/64IPv6 prefix Get-DnsClientNrptRuleshows.coder → fd60:627a:a42b::53- TCP/53 on the Coder DNS server is reachable
coder users show mesucceeds — CLI is authenticated to our deployment
What fails
Direct query to the embedded DNS:
> Resolve-DnsName -Name myworkspace.coder -Server fd60:627a:a42b::53
(empty answer — no IPAddress, no NXDOMAIN)
> ssh -F nul -o ConnectTimeout=15 [email protected] "echo OK"
ssh: Could not resolve hostname myworkspace.coder: No such host is known.
Queries succeed only when going via the ~/.ssh/config ProxyCommand (coder.exe ssh --stdio) — i.e., bypassing Coder Connect entirely. OpenSSH with verbose shows Authenticated to myworkspace.coder (via proxy).
Additional observation
Restarting the "Coder Desktop" Windows service while signed in deletes the Wintun adapter, the NRPT rule, and the CoderVpnService entry. Recovery requires toggling Connect OFF/ON in the tray app — the service restart alone leaves the system in a broken state.
Impact
Any third-party app that integrates with Coder via direct DNS + TCP (no ProxyCommand support) — e.g., Claude Desktop's "Add SSH connection" feature — cannot reach workspaces, even when the GUI says Connect is healthy.
- 主要语言
- C#
- 星标
- 29
- 派生
- 12
- 平均合并
- 4 小时 15 分钟
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/coder-desktop-windows 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
coder/coder-desktop-windows#166 ·
-
bug
难度 3/5 1-2 天 新手友好度 52/100
coder/coder-desktop-windows#179 · 3 条评论 ·
-
bug coder-desktop networking
难度 4/5 3-5 天 新手友好度 48/100
coder/coder-desktop-windows#177 · 2 条评论 ·
-
bug coder-desktop
coder/coder-desktop-windows#171 · 1 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
coder/coder-desktop-windows#151 ·
查看 coder/coder-desktop-windows 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
bug needs response
难度 2/5 1-3 小时 新手友好度 82/100
Adyen/adyen-dotnet-api-library#1869 ·
-
Status: Needs Triage Type: Bug
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 88/100
-
bug effort:S P3
难度 2/5 1-3 小时 新手友好度 84/100
nightscout/nocturne#1602 ·