Intercept and mock failed SSH connections to provide log dumps, or even a troubleshooting link
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- typescript
- Bereich
- devtools
Rechercherichtung
Beginnen Sie mit dem Lesen des Vorschlags und verfolgen Sie, wie die Erweiterung derzeit auf das SSH-ProxyCommand-Verhalten von Coder angewiesen ist. Ermitteln Sie anschließend, wie fehlgeschlagene Verbindungen an die VS Code- und JetBrains-Integrationen gemeldet werden, und legen Sie die unterstützte Diagnosemeldung, den Hook oder den Troubleshooting-Link fest. Validieren Sie dies anschließend anhand des vom Kunden gemeldeten Fehlerfalls.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
This is just an idea and was inspired by a customer-reported issue: https://github.com/coder/coder/issues/11978
Background
Today, Coder already "mocks" real SSH by running ProxyCommand. This is awesome, because Coder sysadmins do not need to open port 22 on devices, but makes it difficult for ssh, VS Code, or other commands to get the full story of why a connection has failed. Some logs are available with coder ssh -v, but in cases like VS Code Remote SSH, paths to get this info are unclear to the user as they just see a "Cannot reconnect. Please reload the window." button
We are working on coder/coder#12160, which will allow admins (or pipelines with admin access) to collect diagnostic information on behalf of a workspace. However, users will not be able to request it, and in the case of #119878 there is an issue external to Coder (e.g. VPN troubleshooting) that is causing the issue.
Proposal
If a connection to a workspace fails, we still "mock" the SSH request so that ssh or IDE plugins (VS Code and JetBrains) think it succeeds and then a message/hook can provide additional logging, or even link to an external wiki/service that gives the user more details on how to resolve/diagnose this issue.
By mocking an SSH connection, it allows us to inform extensions and provide a better UX than VS Code's "disconnected." It could be a useful utility for troubleshooting user connections by supplying more data or custom errors.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 131
- Forks
- 48
- Ø Merge
- 4 T. 15 Std.
- Gemergte PRs (30 T.)
- 17
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus coder/vscode-coder
-
coder/vscode-coder#1125 · 1 Kommentar · 1 zugewiesene Person ·
-
tech-debt
coder/vscode-coder#1119 · 1 Kommentar · 1 zugewiesene Person ·
-
enhancement tech-debt
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 74/100
coder/vscode-coder#1118 · 1 Kommentar ·
-
coder/vscode-coder#1113 · 3 Kommentare · 1 zugewiesene Person ·
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable server Offenenhancement tech-debt
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 45/100
coder/vscode-coder#1112 · 1 Kommentar ·
Alle Issues in coder/vscode-coder
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
receptron/mulmoterminal#2264 ·
-
documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
components-web-app/docs#96 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
simonsobs/tileviewer#114 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100