-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Che Deployment on GCP - Debugging Failing to Run #16805
Comments
@Les-Linux looks like the problem because Java language server wasn't completely initialized when you start your debug session. |
I tried that too but the outcome was the same. Even with the Java language server activated, without the entry in the launch.json file it would fail. In the screen shot you see two different types of consoles opening, the first with the launch.json configuration attribute included, the second if it is removed from the launch.json file. Should the terminals not be identical if the java language server is active? Thanks very much for your feedback. Les |
I can't reproduce it on my local Minishift deployment. Could you please provide a log from |
sure, let me see what I can do. |
Recording Available Here |
And another log: |
When I selected Java: Open Java language server log file 'No log file available' was initially thrown, just as an FYI. |
I can reproduce it on GCP. |
I have been looking at this all day, without becoming any wiser :). Changing the terminal to internalConsole get's you around the breakpoint matter, however if you want to read from stdin, then this will not be possible with the internalConsole. |
I dropped over to codeenvy to see if the issue was reproducible outside of my GCP environment. I even want as far as to tether with my phone to eliminate my network as a problem. I deployed the gradle java stack and tried to debug, receiving the same error. |
I decided to install vscode on my Mac just to see if there are any issues with the debugger and reading from stdin. Everything works as expected with the mac native app and I can debug and input text as expected. |
Can see this problem on che.openshift.io (in both cases: Ephemeral/not Ephemeral mode). Also there are logs from the browser console:
|
logs form theia-ide container
|
Describe the bug
Debugging Java Gradle deployed from the stack (Java Stack with OpenJDK 11 and Gradle 6.2.1) fails.
The Java Debug Console opens but then the following exception is thrown:
Failed to launch debuggee in terminal. Reason: com.sun.jdi.connect.TransportTimeoutException
The deployment in GCP is a vanilla instance, which I only completed configuring this morning.
Che version
Che-Theia@181d383 using Theia@9bc52ad1 v7.12
Built 4/23/2020, 4:58:50 PM
Steps to reproduce
Expected behavior
To reach breakpoint
Runtime
Cube Cluster 1.15.11-gke.9
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.9", GitCommit:"2e808b7cb054ee242b68e62455323aa783991f03", GitTreeState:"clean", BuildDate:"2020-01-18T23:33:14Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-gke.9", GitCommit:"e1af17fd873e15a48769e2c7b9851405f89e3d0d", GitTreeState:"clean", BuildDate:"2020-04-06T20:56:54Z", GoVersion:"go1.12.17b4", Compiler:"gc", Platform:"linux/amd64"}
Screenshots
Installation method
Environment
1588176702505.tar.gz
The text was updated successfully, but these errors were encountered: