-
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
Always loading And can't connection failed with terminal Help! #1507
Comments
It seems like it's a security/network issue. Can you try disabling firewall, selinux and iptables?
|
@ddementieva Thanks for your response. I have done as you said,but it doesn't work.I stopped my firewalld. |
@james10174 Thanks for your response. Ihave changed linux_arm7 to linux_arm64,but it doesn't work.so I changed back. I found this Warning in Starting workspace agent: [STDOUT] Listening for transport dt_socket at address: 4403 And In the back of terminal,it show this warning: 2016-06-16 09:18:23,300[nio-8080-exec-4] [WARN ] [i.ContainerResponse$BodyWriter 90] - Client has aborted connection. Response writing omitted. |
@stoneqsl Well from above it looks like your architecture is amd64. How are you starting the che server at the command line? Does seem like a port issue though. |
@james10174 sh che.sh run -r:192.168.0.189 192.168.0.189 is my ip. |
@stoneqsl If you are in the local machine as the screen capture above indicates try "che.sh run" without -r:. |
@james10174 It doesn't work .I have tried it. |
@stoneqsl Try the following on che server.
|
@james10174 |
@stoneqsl So did the local connection from terminal 2 fail? Let me know what ifconfig outputs. |
@james10174 yes.[stone@localhost lib]$ ifconfig enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 veth79860d1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 |
@stoneqsl Let me know output of 'sudo iptables -L -n' |
@james10174 Chain FORWARD (policy ACCEPT) Chain OUTPUT (policy ACCEPT) Chain DOCKER (1 references) |
@james10174 is there anything wrong? |
@eivantsov OK! Here we talk with each other. |
@stoneqsl The
|
[STDOUT] 2016-06-17 00:34:11,712[nio-4401-exec-1] [WARN ] [i.ContainerResponse$BodyWriter 90] - Client has aborted connection. Response writing omitted. @james10174 I have tried your command. But it doesn't work. I think 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. |
@stoneqsl with the iptables modified with |
@james10174 yes.I have tried it without the remote ipaddress.But it doesn't work. |
@stoneqsl Try after shutting down che server sudo docker run -ti --net=host -v /var/run/docker.sock:/var/run/docker.sock codenvy/che |
@james10174 [root@localhost bin]# systemctl start docker.service !!! Usage: Options when running Che natively: Options when running Che in a Docker container: Commands: Docs: http://eclipse.org/che/getting-started. If you are running Che as a server on a VM for multiple users to access, review the various networking |
@stoneqsl Is your docker daemon running? sudo systemctl start docker http://www.tecmint.com/install-docker-and-learn-containers-in-centos-rhel-7-6/ |
@james10174 6月 17 09:09:32 localhost.localdomain forward-journal[3971]: time="2016-06-1... !!! Usage: Options when running Che natively: Options when running Che in a Docker container: Commands: Docs: http://eclipse.org/che/getting-started. If you are running Che as a server on a VM for multiple users to access, review the various networking |
@stoneqsl try |
@james10174 it's OK! |
@stoneqsl I'm sorry did you mean that the |
@james10174 It's not worked. |
@stoneqsl What was the output of |
@james10174 [root@localhost bin]# sudo systemctl restart docker 6月 17 09:57:22 localhost.localdomain forward-journal[10242]: time="2016-06-... !!! Usage: Options when running Che natively: Options when running Che in a Docker container: Commands: Docs: http://eclipse.org/che/getting-started. If you are running Che as a server on a VM for multiple users to access, review the various networking |
@stoneqsl |
[root@localhost bin]# docker info |
@stoneqsl From what I found on google about |
[root@localhost bin]# systemctl stop firewalld |
|
@james10174 6月 17 10:17:36 localhost.localdomain systemd[1]: Stopped firewalld - dynami... !!! Usage: Options when running Che natively: Options when running Che in a Docker container: Commands: Docs: http://eclipse.org/che/getting-started. If you are running Che as a server on a VM for multiple users to access, review the various networking |
@stoneqsl Something seems wrong with your docker. try che nightly |
@james10174 Ok ,Thanks for your response.I'm trying it. |
@eivantsov Think there might be an issue with the terminal. Do you know of ways to test it from within the container? @stoneqsl Can you create and run |
@james10174 NO,I cann't! When I go into the container.There is a terminal.But it cann't be connected. |
@stoneqsl let's try to manually launch terminal.
Provide output from this command. If the terminal starts, it produces no output. If it's so, refresh the IDE. By the way, it looks like it is just terminal that does not work. Can you create projects at Workspace > Create Project? |
@eivantsov [stone@localhost /]$ docker ps I cann't creat a project. |
@stoneqsl can you run By the way, it looks like it is just terminal that does not work. Can you create projects at Workspace > Create Project? |
@eivantsov Thanks for your response.I have changed to the version 14.3.0.Now I can create projects.But it's a problem that Client has aborted connection. Response writing omitted. |
@stoneqsl disregard this warning. So, is the problem solved now? |
It can run .But there is still some problems.Example Client has aborted connection. Response writing omitted.And I can't use IE to access che,only use firefox And google. |
@stoneqsl Please open another issue for IE issue. I could not get IE(version 10.0.9200.16899) to start che server either. My IE version seems to run GWT http://www.gwt-ext.com/demo/#gridDD but fails a lot of the html5 checks http://html5test.com/s/e36a472f8b0c251a.html versus google chrome https://html5test.com/s/a2a4642f8b0bab50.html which maybe the cause. Specifically I think communication server-sent events is needed which is not supported in my version. My IE could not load https://www.websocket.org/echo.html. I don't use IE much so I am not reporting an issue. |
@stoneqsl IE isn't among officially supported browsers. What version do you have? It should be ok with the latest IE. |
@eivantsov Where are the official supported browsers listed? |
@james10174 right now, there's no such a list yet. I will add this info to docs. |
@eivantsov OK I was going crazy trying to find it. Thanks. |
@stoneqsl is the issue resolved for you? Is Che fully functional for you now? |
@eivantsov thanks for your response. everything is ok! thank you very mach. |
@stoneqsl Is the terminal working for you? |
Machine [ws = workspaceu15kanarzxlainbu: env = wksp-6tl2: machine = ws-machine] was successfully created, its id is 'machineboxbnx5yqoenlypp'
I can't connection with terminal!
I use che 14.2.0.
The text was updated successfully, but these errors were encountered: