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

On ubuntu based workspace, VS Code "stop workspace" command fails #22928

Open
l0rd opened this issue Apr 17, 2024 · 7 comments
Open

On ubuntu based workspace, VS Code "stop workspace" command fails #22928

l0rd opened this issue Apr 17, 2024 · 7 comments
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.

Comments

@l0rd
Copy link
Contributor

l0rd commented Apr 17, 2024

Describe the bug

2024-04-17 14 49 36

Che version

next (development version)

Steps to reproduce

On dogfooding instance. Open a workspace and try to stop it from VS Code UI.
Note that I am using Safari on macOS.

Expected behavior

The workspace is stopped.

@l0rd l0rd added the kind/bug Outline of a bug - must adhere to the bug report template. label Apr 17, 2024
@svor svor added severity/P1 Has a major impact to usage or development of the system. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs. area/editor/vscode Issues related to the Code OSS editor of Che labels Apr 18, 2024
@svor
Copy link
Contributor

svor commented Apr 18, 2024

@RomanNikitenko could you take a look please

@RomanNikitenko
Copy link
Member

tested on the dogfooding instance using Safari on macOS

stop_workspace.mp4

@RomanNikitenko
Copy link
Member

so, probably, Safari is not the cause of the problem, there was another reason...

@l0rd
Copy link
Contributor Author

l0rd commented Apr 19, 2024

It's reproducible on an ubuntu based container (Dockerfile, image, link to open it on dogfooding).

From the extension host (remote) output:

2024-04-19 08:18:48.650 [error] Error: error:0A0000B9:SSL routines::no cipher match
	at configSecureContext (node:internal/tls/secure-context:231:11)
	at createSecureContext (node:_tls_common:117:3)
	at Object.createSecureContext (/checode/checode-linux-libc/ubi9/node_modules/@vscode/proxy-agent/out/index.js:444:34)
	at connect (node:_tls_wrap:1750:48)
	at Object.connect (/checode/checode-linux-libc/ubi9/node_modules/@vscode/proxy-agent/out/index.js:363:29)
	at Agent.createConnection (node:https:158:22)
	at Agent.createSocket (node:_http_agent:341:26)
	at Agent.addRequest (node:_http_agent:288:10)
	at /checode/checode-linux-libc/ubi9/node_modules/agent-base/dist/index.js:77:31

@RomanNikitenko
Copy link
Member

@l0rd
Thank you for the clarification!

I can reproduce it for the ubuntu based container even using chrome.
Recently ubi9-based images support was added to Che-Code.
About - ubuntu - we have a separate issue for that: #22862.
Apart of Stop Workspace problem - it's not possible to install extensions, for example.

@RomanNikitenko RomanNikitenko changed the title Workspace is not stopped after selecting "stop workspace" from VS Code commands Workspace is not stopped after selecting "stop workspace" from VS Code commands in ubuntu-based container Apr 19, 2024
@l0rd
Copy link
Contributor Author

l0rd commented Apr 19, 2024

About - ubuntu - we have a separate issue for that: #22862.
Apart of Stop Workspace problem - it's not possible to install extensions, for example.

That's fair enough, no problem to close this issue but the issue you have linked says che-code doesn't start on vanilla ubuntu based image, which is false.

@l0rd l0rd changed the title Workspace is not stopped after selecting "stop workspace" from VS Code commands in ubuntu-based container On ubuntu based workspace, VS Code "stop workspace" command fails Apr 19, 2024
@RomanNikitenko
Copy link
Member

In that issue docker.io/ubuntu:20.04 image was reported, it's still not possible to start a workspace for that image.

About newer version of ubuntu - yes it's possible to start a workspace after these changes: che-incubator/che-code#332, but there are still problems that I mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Projects
None yet
Development

No branches or pull requests

3 participants