-
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
Cannot start workspace #1226
Comments
How did you start Che? If it is started in a VM you need to use |
Yes, I start it on VM and if I specify -r:$PUBLIC_IP then last log lines are
If I specify -r:$PRIVATE_IP last log lines are
So it does not start Workspace... |
If Che server is launched on a remote VM, this parameter is mandatory. Can you verify that ports In the first case, Che server cannot ping ws-agent, probably because the right ports are blocked. In the second case, Che server can ping ws-agent, but then your browser cannot connect to ws-agent because it is a private IP. How to fix it? Make sure port range |
Right... Ports were closed... Thanks |
Hi again... Everything was fine when Che and Docker was on the same machine.
|
Did you export DOCKER_HOST env on the instance where Che server is being launched? Can you share server logs? Also, did you run Che with |
I exported DOCKER_HOST
Here last log lines (full log is in private message)
|
|
Right, thanks! Workspace is opened But now it displays popup.
Any ideas? |
@ukman When a workspace starts, Che mounts ws-agent.zip and terminal into a container and then starts them. Since ws-agent has started you copied ws-agent.zip onto a Docker VM. You should do the same for terminal. Just copy terminal to your Docker VM and set its location in |
@ukman any update on this? |
Sorry for the delay... I am going to check it this week... |
I have the same problem,but I run it in Centos7.How to fix it? please help me,thanks! |
@stoneqsl can you share your server and ws agent logs? And you need to start Che with |
yes. ############## HOW TO CONNECT YOUR CHE CLIENT ###############
Using CATALINA_BASE: /home/stone/下载/eclipse-che-latest/eclipse-che-4.2.0/tomcat STDOUT] Listening for transport dt_socket at address: 4403 I don't know how to check my ephemeral port in Centos7.Can you help me? @eivantsov |
@stoneqsl You are running Che in a Virtual machine, correct? In your case, Che server cannot reach a workspace agent at http://192.168.99.100:32806/api/ext/ It can be a blocked port issue or a Docker issue, when you cannot reach any process in a container. Are you using Virtual Box? 192.168.99.100 is the VM IP? And you use this IP to access Che? |
NO,I run it in Centos7,not in a Virtual machine.I just try to fix my problem. @eivantsov |
If you run it natively, there's no need in |
I run this command . [root@localhost bin]# sh che.sh run -s:uid ############## HOW TO CONNECT YOUR CHE CLIENT ###############
Using CATALINA_BASE: /home/stone/下载/eclipse-che-latest/eclipse-che-4.2.0/tomcat The browser send the following message: window.IDE.eventHandlers.initializationFailed@http://192.168.0.189:8080/ide/default?uid=610695:39:27 |
@stoneqsl what host or IP do you use to access Che? Also, what happens when you start a workspace? Can you share a screenshot? According to server logs, the server has been able to reach a workspace agent. So, now I am interested in workspace agent logs or anything you can share that is related to workspace start. |
@eivantsov I use the DHCP IP address 192.168.0.189. But I do not set IP to access Che. |
@stoneqsl why not localhost if you run it locally? Also, can you share ws-agent log or a screenshot of what happens when you run a workspace? |
@eivantsov I don't know how to localhost. I just run it with this: [root@localhost bin]# sh ./che.sh -s:uid ############## HOW TO CONNECT YOUR CHE CLIENT ###############
Using CATALINA_BASE: /home/stone/下载/eclipse-che-latest/eclipse-che-4.2.0/tomcat And show this message: window.IDE.eventHandlers.initializationFailed@http://192.168.0.140:8080/ide/che/secondjava?uid=584758:39:27 If I click Ok,I can go into the page .But It show me the message loading Starting workspace agent. My English is not good.Sorry for that.I hope U can help me fix it. |
@stoneqsl What IP or hostname do you type when you access Che? Do you run it locally?On your machine? Can you share a screenshot of what happens after you start a workspace? Your workspace has started successfully, according to server logs. What is 192.168.0.140 IP? Is this the IP you use to access Che? |
@eivantsov show this message: window.IDE.eventHandlers.initializationFailed@http://192.168.0.189:8080/ide/che/secondjava?uid=584758:39:27 If I click Ok,I can go into the page .But It show me the message loading Starting workspace agent. |
Are you running Che on localhost or not? |
can I have your email address please? it would be more convenient . |
It should be localhost, not the IP. Did you use |
Give it a shot with https://install.codenvycorp.com/che/eclipse-che-nightly.tar.gz |
Yes, I use this. |
Do not use -r if you access Che on localhost. It's not necessary in this case. |
@stoneqsl do you start an existing workspace or a new one? I cannot reproduce any of the errors. The websocket error is likely to be caused by some network config. No idea at the moment on what have have caused URI error. It's the first time this one is reported. |
@eivantsov Thanks for your response.If I use the version of nightly che ,this error is coming.I don't know how to fix it.So I use che 14.2.0.But there is a error. Can't connected to terminal. I think that there is something wrong with the Port.Can U know how to deal with my port.
|
@stoneqsl I've run out of suggestions that may help. You may contact me at support@codenvy.com and we'll organize a screenshare/teamviewer session. |
Thanks for your help.I want you organize a teamviewer session.But I don't know how to operate. I‘m trying to install teamviewer .what do U need? I will tell u. @eivantsov |
teamviewer ID 499 087 676 Password i4t88w @eivantsov |
@eivantsov It's the same problem.Can you organize a screenshare/teamviewer session? |
@stoneqsl Concerning |
@ddementieva I found that the REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable from the iptable COULD be troublesome. Please help me fix it. |
Closing this issue - so that it can be tracked in #1507. |
@eivantsov hi, how to add the public IP when running a docker container on a VM in Docker version 17.03 and Eclipse Che 5.10? |
@imveejay can you elaborate? I do not quite understand the question. |
@eivantsov you mentioned on your previous post, to start Eclipse Che in a VM environment, it is needed to use '-r:$IP' flag. Wherein $IP is the public IP of the VM. My question is how use that flag in Eclipse Che 5.10 onwards? |
Use |
I downloaded eclipse-che-4.2.0 and started it.
When I try to create/run workspace it displays in browser
...and freezes.
When I try to open workspace from workspace list, it pops up
Error: Can't load project types: Error
at Object.window.IDE.eventHandlers.initializationFailed (http://XXXXXXX:8080/ide/WS_JAVA_1?uid=712513:39:27)
at Idb (_app-0.js:1781:44)
at Vdb (_app-0.js:1786:380)
at _.Wn (_app-0.js:4291:317)
at eval (_app-0.js:1316:278)
Any ideas?
The text was updated successfully, but these errors were encountered: