From cc958d042206872bea5488b8592ff9171116c9f9 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 3 Feb 2024 04:10:57 +0000 Subject: [PATCH 1/2] docs: add faq for gateway reconnects --- docs/faqs.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/faqs.md b/docs/faqs.md index ee5402b42fa85..d6d5a3bc0ab9e 100644 --- a/docs/faqs.md +++ b/docs/faqs.md @@ -530,3 +530,23 @@ prerequisites for Linux, please look at the VSCode docs. https://code.visualstudio.com/docs/remote/linux#_local-linux-prerequisites + +
+ How can I resolve disconnects when connected to Coder via JetBrains Gateway? + +If you leave your JetBrains IDE open for some time while connected to Coder, you +may encounter a message similar to the below: + +```console +No internet connection. Changes in the document might be lost. Trying to reconnect… +``` + +To resolve this, add this entry to your SSH host file on your local machine: + +```console +Host coder-jetbrains--* + ServerAliveInterval 5 +``` + +Note that your SSH config file will be overwritten by the JetBrains Gateway client +if it is re-authenticated to your Coder deployment. From fd1258bc0082af44b25d1a7bdfa35b3eb6fb2a1e Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 3 Feb 2024 04:16:22 +0000 Subject: [PATCH 2/2] make: fmt --- docs/faqs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/faqs.md b/docs/faqs.md index d6d5a3bc0ab9e..c347f75b9e838 100644 --- a/docs/faqs.md +++ b/docs/faqs.md @@ -548,5 +548,5 @@ Host coder-jetbrains--* ServerAliveInterval 5 ``` -Note that your SSH config file will be overwritten by the JetBrains Gateway client -if it is re-authenticated to your Coder deployment. +Note that your SSH config file will be overwritten by the JetBrains Gateway +client if it is re-authenticated to your Coder deployment.