[bug] Coder Connect on Windows: DNS publishing silently fails — workspace lookups return empty answers despite Connect being on
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- csharp
- Lĩnh vực
- devops, networking
Hướng nghiên cứu
Tái hiện lỗi bằng Resolve-DnsName với fd60:627a:a42b::53, sau đó kiểm tra Coder Connect Windows service, Wintun adapter, NRPT rule và hoạt động của CoderVpnService. Được xem là hoàn tất khi các truy vấn đến workspace.coder trả về một địa chỉ IP và việc khởi động lại Coder Desktop service vẫn giữ nguyên adapter, rule và đăng ký service.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 coder@myworkspace.coder "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.
- Ngôn ngữ chính
- C#
- Star
- 29
- Fork
- 12
- Merge trung bình
- 4 giờ 15 phút
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/coder-desktop-windows
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
coder/coder-desktop-windows#166 ·
-
CoderVPN Unsigned Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
coder/coder-desktop-windows#179 · 3 bình luận ·
-
bug coder-desktop networking
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
coder/coder-desktop-windows#177 · 2 bình luận ·
-
bug coder-desktop
coder/coder-desktop-windows#171 · 1 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
coder/coder-desktop-windows#151 ·
Tất cả issue của coder/coder-desktop-windows
Issue tương tự
-
CS0162 "Unreachable code detected" warning from a MSBuildTemp .tmp file in every game project Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
apache/arrow-adbc#4809 ·
-
type/automation type/tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
microsoft/vscode-azurefunctions#5197 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
microsoft/microsoft-ui-reactor#1274 ·