Skip to content
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

Gitpod with VSCode: Connection constantly terminating #20224

Open
CarterBland opened this issue Sep 16, 2024 · 17 comments
Open

Gitpod with VSCode: Connection constantly terminating #20224

CarterBland opened this issue Sep 16, 2024 · 17 comments
Labels
team: team-experience type: bug Something isn't working

Comments

@CarterBland
Copy link

Bug description

We are encountering a persistent issue with our Gitpod Workspaces where the connection is randomly dropped, requiring us to manually re-establish the connection, typically through the browser.

Upon reviewing my VSCode logs, I noticed a consistent message appearing each time the connection drops. I'm not certain if this is helpful, but I'm happy to provide additional logs if needed.

Here are the relevant log entries:

2024-09-16 11:30:27.663 [info] Extension host with pid 9202 exited with code: 0, signal: unknown.
2024-09-16 11:30:27.664 [error] [UtilityProcessWorker]: terminated unexpectedly with code 726636822, signal: unknown
2024-09-16 11:30:28.667 [error] Extension host with pid 9202 still exists, forcefully killing it...
2024-09-16 12:31:33.120 [info] Extension host with pid 9386 exited with code: 0, signal: unknown.
2024-09-16 12:31:33.127 [error] [UtilityProcessWorker]: terminated unexpectedly with code 726636822, signal: unknown
2024-09-16 12:42:53.188 [error] [UtilityProcessWorker]: terminated unexpectedly with code 726636822, signal: unknown
2024-09-16 12:42:53.298 [info] Extension host with pid 10155 exited with code: 0, signal: unknown.
2024-09-16 12:48:52.741 [error] [UtilityProcessWorker]: terminated unexpectedly with code 726636822, signal: unknown
2024-09-16 12:48:53.021 [info] Extension host with pid 11031 exited with code: 0, signal: unknown.

Steps to reproduce

I'm not sure of a general way to reproduce this issue, but it's consistent in our workspace.

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

@CarterBland CarterBland added the type: bug Something isn't working label Sep 16, 2024
@axonasif
Copy link
Member

Hi @CarterBland, can you check if your VSCode and GItpod extension in it is up to date?

@CarterBland
Copy link
Author

CarterBland commented Sep 17, 2024

@axonasif I ensured my VSCode and Gitpod extension were updated this morning, see this crash a couple minutes ago:

2024-09-17 09:40:30.009 [info] update#setState idle
2024-09-17 09:40:36.396 [info] update#setState checking for updates
2024-09-17 09:40:37.333 [info] update#setState idle
2024-09-17 09:41:00.013 [info] update#setState checking for updates
2024-09-17 09:41:00.138 [info] update#setState idle
2024-09-17 10:16:19.608 [error] [UtilityProcessWorker]: terminated unexpectedly with code 518129942, signal: unknown
2024-09-17 10:16:19.759 [info] Extension host with pid 59028 exited with code: 0, signal: unknown.

@axonasif
Copy link
Member

@CarterBland We'll need some logs, please add the following from VSCode settings.json or Settings UI:

  • "remote.SSH.logLevel": "trace"
  • "gitpod.lssh.logLevel": "debug" [1]

Then launch a new workspace and work with the VSCode instance. As the vscode instance unexpectedly disconnects, collect the VSCode Desktop client logs and send them to [email protected] to create a support ticket.

@CarterBland
Copy link
Author

@axonasif It's happening so much it's almost unbearable to use Gitpod through VSCode. I emailed the logs to the address you specified.

@axonasif
Copy link
Member

@CarterBland if possible, you can use the web version of vscode while we sort this out.

@sansari
Copy link

sansari commented Sep 19, 2024

This has been happening to me as well for more than a week now. It seems to happen while working on front-end development most of all, when it can force a reload as often as every minute. "Unbearable" is def the right word for it 😣

@nhorton
Copy link

nhorton commented Sep 19, 2024

@axonasif - I have an engineering team running at a fraction of what their speed should be while we spend thousands with Gitpod. But this is marked as fixed when we are still very blocked by it.

Can you please make sure this is being looked at as a priority? I am going to assign someone to testing Codespaces monday since we have been heavily affected by this for weeks (this is the second ticket about this topic).

@CarterBland
Copy link
Author

@axonasif have there been any updates?

@axonasif
Copy link
Member

@CarterBland re-posting my msg here from the support ticket:

I thoroughly looked over the logs you provided, but nothing tangible has come up so far. I have a few suggestions for troubleshooting:

  1. Try switching to a slightly older version of VSCode to see if that makes a difference. For example, you can check out this slightly older version: VSCode v1.89. Based on your logs, you appear to be on a Mac; I am too, and I was able to easily replace my /Applications/Visual Studio Code.app with the older version.
  2. In your logs, I noticed a particular VSCode extension (philiplambok.vscode-rails-docs) was endlessly looping. Because of this, I suggest temporarily disabling that extension. You can also experiment by disabling all of your local and remote VSCode extensions.
  3. As of now, the latest version of the Gitpod VSCode extension is v0.0.176. Please ensure you have it updated. As well as ms-vscode-remote.remote-ssh.

Your network might also be a factor but unlikely, let's try the above steps first.


@sansari 👋 you can try this too

@CarterBland
Copy link
Author

@axonasif Hey axon, thank you for checking in on these! I confirmed this morning that I still see the connection drop when philiplambok.vscode-rails-docs is uninstalled and all of the extensions are updated. I am going to attempt to downgrade VSCode and will report back.

@axonasif axonasif reopened this Oct 1, 2024
@nhorton
Copy link

nhorton commented Oct 1, 2024

Info: I just hit this, and here is the VSCode full info:

Version: 1.93.1 (user setup)
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

image
image

I am going to see if I can get others to report there versions and such.

@ftakj
Copy link

ftakj commented Oct 1, 2024

I just hit this issue:

Version: 1.93.1
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z (2 wks ago)
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.4.0

@WanxinXia
Copy link

I hit this as well:
Version: 1.93.1 (Universal)
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin x64 21.6.0

@axonasif
Copy link
Member

axonasif commented Oct 2, 2024

Can you try switching to the older version of VSCode mentioned here? Meanwhile, I will try to reproduce this on v1.93.1 from my mac

@nhorton
Copy link

nhorton commented Oct 2, 2024 via email

@axonasif
Copy link
Member

axonasif commented Oct 5, 2024

@nhorton I think you might need to uninstall it first on Windows before installing a different version: https://code.visualstudio.com/docs/setup/uninstall#_windows

Can you please try that and report back?

@axonasif
Copy link
Member

axonasif commented Oct 5, 2024

I wasn't able to reproduce the same behavior yet with the same versions as you. I should also check the logs on our end for your workspaces.

Is this happening for all repositories you open on Gitpod?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: team-experience type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants