-
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
Client has aborted connection. Response writing omitted. #5245
Comments
After the error messages, there will be a dialog: |
console messages: Wed May 31 15:45:40 UTC 2017 - [localhost-startStop-1] Product-specified preferences called before plugin is started |
@YanngLiu you may want to try running it with -e "CHE_HOST=10.99.24.179" |
Thanks @eivantsov . I tried this option but no luck. |
@YanngLiu che-launcher is deprecated. use |
Thanks @eivantsov . Things look moving forward. The content of file /etc/network/interfaces: |
@YanngLiu are you behind a proxy? You may add |
I'm not sure, but I think so. The machine is within company. Looks there is no |
append |
Thanks @eivantsov . Things look move forward! There is another error message in a dialog when I try to create a Java project in the workspace: |
@YanngLiu
You must be behind the proxy. Make sure you configure proxy both for master and ws-agent: https://www.eclipse.org/che/docs/setup/getting-started/index.html#proxy-installation |
Thanks! |
@YanngLiu please share your che.env file, namely envs for proxies. Have you set proxy for Codenvy workspaces? |
@eivantsov Thanks for the response. I didn't set proxy as I didn't get the info from my IT guys. |
@YanngLiu you need this info, otherwise workspace agent will have limited connectivity. |
@eivantsov Got it, I'll try to find what's the proxy. Thanks! |
@YanngLiu closing due to inactivity. Feel free to reopen if configuring proxy in che.env does not fix it. |
After I added correct DNS server in file /etc/docker/daemon.json, things can work. |
I downloaded Che source code and built it in a Ubuntu machine (not VM).
Then I started the server using following command:
docker run -v /var/run/docker.sock:/var/run/docker.sock -e CHE_LOCAL_BINARY=/home/yang/che/assembly/assembly-main/target/eclipse-che-5.9.0-SNAPSHOT/eclipse-che-5.9.0-SNAPSHOT codenvy/che-launcher:nightly start
I open the url http://10.99.24.179:8080/dashboard in firefox on another machine which is in the same internal network, and try to create a simple hello world Java project in the workspace, the error message appears.
Reproduction Steps:
OS and version:
Linux yang-OptiPlex-960 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Diagnostics:
yang@yang-OptiPlex-960:~$ docker run -v /var/run/docker.sock:/var/run/docker.sock eclipse/che info
WARN: Bound 'eclipse/che' to 'eclipse/che:5.8.1'
WARNING: No swap limit support
WARN: Did not detect TTY - interactive mode disabled
INFO: Welcome to Eclipse Che!
INFO:
INFO: We could not detect a location to save data.
INFO: Volume mount a local directory to ':/data'.
INFO:
INFO: Simplest syntax:
INFO: docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock
INFO: -v <YOUR_LOCAL_PATH>:/data
INFO: eclipse/che info
INFO:
INFO:
INFO: Or, run with additional overrides:
INFO: docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock
INFO: -v <YOUR_LOCAL_PATH>:/data
INFO: -v <YOUR_INSTANCE_PATH>:/data/instance
INFO: -v <YOUR_BACKUP_PATH>:/data/backup
INFO: eclipse/che info
The text was updated successfully, but these errors were encountered: