-
Notifications
You must be signed in to change notification settings - Fork 889
docs: add faq for gateway reconnects #12007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -530,3 +530,23 @@ prerequisites for Linux, please look at the VSCode docs. | |||||||
https://code.visualstudio.com/docs/remote/linux#_local-linux-prerequisites | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details style="margin-bottom: 28px;"> | ||||||||
<summary style="font-size: larger; font-weight: bold;">How can I resolve disconnects when connected to Coder via JetBrains Gateway?</summary> | ||||||||
|
||||||||
If you leave your JetBrains IDE open for some time while connected to Coder, you | ||||||||
may encounter a message similar to the below: | ||||||||
Comment on lines
+537
to
+538
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is nitpicking I think, but my thinking is that not all disconnects will require the fix, just the ones that are persistently hung, and possibly mentioning a VPN will make it more discoverable since I think that is the main way to trigger this.
Suggested change
|
||||||||
|
||||||||
```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: | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
```console | ||||||||
Host coder-jetbrains--* | ||||||||
ServerAliveInterval 5 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. People can probably look this up just fine but I wonder if we should add something like:
|
||||||||
``` | ||||||||
|
||||||||
Note that your SSH config file will be overwritten by the JetBrains Gateway | ||||||||
client if it is re-authenticated to your Coder deployment. | ||||||||
Comment on lines
+551
to
+552
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we might specify that only the blocks between the comments are overwritten just in case it sounds like it wipes the entire config file. Since those blocks are overwritten we have to add the setting in a separate block rather than add it to an existing block. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the closing
details
is missing, probably the browser will auto-close it since it is at the end but it might trip someone up if they are adding a new section.