Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#170 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
csharp
Ambito
devops, networking

Direzione di ricerca

Riproduci il problema con Resolve-DnsName verso fd60:627a:a42b::53, quindi esamina il Coder Connect Windows service, il Wintun adapter, la NRPT rule e il comportamento di CoderVpnService. L’attività è completata quando le query a workspace.coder restituiscono un indirizzo IP e il riavvio del Coder Desktop service conserva l’adapter, la regola e la registrazione del servizio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 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.

Lingua principale
C#
Stelle
29
Fork
12
Merge medio
4h 15m
PR unite (30g)
2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/coder-desktop-windows

Tutte le issue di coder/coder-desktop-windows

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.