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

[code] connection to the extension host suddenly breaks #3797

Closed
svenefftinge opened this issue Apr 7, 2021 · 4 comments · Fixed by #3840
Closed

[code] connection to the extension host suddenly breaks #3797

svenefftinge opened this issue Apr 7, 2021 · 4 comments · Fixed by #3840
Assignees
Labels

Comments

@svenefftinge
Copy link
Member

I was coding along and after an hour or so, parts of the IDE (search, scm, open file) didn't work anymore.

Turned out the connection to the code server dropped and reconnection didn't work.
logs from the console:

 INFO [remote-connection][ExtensionHost][0759f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] connecting to jade-toucan-3bgkxdet.ws-eu03.gitpod.io:443...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] A network error occurred while trying to reconnect, will try again...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] waiting for 30 seconds before reconnecting...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] connecting to jade-toucan-3bgkxdet.ws-eu03.gitpod.io:443...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] A network error occurred while trying to reconnect, will try again...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] waiting for 30 seconds before reconnecting...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] resolving connection...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] connecting to jade-toucan-3bgkxdet.ws-eu03.gitpod.io:443...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] A network error occurred while trying to reconnect, will try again...
log.ts:284  INFO [remote-connection][ExtensionHost][0759f…][reconnect] waiting for 30 seconds before reconnecting...
@akosyakov akosyakov added the type: bug Something isn't working label Apr 7, 2021
@akosyakov akosyakov added this to the [backlog] April 2021 milestone Apr 7, 2021
@akosyakov
Copy link
Member

probably related to #3370 if not a duplicate

@akosyakov
Copy link
Member

A workaround is to reload or open another page.

@akosyakov
Copy link
Member

I was able to reproduce it, by capturing WebSocket object to the extension host process from the heap snapshot and closing it. Handshake on the reconnection is broken. Looking into the fix. That’s really hard to reproduce otherwise, because if the connection is completely offline, VS Code treats it differently.

@akosyakov akosyakov changed the title [code] connection to server suddenly breaks [code] connection to the extension host suddenly breaks Apr 8, 2021
@akosyakov
Copy link
Member

We are going to deploy the fix tomorrow morning.

pavan-tri pushed a commit to trilogy-group/gitpod that referenced this issue Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants