Failed to start Kubernetes runtime of workspace. Cause: Server theia in container theia-ide not available.
See original GitHub issuek8s 1.17.3 on baremetal centos7. Cluster is being used for testing purposes and all works fine (so far).
Che has been set up with chectl
using the operator method. Tried this with versions 7.9.2, 7.10.0 and nightly with the same effect.
Setup has been done with FQDN and --tls --self-signed-cert
and a previously imported root CA as described in the docs.
When trying to create a workspace the che
container reports:
2020-03-25 11:39:39,208[aceSharedPool-1] [WARN ] [.i.k.KubernetesInternalRuntime 263] - Failed to start Kubernetes runtime of workspace workspace7obhq7tk4sa8q9xq. Cause: Server 'theia' in container 'theia-idek90' not available.
2020-03-25 11:39:40,880[aceSharedPool-1] [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 944] - Workspace 'admin:java-maven-xvnj0' with id 'workspace7obhq7tk4sa8q9xq' start failed
the theia
container has some warning and errors, only the errors here
2020-03-25 11:41:41.455 root ERROR Failed to load plugin dependencies from '/plugins/installed.json' path Params: Error: ENOTDIR: not a directory, open '/plugins/installed.json/package.json'
2020-03-25 11:41:41.506 root ERROR Failed to load plugin dependencies from '/plugins/sidecars' path Params: Error: ENOENT: no such file or directory, open '/plugins/sidecars/package.json'
but finally reports:
2020-03-25 11:42:12.524 root INFO Deploy plugins list took: 31206.6 ms
There is not intresting to be found in the event-log.
Issue Analytics
- State:
- Created 3 years ago
- Comments:49 (21 by maintainers)
Top Results From Across the Web
Run `che-server` with custom `che-theia` - Theia Community
i.k.KubernetesInternalRuntime 245] - Failed to start Kubernetes runtime of workspace workspacecmy3gkx98ofiy0la. Cause: Plugins installation ...
Read more >Failed to run the workspace: "Server 'theia' in container 'theia ...
CodeReady Workspaces workspace does not start, "Error: Failed to run the workspace: "Server 'theia' in container 'theia-idektr' not available.".
Read more >Devfile v2 and IDE plug-ins in Eclipse Che - Medium
Devfile v1 were handled by Eclipse Che Server workspace engine using Java/Kubernetes API. There is a new engine for devfile v2 called ...
Read more >eclipse/che-machine-exec - Docker Image
Run docker container with che-machine-exec manually: ... You can create new Eclipse CHE workspace with integrated Theia IDE from stack 'Theia IDE on...
Read more >Newest 'eclipse-che' Questions - Stack Overflow
Eclipse Che is an open source developer workspace server and cloud IDE. ... "Error response from daemon: manifest for eclipse/che:latest not found: manifest ......
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
@sleshchenko
when I try this URL directly (of course fetched the acutal one after restart) I get a 404.
when I try
https://che-che.test.yars.lemarit.com/_app/loader.html?redirectUrl=https://server3cj87zqm-jwtproxy-webviews.test.yars.lemarit.com/&workspaceId=workspacesh9n48gcsw0jwrzb&token=eyJhbGciOiJSUzI1NiIsImtpbmQiOiJtYWNoaW5lX3Rva2VuIiwia2lkIjoid29ya3NwYWNlc2g5bjQ4Z2NzdzBqd3J6YiJ9
I get
Error: Failed to authenticate: "Unknown error"
I checked the events and all logs from the pods in the che namespace but found nothing related.
I had the same problem, theia running error
2021-09-16 09:39:11.360 root INFO Deploying backend plugin “git@1.52.1” from “/default-theia-plugins/vscode-git/extension/dist/main” 2021-09-16 09:39:11.361 root INFO Deploying backend plugin “github@1.50.1” from “/default-theia-plugins/vscode-github/extension/dist/extension.js” 2021-09-16 09:39:11.362 root INFO Deploying backend plugin “references-view@0.0.47” from “/default-theia-plugins/vscode-references-view/extension/dist/extension” 2021-09-16 09:39:11.363 root INFO Deploy plugins list took: 36947.0 ms
Received SIGTERM 2021-09-16 09:41:39.919 root INFO >>> Stopping backend contributions… 2021-09-16 09:41:39.921 root INFO <<< All backend contributions have been stopped. 2021-09-16 09:41:39.921 root ERROR Uncaught Exception: Params: TypeError: Cannot read property ‘1’ of null 2021-09-16 09:41:39.921 root ERROR TypeError: Cannot read property ‘1’ of null at /home/theia/node_modules/@theia/core/lib/node/process-utils.js:113:44 at Array.map (<anonymous>) at ProcessUtils.unixGetChildrenRecursive (/home/theia/node_modules/@theia/core/lib/node/process-utils.js:110:14) at ProcessUtils.unixTerminateProcessTree (/home/theia/node_modules/@theia/core/lib/node/process-utils.js:69:41) at ProcessUtils.terminateProcessTree (/home/theia/node_modules/@theia/core/lib/node/process-utils.js:60:18) at BackendApplication.onStop (/home/theia/node_modules/@theia/core/lib/node/backend-application.js:488:27) at process.<anonymous> (/home/theia/node_modules/@theia/core/lib/node/backend-application.js:180:55) at process.emit (events.js:326:22) at process.exit (internal/process/per_thread.js:168:15) at process.signalHandler (/home/theia/node_modules/@theia/core/lib/node/backend-application.js:177:21) at process.emit (events.js:314:20)
Received SIGTERM