Theia terminal extension must propagate error from che-machine-exec
See original GitHub issueDescribe the bug
After something went wrong with my workspace (f?url=https://github.com/eclipse/che-dashboard) I got Theia with empty tabs for tasks and terminal. Refreshing a page does not help. Empty tabs make impression that terminal/tasks are loading but actually they failed, if I check websocket connections I have the following errors:
Che version
- latest
- nightly
- other: please specify
Steps to reproduce
It can’t be reproduced stable but I got it after.
- Create che-dashboard workspace: f?url=https://github.com/eclipse/che-dashboard
- Start a terminal
- Start Install Dependencies task and wait until it’s finished.
- Start Build task. Actual behavior: Build task is empty forever, it’s not possible to use already initialized terminal.
Expected behavior
The progress of Build task is shown. It’s possible to use already initialized terminal. Or at least theia propagates errors which happens during communication with che-machine-exec via websockets.
Runtime
- kubernetes (include output of
kubectl version
) - Openshift (include output of
oc version
) - minikube (include output of
minikube version
andkubectl version
) - minishift (include output of
minishift version
andoc version
) - crc 1.8.0+0a318dc
- docker-desktop + K8S (include output of
docker version
andkubectl version
) - other: (please specify)
Screenshots
Installation method
- chectl server:start --chenamespace=vetal --che-operator-cr-patch-yaml ~/che-single-user.yaml --platform=openshift --installer=operator where che-single-user.yaml is
spec:
server:
selfSignedCert: false
tlsSupport: false
customCheProperties:
CHE_MULTIUSER: "false"
CHE_LIMITS_USER_WORKSPACES_RAM: "-1"
CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: "-1"
CHE_LOGGER_CONFIG: "export CHE_LOGGER_CONFIG=org.eclipse.che.api.workspace=DEBUG,org.eclipse.che.workspace.infrastructure.kubernetes=DEBUG,org.eclipse.che.workspace.infrastructure.openshift=DEBUG"
- che-operator
- minishift-addon
- I don’t know
Environment
- my computer
- Windows
- Linux
- macOS
- Cloud
- Amazon
- Azure
- GCE
- other (please specify)
- other: please specify
Eclipse Che Logs
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Che Deploy Sprint #199 · Issue #19364 · eclipse/che - GitHub
Theia terminal extension must propagate error from che-machine-exec Theia terminal extension must propagate error from che-machine-exec #16593
Read more >Firing up a Task from an extension - Theia Community
Hi, I'm developing my first Theia extension and am struggling with the documentation (or lack thereof) about running tasks.
Read more >Administration guide Red Hat OpenShift Dev Spaces 3.0
OpenShift Dev Spaces implicitly loads the default theia-ide , che-machine-exec , che-gateway containers. Calculate the requirements for each component.
Read more >Theia Update - Extensions, Git Support & More – TypeFox Blog
Extensions should be first class citizens An extension should be able to contribute and change any aspect of a Theia-based application.
Read more >@theia/terminal - npm
Theia - Terminal Extension. Latest version: 1.32.0, ... Start using @theia/terminal in your project by running `npm i @theia/terminal`.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Switching to a new go client fixes the problem https://github.com/eclipse-che/che-machine-exec/pull/148
we are waiting for a release of https://github.com/kubernetes/client-go which is expected to be soon https://github.com/kubernetes/api/issues/36