question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Theia terminal extension must propagate error from che-machine-exec

See original GitHub issue

Describe 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: Screenshot_20200414_110958

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

It can’t be reproduced stable but I got it after.

  1. Create che-dashboard workspace: f?url=https://github.com/eclipse/che-dashboard
  2. Start a terminal
  3. Start Install Dependencies task and wait until it’s finished.
  4. 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 and kubectl version)
  • minishift (include output of minishift version and oc version)
  • crc 1.8.0+0a318dc
  • docker-desktop + K8S (include output of docker version and kubectl 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:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tolushacommented, May 27, 2021

Switching to a new go client fixes the problem https://github.com/eclipse-che/che-machine-exec/pull/148

1reaction
tolushacommented, Apr 2, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found