-
Notifications
You must be signed in to change notification settings - Fork 881
JetBrains Gateway 2022.2 RC doesn't work with Coder SSH #3125
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
Comments
Ok, I've confirmed that with OpenSSH, it does correctly return the exit code when a PTY is requested:
|
Not sure if it helps, but even if no PTY is requested, al exit codes above 1 are normalized to 1:
where test_exit_code:
|
I have the same symptoms of the IDE list check failing with the same pattern in the logs. Additionally I looked on the workspace and there was no binary in the location Jetbrains Gateway thought it should exist. Another little clue for this issue: When I set |
@spikecurtis when you get through that bug you are working on, will you add your estimate to this retroactively? |
I'm able to get this working with #3192 merged and
as the client + our example gcp-linux template. |
That's awesome! Can't wait for the next release to try this out 🙌🏻 |
Problem:
On Gateway 2022.2 RC, connecting to Coder over SSH hangs on detecting IDEs. Looking through the logs
idea.log
it appears that Gateway tests for the presence of an executable utility to find installed IDEs. This utility doesn't exist, but Gateway somehow concludes that is does. It then tries to execute this utility and fails.
Talking with JetBrains, their hypothesis is that our SSH server is not setting command return codes correctly when a PTY is allocated. Notes from Slack below:
The text was updated successfully, but these errors were encountered: