-
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
Workspace Connection Error eclipse-che-4.2.0 #1149
Comments
Do you have any local configuration exported? Like workspace from RC11? I haven't tried the nightly but 4.2 works ok for me. |
@agnesagnes Please take a look at my comment here - #1138 (comment) Try it in an incognito window and/or clear cache. |
Great, it was that! Incognito window solved my two different problems. Thank you! |
I have this problem in Incognito or not in 4.6.2 running on docker 1.10. when I try in Firefox I get: |
@eanxgeek How did you start Che? Have you added -r:$IP parameter to the Che start syntax, where $IP is a public IP of you server? Can you send a screenshot with a browser dev console opened? Also you need to make sure that ephemeral port range is opened. |
@ddementieva I'll admit I am a bit new to docker so bear with me. I set CHE_HOST_IP to the public IP address of my host server. The behavior remained. Based on what I've read, "under the hood", -r:$IP should be substituted with what ever you have set CHE_HOST_IP to. Here are some info shots:
The log files don't appear to reveal anything, they seem to indicate everything is ok. And finally here is iptables, it could be the ephemeral ports. I work on that next. |
@eanxgeek can you open browser dev console and share a screenshot? I'd like to take a look at failed websocket requests. Also, can you confirm that the ephemeral port range is opened for morbo.lab.eng.rdu.redhat.com? Your client (browser) cannot connect to a workspace agent that is running in a Docker container on the host where Che server is running. There can be multiple reasons: blocked websockets, filtered ports, firewall restrictions etc. |
So to simplify things I set my docker command line options to include --iptabeles=false. My system should be wide open at this point.
Nothing shows up in the dev console, assuming I'm accessing the correct one from "Open IDE". |
@eanxgeek - Since this is centos 7, instead of disabling iptables, can you also check about firewalld? About firewalld: http://www.liquidweb.com/kb/how-to-stop-and-disable-firewalld-on-centos-7/ |
@eanxgeek i mean Chrome dev console - F12. |
I'm running into the same issues, running latest nightly build. DEBUG: --------------------------------------- |
This issue was confirmed for Mac OS and fixed with an improvement to the Che launcher made yesterday. It probably has not flowed into the nightly yet. However this issue still exists for the vagrant box but no longer on Windows or Mac or native Linux. Roman is researching with Alex. |
Problem persisted after disabling firewalld. I'm going to try using nightly and see what / if any different behavior I may get. Update: nightly tag is not available from docker.io/eclipse/che |
@eanxgeek Please share a screenshot with browser dev console on. Since you are running Che remotely it is possible that this is a blocked ports issue. |
@eanxgeek Any update on this? |
Any open source alternative for Eclipse Che in which we can create workspace for multiple developers with authentication, as Che dashboard & workspace can be accessed by any developer without authentication...!! |
Codenvy offers a fair source license for up to 3 users. But there are not other open source alternatives. There are dozens of people supporting the project and there has to be some way in which they are supported by the community. You could consider running your own Che farm or giving back by purchasing codenvy. |
I have 80+ Developers with different projects(PHP,python), we develop web application with php and Apache Server installed in every developer machine, my present scenarios is, checkout source codes from Local Subversion server to each developer machine(Ubuntu) and commit after work.. . they run projects as localhost.... what i really need is AVOID checkouting source code to developer desktops, instead of this they could code from browser or any other option like that.. So can you explain How Codenvy can do this..?? |
You can get some more information from our technical & customer support teams with contact@codenvy.com. But, please, we need to try and keep issues on the topic of the original posting. Otherwise, our support engineers cannot track it appropriately and close it. From the original thread - this issue should be resolved from commits made for 4.7.2, so going to close this. |
Hello, I already have eclipse-che-4.0.0-RC11 and I can create projects. Now I try to update its version so I have downloaded eclipse-che-4.2.0 to test: I have the same error each time when starting the workspace agent: "Workspace connection error" (see error in detail below). I run che with: bin/che.sh run. I am on ubuntu 14.04.
Can it be because of the previous che version? What changed between the two versions that could justify this error?
And to be honest, I also tried the unsigned nightly (eclipse-che-4.3.0-RC1-SNAPSHOT), that gives the error "Error: Can't load project types: Error: 404 Not Found http://localhost:8080 at ... see detailed picture".

Error 4.2.0 in detail:
Workspace Connection Error
It seems that your workspace is running, but we cannot connect your browser to it. This commonly happens when Che was not configured properly. If your browser is connecting to workspaces running remotely, then you must start Che with the --remote: flag where the is the IP address of the node that is running your Docker workspaces.Please restart Che with this flag. You can read about what this flag does and why it is essential at: https://eclipse-che.readme.io/docs/configuration#envrionment-variables.
The text was updated successfully, but these errors were encountered: