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

Night Che Code fails to start #21708

Closed
ebramirez opened this issue Sep 16, 2022 · 10 comments
Closed

Night Che Code fails to start #21708

ebramirez opened this issue Sep 16, 2022 · 10 comments
Assignees
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.
Milestone

Comments

@ebramirez
Copy link

Describe the bug

In the Developer Sandbox, a Workspace using Che Code nightly fails to start with the error: devworkspace failed to progress past phase 'Starting' for longer than timeout (5m).

Che version

7.50

Steps to reproduce

  1. Create a workspace using Che Code nightly in the Developer Sandbox. For example https://github.com/RedHatTraining/DO378-apps/tree/research-devspaces/
  2. Try to open the Workspace

Expected behavior

Workspace opens normally.

Runtime

OpenShift

Screenshots

No response

Installation method

OperatorHub

Environment

Dev Sandbox (workspaces.openshift.com)

Eclipse Che Logs

No response

Additional context

No response

@ebramirez ebramirez added the kind/bug Outline of a bug - must adhere to the bug report template. label Sep 16, 2022
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Sep 16, 2022
@azatsarynnyy azatsarynnyy added severity/P1 Has a major impact to usage or development of the system. area/editor/vscode Issues related to the Code OSS editor of Che team/editors labels Sep 16, 2022
@azatsarynnyy
Copy link
Member

Thank you @ebramirez for reporting it. We're already investigating it.

@azatsarynnyy
Copy link
Member

From the editor's container logs I see that VS Code is started successfully:

[GIN-debug] Listening and serving HTTP on 0.0.0.0:3333
using OPENVSX_URL=https://open-vsx.org/vscode
Server bound to 127.0.0.1:8000 (IPv4)
Extension host agent listening on 8000
Web UI available at http://localhost:8000/
[12:43:49] Extension host agent started.
[GIN] 2022/09/16 - 12:43:49 | 200 |      345.11µs |       127.0.0.1 | GET      /connect

But Dashboard shows:

image

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Sep 16, 2022

From the editor's container logs I see that VS Code is started successfully:
But Dashboard shows:

yes, I noticed it as well...

@benoitf
Copy link
Contributor

benoitf commented Sep 16, 2022

it seems entrypoint specify port listening number to be 3100 (with --port 3100) but real listening port is on 8000 (so either flag is ignored or skipped)

@azatsarynnyy
Copy link
Member

The problem is that before the last changes from upstream VS Code run on port 3100:

[GIN-debug] Listening and serving HTTP on 0.0.0.0:3333
using OPENVSX_URL=https://open-vsx.org/vscode
Server bound to 127.0.0.1:3100 (IPv4)
Extension host agent listening on 3100

but now it's on port 8000

@azatsarynnyy
Copy link
Member

it seems entrypoint specify port listening number to be 3100 (with --port 3100) but real listening port is on 8000 (so either flag is ignored or skipped)

yes, I've just noticed that

@benoitf
Copy link
Contributor

benoitf commented Sep 16, 2022

executing command socat tcp-l:3100,fork,reuseaddr tcp:127.0.0.1:8000 in the terminal of UDI for example allows to boot the workspace

@azatsarynnyy
Copy link
Member

While we're investigating it, it's possible to start VS Code in Che from one of the previous images,
e.g.: quay.io/che-incubator/che-code:insiders-69b69eb

@azatsarynnyy
Copy link
Member

The suspicious commit: microsoft/vscode@519b06e

@azatsarynnyy azatsarynnyy mentioned this issue Sep 16, 2022
82 tasks
@azatsarynnyy azatsarynnyy removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Sep 16, 2022
@azatsarynnyy
Copy link
Member

fixed

@azatsarynnyy azatsarynnyy added this to the 7.54 milestone Sep 19, 2022
@azatsarynnyy azatsarynnyy self-assigned this Sep 19, 2022
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.
Projects
None yet
Development

No branches or pull requests

5 participants