Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[bug] Coder Connect on Windows: DNS publishing silently fails — workspace lookups return empty answers despite Connect being on

未关闭
#170 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

bug github-sync

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 Up with a fd60:627a:a42b::/64 IPv6 prefix
  • Get-DnsClientNrptRule shows .coder → fd60:627a:a42b::53
  • TCP/53 on the Coder DNS server is reachable
  • coder users show me succeeds — 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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

coder/coder-desktop-windows 的其他 Issue

查看 coder/coder-desktop-windows 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。