gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Terminal not working in Gitpod workspaces for a specific user

Open bravoalpha79 opened this issue 5 years ago • 12 comments

Bug description

The student's workspace opens with the terminal tab open, but the terminal is never initialised (no prompt, black screen only).

https://apricot-dolphin-twrbop1z.ws-eu03.gitpod.io/#/workspace/sql

Strangely enough, when the student shares their workspace with me, the terminal initialises normally on my end.

Any attempt by the student to create a new workspace ends in the same result - the workspace opens, but the terminal is never initialised.

I even created a workspace of my own (from the student's repo) and at my end terminal works OK, but when I create a snapshot of that workspace and share it with the student, the terminal again doesn't work on their end:

https://gitpod.io/#snapshot/b2bcfafa-bab1-4599-81f0-06bc2d637739

We tried:

  • stopping and restarting workspace
  • logging out and back into Gitpod
  • creating a duplicate workspace

No change.

Steps to reproduce

Unknown, issue visible only on student's side.

Expected behavior

Terminal is initialised upon workspace start and can be used normally.

Example repository

No response

bravoalpha79 avatar Mar 17 '21 15:03 bravoalpha79

Which IDE do you use? Theia or VS Code?

akosyakov avatar Mar 18 '21 07:03 akosyakov

Hi Anton,

I thought *Gitpod *was the IDE. :)

It's Theia.

On Thu, 18 Mar 2021 at 08:47, Anton Kosyakov @.***> wrote:

Which IDE do you use? Theia or VS Code?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gitpod-io/gitpod/issues/3481#issuecomment-801707610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3J3KELJICWMU73U6FKY7DTEGV2XANCNFSM4ZK3QVHA .

bravoalpha79 avatar Mar 18 '21 08:03 bravoalpha79

@bravoalpha79 ok :) which editor then? did he switched to VS Code here: https://www.gitpod.io/docs/feature-preview/#default-ide?

akosyakov avatar Mar 18 '21 10:03 akosyakov

:) No no, it was Theia all the way, both on my side and on the student's, in both workspace instances above.

On Thu, 18 Mar 2021, 11:21 Anton Kosyakov, @.***> wrote:

@bravoalpha79 https://github.com/bravoalpha79 ok :) which editor then? did he switched to VS Code here: https://www.gitpod.io/docs/feature-preview/#default-ide?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gitpod-io/gitpod/issues/3481#issuecomment-801803439, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3J3KATM2BN5ZQ3HEJCTW3TEHH3BANCNFSM4ZK3QVHA .

bravoalpha79 avatar Mar 18 '21 10:03 bravoalpha79

I get the same issue on Firefox, but on Chrome it works fine. Obviously not preventing me from getting any work done, just hoping it narrows the problems down.

kiehozero avatar Mar 24 '21 10:03 kiehozero

I have this problem. I can't use the terminal on any gitpod instance, using Chrome. If I try to start a new terminal it just hangs there.

Welcome_—_ddev-gitpod_—_Gitpod_Code

Edit: I stopped the instance and then restarted it, and everything worked as expected. However, this has happened to me a number of times.

rfay avatar Mar 26 '21 00:03 rfay

@rfay for VS Code we track it here: https://github.com/gitpod-io/gitpod/issues/3127 looking to resolve it this month.

akosyakov avatar Mar 26 '21 08:03 akosyakov

i close it as a duplicate of https://github.com/gitpod-io/gitpod/issues/3127 I think it is the same root cause, i.e. a deadlock in the supervisor.

akosyakov avatar Mar 27 '21 13:03 akosyakov

This error came back again

LuigiSousa avatar Nov 21 '22 19:11 LuigiSousa

I'm having this same issue on Firefox / Windows, It worked fine on macOS during the weekend.

jarriagadac avatar Dec 12 '22 15:12 jarriagadac

@jarriagadac does this happen for all your workspaces/repos? could you try changing your "terminal.integrated.gpuAcceleration" setting to "canvas" or "off" does it help?

jeanp413 avatar Dec 12 '22 17:12 jeanp413

@jeanp413, it happens in all my workspaces/repos, just in Firefox/Windows. Changing "terminal.integrated.gpuAcceleration" setting to "canvas" or "off" fixed it. Thanks a lot!

jarriagadac avatar Dec 12 '22 19:12 jarriagadac