-
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
In company's network,workspace open error,and can't create project #2226
Comments
The che server does download stack docker images from docker hub but from your description it seems like it at least has access download from the internet. Please describe where you are trying to access your che server from that is running on your company's server. This seems like ports are being blocked by a firewall. Take a look at https://eclipse-che.readme.io/docs/networking for additional information. |
thanks for you advice. |
@JamesDrummond it's not about downloading Docker images. The error is caused by the client attempting to access the workspace agent. @chendongping make sure the ephemeral port range is not filtered. Also, can you share screenshot fo a browser dev console? I am pretty sure there are failed websocket connection messages. |
yes,there are connection fail. |
I ping work-space ip 172.17.0.1 fail, |
Are you accessing Che from a remote client (browser?) If so, you need to start Che with Why do you have different IPs for server and workspace? |
@chendongping can you try running Che with |
@chendongping As @eivantsov stated when you are trying to access the che server remotely you need to set the |
thanks, " -e CHE_HOST_IP=10.21.206.199" done! |
@eivantsov How if I have run “docker run --rm -t -v /var/run/docker.sock:/var/run/docker.sock eclipse/che start” |
@lishoujun That means a container named che-server already exists so "docker run --rm -t -v /var/run/docker.sock:/var/run/docker.sock eclipse/che start" was already ran. In order to restart the che server run "docker run --rm -t -v /var/run/docker.sock:/var/run/docker.sock -e CHE_HOST_IP=10.21.206.199 eclipse/che restart". If this command fails/hangs then try "docker rm -f che-server" to force remove of container. The latter approach is not preferable "docker rm -f che-server" though as some user preferences will not be saved. |
[Short description of problem here]
local deploy,ubuntu docker enviroment as a server.
when I open a workspace, pop error infomatiaon,
when I Create project, there is no react
Reproduction Steps:
STEP 1:open a workspace,error infomatiaon:
1.
Error:Can't load project types:Error
at Object.window.IDE.eventHandlers.initializationFailed(...)
at btb(_app-0.js:1965:168)
at otb(_app-0.js:1971:57)
at _.Ap(_app-0.js:4159:319)
at eval(_app-0.js:962:86)
2.
Connection failed with terminal
and the loading gif cant stop
STEP 2:Create project
input a project name in dialog popped, and confirm,but no react
[deploy eviroment]
so,my question is, does local deployed che server must connect to internet?
Che version: [4.6]
OS and version: [ubuntu 14.04]
Docker version: [1.12]
Che install: [Docker container:docker run --rm -t -v /var/run/docker.sock:/var/run/docker.sock eclipse/che start]
The text was updated successfully, but these errors were encountered: