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.

WebSocket che-host failed

See original GitHub issue

Sorry for bothering, but i’ve been up for the past 5+ hours and cannot get this working

I have everything working, until it comes to injecting and starting the workspace agent. It says paste the below stacktrace so here it goes

[STDOUT] 2016-05-19 05:44:21,611[ventBusClient-0] [WARN ] [.c.a.c.n.WSocketEventBusClient 256] - Not able to connect to ws://che-host:8080/ide/api/eventbus/?token=dummy_token because Connection timeout. Retrying 
[STDOUT] 2016-05-19 05:44:21,620[ost-startStop-1] [INFO] [piEndpointAccessibilityChecker 74] - Workspace /etc/hosts: 127.0.0.1  localhost
[STDOUT] ::1    localhost ip6-localhost ip6-loopback
[STDOUT] fe00::0    ip6-localnet
[STDOUT] ff00::0    ip6-mcastprefix
[STDOUT] ff02::1    ip6-allnodes
[STDOUT] ff02::2    ip6-allrouters
[STDOUT] 192.168.99.1   che-host
[STDOUT] 172.17.0.2 efd3e104f3d8
[STDOUT]

It never gets passed this part

Deploying web application archive /home/user/che/ws-agent/webapps/ide.war

I’ve uninstalled everything, been trying to tickle with it to get it working and nothing.

I’ve managed to increase my timeout since it says that things might be running slow, But i guess not. After that this happens.

Unable to start workspace agent. Error when trying to start the workspace agent: Timeout reached. The Che server has been unable to verify that your workspace's agent has successfully booted. Either the workspace is unreachable, the agent had an error during startup, or your workspace is starting slowly. You can configure machine.ws_agent.max_start_time_ms in Che properties to increase the timeout.

Also, everytime when I run che after being closed it says this

Could not find an existing docker machine.
Creating docker machine named default... Please be patient, this takes a couple minutes the first time.

Then, when I load the che localhost:8080 nothing is saved that was previously created. How can I load whats default instead of it creating one every single time?

Thanks for the support

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
LegitSouljacommented, May 19, 2016

@TylerJewell I currently have my own vps, and im doing hosting for this for a community.

I was looking for a web/cloud based IDE and I discovered this and I started working with this and actually this is what im looking for. Mainly this is for development use for github. Strictly for running services, and debugging, and development for the team.

0reactions
TylerJewellcommented, May 19, 2016

@LegitSoulja – cool. What project are you working on @LegitSoulja?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Failed to run the workspace: "Server 'theia' in container ...
When creating workspace I found websocket is not abled.So I added this to ingress yaml. nginx.org/websocket-services: che-host.
Read more >
WebSocket connection failed: Error during ... - Stack Overflow
I am trying to integrate Socket.io with Angular and I'm having difficulties making a connection from the client-side to the server. I've looked ......
Read more >
Chapter 4. Configuring CodeReady Workspaces
CodeReady Workspaces websocket major endpoint. ... A failed container startup is handled explicitly by CodeReady Workspaces server.
Read more >
CHANGELOG.md · 940b0bc7bd1f8c59ab8d82ff6dd6c39913dcb32c ...
#1303; WebSocket che-host failed #1293; JAVA_HOME not found #1292; A TLS packet with unexpected length was received. #1290; Custom Stack Not Being Used....
Read more >
Stuck trying to set up Eclipse Che as an in-browser IDE
(The error log file contains nothing else). ... I see the services che-host, che-dashboard, che-gateway, postgres, devfile-registry, ...
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