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

Failed to run debug session in the "NodeJS Express Web Application" based workspace #20075

Closed
18 tasks
Ohrimenko1988 opened this issue Jul 5, 2021 · 6 comments
Closed
18 tasks
Assignees
Labels
area/plugins 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. sprint/current
Milestone

Comments

@Ohrimenko1988
Copy link
Contributor

Ohrimenko1988 commented Jul 5, 2021

Describe the bug

Failed to run debug session in the "NodeJS Express Web Application" based workspace

Che version

  • [ x ] latest
  • nightly
  • other: please specify

Steps to reproduce

  • Go to dashboard and create workspace using the "NodeJS Express Web Application" default devfile
  • Go inside created workspace and run the "download dependencies" preinstalled command
  • Run the "run the web app (debugging enabled)" preinstalled command
  • Go to the debug view and run the "Attach to Remote (node-js-web-app)" debug configuration
  • Pay attention to the error notification (debug logs and screenshot in attachments)

Expected behavior

Debug session has been run

Observed behavior

Debug session has failed to start

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • [ x ] minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Installation method

  • [ x ] chectl
chectl server:deploy \
  --k8spodreadytimeout=600000 \
  --k8spodwaittimeout=600000 \
  --k8spoddownloadimagetimeout=600000 \
  --listr-renderer=verbose \
  --platform=minikube \
  --chenamespace=iokhrime-che \
  --telemetry=off
  • OperatorHub
  • I don't know

Environment

  • [ x ] my computer
    • Windows
    • [ x ] Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify

Eclipse Che Logs

debug.log

Additional context

Screenshot from 2021-07-05 15-11-26

@Ohrimenko1988 Ohrimenko1988 added kind/bug Outline of a bug - must adhere to the bug report template. team/plugins labels Jul 5, 2021
@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 Jul 5, 2021
@ericwill ericwill added severity/P1 Has a major impact to usage or development of the system. area/plugins and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 5, 2021
@ericwill ericwill mentioned this issue Jul 5, 2021
22 tasks
@tsmaeder
Copy link
Contributor

tsmaeder commented Jul 6, 2021

@Ohrimenko1988 anything interesting in the browser or Theia container logs?

@Ohrimenko1988
Copy link
Contributor Author

I haven't seen error's in the browser or in containers. Only in debug ext container (logs in the description https://github.com/eclipse/che/files/6764180/debug.log)

@tsmaeder
Copy link
Contributor

tsmaeder commented Jul 6, 2021

Oddly, the only exception in the log is the same as in #18455. Are we using an old version of the plugin host runtime?

@svor
Copy link
Contributor

svor commented Aug 2, 2021

@tsmaeder
Copy link
Contributor

This sounds like something that is fixed in Theia: eclipse-theia/theia#9730

@tsmaeder
Copy link
Contributor

Indeed, it's fixed in che-theia:next.

@Ohrimenko1988 the relevant stack trace is visible in the container log of the node debug plugin. Unfortunately, the only way to get those logs is through the OpenShift console (for my dogfooding instance something like https://console-openshift-console.apps.che-dev.x6e0.p1.openshiftapps.com/k8s/ns/tsmaeder-che/pods/workspacenxxxx....).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins 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. sprint/current
Projects
None yet
Development

No branches or pull requests

5 participants