JetbBrains Gateway fails to connect #75327
Unanswered
aisgbnok
asked this question in
Codespaces
Replies: 1 comment 2 replies
-
me neither, did you solve it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
Description
When trying to open any codespace in JetBrains gateway, connection fails.
Steps to reproduce
GH CLI w/ SSH preconfigured. (gh version 2.38.0 (2023-11-01))
1. Start fresh installation of Gateway
2. Install GitHub Codespaces
3. Authenticate GitHub Codespaces
4. Create new codespace using default settings at https://github.com/codespaces (should have ssh server enabled)
5. Select Codespace and IDE (IDEA 2023.1.1) in Gateway.
6. Select Connect
7. Fails to connect with stacktraces listed below.
I can provide additional logs (gateway, etc.) if needed.
Impact
Cannot use codespaces through JetBrains gateway at all.
Additional context
I am usure what these settings do:
I have tried configuring the CLI path and the Private Key path manually. I have tried setting the private key path to the autogenerated
codespaces.jetbrains
file, that doesn't work. I have tried my own private ssh key that I use for GitHub, but then gateway complains that no password was provided.I have tried multiple times to fully reset (delete gateway config in appdata local+roaming, autogenerated ssh, etc.) Gateway and start from scratch, even revoking oauth of codespaces in Gateway. I have also tried resetting my local GitHub CLI and reauthenticating. I have destroyed and recreated the codespace multiple times. (I have tried creating a codespace of https://github.com/dotnet/samples, doesn't work.)
You will notice that in the codespace settings image above, it states "You've been selected to try GitHub Codespaces' new connection logic...". After resetting Gateway and reinstalling the codespaces plugin that does not always appear. It does not work regardless.
Stacktrace
These stacktraces are after a full Gateway reset, with the new Codespaces' logic message appearing, and a brand new codespace deployment using the default config (which should have SSH). It is a 4-core • 16GB RAM • 32GB instance.
Context
OS: Windows
OS Version: 11.0
OS Build: 10.0.23585.1001
OS Architecture: amd64
Java Version: 17.0.8.1
Java Runtime Version: 17.0.8.1+7-b1000.32
Java Vendor: JetBrains s.r.o.
Available CPUs: 8
Max Memory: 2124414976
Free Memory: 57868256
Total Memory: 262144000
IDE Version: 2023.2.4
IDE: JetBrains Gateway 2023.2.4
Plugin Version: 0.4.0.1360
Plugin path: C:\Users\[USERNAME]\AppData\Roaming\JetBrains\JetBrainsGateway2023.2\plugins\github-codespaces-gateway
Plugin ID: com.github.codespaces.jetbrains.gateway
Telemetry Consent: allow
Beta Was this translation helpful? Give feedback.
All reactions