Skip to content
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

eclipse che problem "start injecting workspace agent #1069

Closed
ccampo opened this issue Apr 18, 2016 · 31 comments
Closed

eclipse che problem "start injecting workspace agent #1069

ccampo opened this issue Apr 18, 2016 · 31 comments

Comments

@ccampo
Copy link

ccampo commented Apr 18, 2016

_1 Upvote_ I install eclipse che 4.0.1 on Mac OS X 10.11. Fresh and new Virtual Box 5.0. (only one "default" machine with 4 GB memory) I start the eclipse che server and create a new project "web-spring-servlet" with "java" workspace setting.

The setup starts and hangs when "Inject and start workspace agent"

Error log is this

[STDOUT] Listening for transport dt_socket at address: 4403
[STDOUT] 2016-04-18 14:25:39,097[main] [INFO] [o.a.c.s.VersionLoggerListener 89] - Server version: Apache Tomcat/8.0.29
[STDOUT] 2016-04-18 14:25:39,100[main] [INFO] [o.a.c.s.VersionLoggerListener 91] - Server built: Nov 20 2015 09:18:00 UTC
[STDOUT] 2016-04-18 14:25:39,108[main] [INFO] [o.a.c.s.VersionLoggerListener 93] - Server number: 8.0.29.0
[STDOUT] 2016-04-18 14:25:39,109[main] [INFO] [o.a.c.s.VersionLoggerListener 95] - OS Name: Linux
[STDOUT] 2016-04-18 14:25:39,109[main] [INFO] [o.a.c.s.VersionLoggerListener 97] - OS Version: 4.1.19-boot2docker
[STDOUT] 2016-04-18 14:25:39,110[main] [INFO] [o.a.c.s.VersionLoggerListener 99] - Architecture: amd64
[STDOUT] 2016-04-18 14:25:39,112[main] [INFO] [o.a.c.s.VersionLoggerListener 101] - Java Home: /opt/jdk1.8.0_45/jre
[STDOUT] 2016-04-18 14:25:39,113[main] [INFO] [o.a.c.s.VersionLoggerListener 103] - JVM Version: 1.8.0_45-b14
[STDOUT] 2016-04-18 14:25:39,115[main] [INFO] [o.a.c.s.VersionLoggerListener 105] - JVM Vendor: Oracle Corporation
[STDOUT] 2016-04-18 14:25:39,115[main] [INFO] [o.a.c.s.VersionLoggerListener 107] - CATALINA_BASE: /home/user/che/ws-agent
[STDOUT] 2016-04-18 14:25:39,116[main] [INFO] [o.a.c.s.VersionLoggerListener 109] - CATALINA_HOME: /home/user/che/ws-agent
[STDOUT] 2016-04-18 14:25:39,117[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.config.file=/home/user/che/ws-agent/conf/logging.properties
[STDOUT] 2016-04-18 14:25:39,117[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
[STDOUT] 2016-04-18 14:25:39,118[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xms256m
[STDOUT] 2016-04-18 14:25:39,119[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xmx1024m
[STDOUT] 2016-04-18 14:25:39,119[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.security.egd=file:/dev/./urandom
[STDOUT] 2016-04-18 14:25:39,120[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.logs.dir=/home/user/che/ws-agent/logs
[STDOUT] 2016-04-18 14:25:39,121[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote
[STDOUT] 2016-04-18 14:25:39,121[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.ssl=false
[STDOUT] 2016-04-18 14:25:39,122[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
[STDOUT] 2016-04-18 14:25:39,122[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.local.conf.dir=/mnt/che/conf
[STDOUT] 2016-04-18 14:25:39,123[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -agentlib:jdwp=transport=dt_socket,address=4403,server=y,suspend=n
[STDOUT] 2016-04-18 14:25:39,124[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.endorsed.dirs=/home/user/che/ws-agent/endorsed
[STDOUT] 2016-04-18 14:25:39,125[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.base=/home/user/che/ws-agent
[STDOUT] 2016-04-18 14:25:39,125[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.home=/home/user/che/ws-agent
[STDOUT] 2016-04-18 14:25:39,126[main] [INFO] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.io.tmpdir=/home/user/che/ws-agent/temp
[STDOUT] 2016-04-18 14:25:39,303[main] [INFO] [o.a.c.http11.Http11NioProtocol 425] - Initializing ProtocolHandler ["http-nio-4401"]
[STDOUT] 2016-04-18 14:25:39,323[main] [INFO] [o.a.t.util.net.NioSelectorPool 72] - Using a shared selector for servlet write/read
[STDOUT] 2016-04-18 14:25:39,328[main] [INFO] [o.a.catalina.startup.Catalina 587] - Initialization processed in 588 ms
[STDOUT] 2016-04-18 14:25:39,348[main] [INFO] [c.m.JmxRemoteLifecycleListener 332] - The JMX Remote Listener has configured the registry on port 32002 and the server on port 32102 for the Platform server
[STDOUT] 2016-04-18 14:25:39,350[main] [INFO] [o.a.c.core.StandardService 433] - Starting service Catalina
[STDOUT] 2016-04-18 14:25:39,352[main] [INFO] [o.a.c.core.StandardEngine 259] - Starting Servlet Engine: Apache Tomcat/8.0.29
[STDOUT] 2016-04-18 14:25:39,431[ost-startStop-1] [INFO] [o.a.c.startup.HostConfig 916] - Deploying web application archive /home/user/che/ws-agent/webapps/ide.war
[STDOUT] 2016-04-18 14:25:45,588[rrest.WSClient1] [INFO] [.c.a.c.n.WSocketEventBusClient 223] - Open connection to ws://che-host:8080/ide/api/eventbus/?token=dummy_token.
[STDOUT] Mon Apr 18 14:25:45 UTC 2016 - [localhost-startStop-1] Product-specified preferences called before plugin is started
[STDOUT] 2016-04-18 14:25:45,895[ost-startStop-1] [INFO] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /home/user/che/ws-agent/webapps/ide.war has finished in 6,463 ms
[STDOUT] 2016-04-18 14:25:45,900[main] [INFO] [o.a.c.http11.Http11NioProtocol 470] - Starting ProtocolHandler ["http-nio-4401"]
[STDOUT] 2016-04-18 14:25:45,906[main] [INFO] [o.a.catalina.startup.Catalina 638] - Server startup in 6578 ms
[STDOUT] 2016-04-18 14:25:46,272[nio-4401-exec-1] [WARN ] [i.ContainerResponse$BodyWriter 90] - Client has aborted connection. Response writing omitted.

@ddementieva
Copy link
Contributor

Can you share server logs?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

istening for transport dt_socket at address: 8000
2016-04-18 16:22:57,792[main] [INFO ] [o.a.c.s.VersionLoggerListener 89] - Server version: Apache Tomcat/8.0.29
2016-04-18 16:22:57,794[main] [INFO ] [o.a.c.s.VersionLoggerListener 91] - Server built: Nov 20 2015 09:18:00 UTC
2016-04-18 16:22:57,794[main] [INFO ] [o.a.c.s.VersionLoggerListener 93] - Server number: 8.0.29.0
2016-04-18 16:22:57,795[main] [INFO ] [o.a.c.s.VersionLoggerListener 95] - OS Name: Mac OS X
2016-04-18 16:22:57,795[main] [INFO ] [o.a.c.s.VersionLoggerListener 97] - OS Version: 10.11.4
2016-04-18 16:22:57,795[main] [INFO ] [o.a.c.s.VersionLoggerListener 99] - Architecture: x86_64
2016-04-18 16:22:57,795[main] [INFO ] [o.a.c.s.VersionLoggerListener 101] - Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre
2016-04-18 16:22:57,795[main] [INFO ] [o.a.c.s.VersionLoggerListener 103] - JVM Version: 1.8.0_77-b03
2016-04-18 16:22:57,796[main] [INFO ] [o.a.c.s.VersionLoggerListener 105] - JVM Vendor: Oracle Corporation
2016-04-18 16:22:57,796[main] [INFO ] [o.a.c.s.VersionLoggerListener 107] - CATALINA_BASE: /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat
2016-04-18 16:22:57,796[main] [INFO ] [o.a.c.s.VersionLoggerListener 109] - CATALINA_HOME: /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat
2016-04-18 16:22:57,797[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.config.file=/Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/conf/logging.properties
2016-04-18 16:22:57,797[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2016-04-18 16:22:57,797[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xms256m
2016-04-18 16:22:57,797[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xmx1024m
2016-04-18 16:22:57,798[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.security.egd=file:/dev/./urandom
2016-04-18 16:22:57,798[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dport.http=8080
2016-04-18 16:22:57,798[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.home=/Users/compeople/Downloads/eclipse-che-4.0.1
2016-04-18 16:22:57,798[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.logs.dir=/Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/logs/
2016-04-18 16:22:57,798[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote
2016-04-18 16:22:57,799[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.ssl=false
2016-04-18 16:22:57,799[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
2016-04-18 16:22:57,799[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.local.conf.dir=/Users/compeople/Downloads/eclipse-che-4.0.1/conf/
2016-04-18 16:22:57,799[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
2016-04-18 16:22:57,799[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.endorsed.dirs=/Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/endorsed
2016-04-18 16:22:57,800[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.base=/Users/compeople/Downloads/eclipse-che-4.0.1/tomcat
2016-04-18 16:22:57,800[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.home=/Users/compeople/Downloads/eclipse-che-4.0.1/tomcat
2016-04-18 16:22:57,800[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.io.tmpdir=/Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/temp
2016-04-18 16:22:57,931[main] [INFO ] [o.a.c.http11.Http11NioProtocol 425] - Initializing ProtocolHandler ["http-nio-8080"]
2016-04-18 16:22:57,954[main] [INFO ] [o.a.t.util.net.NioSelectorPool 72] - Using a shared selector for servlet write/read
2016-04-18 16:22:57,956[main] [INFO ] [o.a.catalina.startup.Catalina 587] - Initialization processed in 467 ms
2016-04-18 16:22:58,006[main] [INFO ] [c.m.JmxRemoteLifecycleListener 332] - The JMX Remote Listener has configured the registry on port 32001 and the server on port 32101 for the Platform server
2016-04-18 16:22:58,007[main] [INFO ] [o.a.c.core.StandardService 433] - Starting service Catalina
2016-04-18 16:22:58,007[main] [INFO ] [o.a.c.core.StandardEngine 259] - Starting Servlet Engine: Apache Tomcat/8.0.29
2016-04-18 16:22:58,066[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/dashboard.war
2016-04-18 16:22:58,544[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/dashboard.war has finished in 477 ms
2016-04-18 16:22:58,546[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/ide.war
2016-04-18 16:23:02,264[ost-startStop-1] [WARN ] [p.DockerExtConfBindingProvider 51] - DockerExtConfBindingProvider
2016-04-18 16:23:03,287[ost-startStop-1] [INFO ] [.c.p.d.c.DockerRegistryChecker 43] - Probing registry 'http://localhost:5000'
2016-04-18 16:23:03,292[ost-startStop-1] [WARN ] [.c.p.d.c.DockerRegistryChecker 50] - Docker registry http://localhost:5000 is not available, which means that you won't be able to save snapshots of your workspaces.
How to configure registry?
Local registry -> https://docs.docker.com/registry/
Remote registry -> set up 'docker.registry.auth.*' properties
2016-04-18 16:23:04,110[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/ide.war has finished in 5,563 ms
2016-04-18 16:23:04,110[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/swagger.war
2016-04-18 16:23:04,182[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/swagger.war has finished in 71 ms
2016-04-18 16:23:04,183[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1036] - Deploying web application directory /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/ROOT
2016-04-18 16:23:04,223[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1152] - Deployment of web application directory /Users/compeople/Downloads/eclipse-che-4.0.1/tomcat/webapps/ROOT has finished in 40 ms
2016-04-18 16:23:04,228[main] [INFO ] [o.a.c.http11.Http11NioProtocol 470] - Starting ProtocolHandler ["http-nio-8080"]
2016-04-18 16:23:04,234[main] [INFO ] [o.a.catalina.startup.Catalina 638] - Server startup in 6277 ms
2016-04-18 16:25:30,878[nio-8080-exec-8] [INFO ] [o.e.c.a.w.s.WorkspaceManager 140] - EVENT#workspace-created# WS#wksp-p3hc# WS-ID#workspace0th6pa0gyf8e85u2# USER#che#
2016-04-18 16:25:31,960[kspaceManager-0] [INFO ] [o.e.c.a.m.s.MachineManager 166] - Creating machine [ws = workspace0th6pa0gyf8e85u2: env = wksp-p3hc: machine = ws-machine]
2016-04-18 16:25:46,458[kspaceManager-0] [INFO ] [o.e.c.a.m.s.MachineManager 168] - Machine [ws = workspace0th6pa0gyf8e85u2: env = wksp-p3hc: machine = ws-machine] was successfully created, its id is 'machinefqubz0epxu1k1stw'

@ddementieva
Copy link
Contributor

Logs show that server has successfully connected to the ws-agent. So, it seems browser failed to connect to ws-agent. Can you specify which browser do you use?

Also, can you open browser's dev console, network tab and take a look if websocket connections are initiated and what IP is used?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

G$ @ _app-0.js:4822
http://172.16.1.178:8080/ide/ext/workspace0th6pa0gyf8e85u2/ Failed to load resource: the server responded with a status of 502 (Bad Gateway)

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

so the IDE cannot get to the workspace agent....setup is browser using che.sh on Mac, starts virtual box with default image which contains the docker instances....I can give you more logs or all the various IP address...However this is a fresh install with no content yet, so it should be easy to reproduce. The default image of VB was installed by che. Network that the default image uses is NAT.

@ghost
Copy link

ghost commented Apr 19, 2016

Not that easy to reproduce in fact. We are extensively using Macs to test and use Che.

172.16.1.178 is the VM IP address, correct?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

I started the che server as docker image using --image and it immediatelly works. 172.16.1.178 is the VM ip address yes

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

I think the IDE server cannot get to the workspace agent within the docker image in the virtual box.... I tried che 4.0.0.RC11 and 4.0.1 both on two machines. The setup with 4.0.0.RC11 did work on my MBP without problems but then just replacing it with 4.0.1 shows this problem. Now moving to a new Mac Mini, I cant get any of the two version to work. Do I have to setup a port mapping on the virtual box image ?

@ghost
Copy link

ghost commented Apr 19, 2016

No special setup is required. We auto detect VM IP and server uses it to ping ws agent and then browser uses the same IP to connect to the workspace.

And yes, the IDE (client) cannot get to workspace agent, but the server can, otherwise machine creation would have failed.

@ghost
Copy link

ghost commented Apr 19, 2016

When connecting to the IDE, what is the exact ws:// address that you see in Network > WS? In both cases, successful and unsuccessful.

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

I switched back to my MBP (logs above are my mac mini). First tried the working version so that is eclipse-che-4.0.0.RC1. The websocket address is ws://192.168.99.100:32773/ide/ext/ws/workspacen49sg3590wdve6ty and there everything works. Workspace starts. Then stop che-server and shutdown virtual box image and start eclipse-che 4.0.1 (with same VB default image) now the only ws address I see is ws://localhost:8080/api/ws/workspaceon8o0ponnxalswy1 and ws://localhost:8080/ide/api/ws/workspaceon8o0ponnxalswy1

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

actually when its working I see that it first calls this ws://localhost:8080/ide/api/ws/workspacen49sg3590wdve6ty and then ws://192.168.99.100:32773/ide/ext/ws/workspacen49sg3590wdve6ty while it other not working case it only calls the first url.

@ghost
Copy link

ghost commented Apr 19, 2016

Wrong IP then when running Che natively. When in a Docker image, we use the right VM IP - 192.168.99.100.

Can you run Che natively, (without -i) but with -r:192.168.99.100?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

still the same problem.....here is the start of the log (this is eclipse-che-4.0.1 on the MBP where eclipse-che-4.0.0.RC11 is working)

ccmac:bin christian$ ./che.sh -r:192.168.99.100 run
Docker machine named default already exists...
Docker machine named default is not running.
Starting docker machine named default...
Starting "default"...
(default) Waiting for an IP...
Machine "default" was started.
Started machines may have new IP addresses. You may need to re-run the docker-machine env command.
Setting environment variables for machine default...
Docker is configured to use docker-machine named default with IP 192.168.99.100...

############## HOW TO CONNECT YOUR CHE CLIENT ###############
After Che server has booted, you can connect your clients by:

  1. Open browser to http://localhost:8080, or:
  2. Open native chromium app.
    #############################################################

Using CATALINA_BASE: /Users/christian/workspace/eclipse-che-4.0.1/tomcat
Using CATALINA_HOME: /Users/christian/workspace/eclipse-che-4.0.1/tomcat
Using CATALINA_TMPDIR: /Users/christian/workspace/eclipse-che-4.0.1/tomcat/temp
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home
Using CLASSPATH: /Users/christian/workspace/eclipse-che-4.0.1/tomcat/conf/:/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/lib/tools.jar:/Users/christian/workspace/eclipse-che-4.0.1/tomcat/bin/bootstrap.jar:/Users/christian/workspace/eclipse-che-4.0.1/tomcat/bin/tomcat-juli.jar
2016-04-19 13:44:04,966[main] [INFO ] [o.a.c.s.VersionLoggerListener 89] - Server version: Apache Tomcat/8.0.29
2016-04-19 13:44:04,969[main] [INFO ] [o.a.c.s.VersionLoggerListener 91] - Server built: Nov 20 2015 09:18:00 UTC
2016-04-19 13:44:04,970[main] [INFO ] [o.a.c.s.VersionLoggerListener 93] - Server number: 8.0.29.0
2016-04-19 13:44:04,970[main] [INFO ] [o.a.c.s.VersionLoggerListener 95] - OS Name: Mac OS X
2016-04-19 13:44:04,970[main] [INFO ] [o.a.c.s.VersionLoggerListener 97] - OS Version: 10.11.4
2016-04-19 13:44:04,970[main] [INFO ] [o.a.c.s.VersionLoggerListener 99] - Architecture: x86_64
2016-04-19 13:44:04,970[main] [INFO ] [o.a.c.s.VersionLoggerListener 101] - Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre
2016-04-19 13:44:04,971[main] [INFO ] [o.a.c.s.VersionLoggerListener 103] - JVM Version: 1.8.0_66-b17
2016-04-19 13:44:04,972[main] [INFO ] [o.a.c.s.VersionLoggerListener 105] - JVM Vendor: Oracle Corporation
2016-04-19 13:44:04,973[main] [INFO ] [o.a.c.s.VersionLoggerListener 107] - CATALINA_BASE: /Users/christian/workspace/eclipse-che-4.0.1/tomcat
2016-04-19 13:44:04,973[main] [INFO ] [o.a.c.s.VersionLoggerListener 109] - CATALINA_HOME: /Users/christian/workspace/eclipse-che-4.0.1/tomcat
2016-04-19 13:44:04,973[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.config.file=/Users/christian/workspace/eclipse-che-4.0.1/tomcat/conf/logging.properties
2016-04-19 13:44:04,974[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2016-04-19 13:44:04,974[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xms256m
2016-04-19 13:44:04,974[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xmx1024m
2016-04-19 13:44:04,974[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.security.egd=file:/dev/./urandom
2016-04-19 13:44:04,974[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dport.http=8080
2016-04-19 13:44:04,974[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.home=/Users/christian/workspace/eclipse-che-4.0.1
2016-04-19 13:44:04,974[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.logs.dir=/Users/christian/workspace/eclipse-che-4.0.1/tomcat/logs/
2016-04-19 13:44:04,975[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote
2016-04-19 13:44:04,975[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.ssl=false
2016-04-19 13:44:04,975[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
2016-04-19 13:44:04,975[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.local.conf.dir=/Users/christian/workspace/eclipse-che-4.0.1/conf/
2016-04-19 13:44:04,975[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.endorsed.dirs=/Users/christian/workspace/eclipse-che-4.0.1/tomcat/endorsed
2016-04-19 13:44:04,975[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.base=/Users/christian/workspace/eclipse-che-4.0.1/tomcat
2016-04-19 13:44:04,975[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.home=/Users/christian/workspace/eclipse-che-4.0.1/tomcat
2016-04-19 13:44:04,976[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.io.tmpdir=/Users/christian/workspace/eclipse-che-4.0.1/tomcat/temp
2016-04-19 13:44:05,079[main] [INFO ] [o.a.c.http11.Http11NioProtocol 425] - Initializing ProtocolHandler ["http-nio-8080"]
2016-04-19 13:44:05,094[main] [INFO ] [o.a.t.util.net.NioSelectorPool 72] - Using a shared selector for servlet write/read
2016-04-19 13:44:05,096[main] [INFO ] [o.a.catalina.startup.Catalina 587] - Initialization processed in 318 ms
2016-04-19 13:44:05,136[main] [INFO ] [c.m.JmxRemoteLifecycleListener 332] - The JMX Remote Listener has configured the registry on port 32001 and the server on port 32101 for the Platform server
2016-04-19 13:44:05,136[main] [INFO ] [o.a.c.core.StandardService 433] - Starting service Catalina
2016-04-19 13:44:05,136[main] [INFO ] [o.a.c.core.StandardEngine 259] - Starting Servlet Engine: Apache Tomcat/8.0.29
2016-04-19 13:44:05,189[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/dashboard.war
2016-04-19 13:44:05,421[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/dashboard.war has finished in 231 ms
2016-04-19 13:44:05,423[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/ide.war
2016-04-19 13:44:08,110[ost-startStop-1] [WARN ] [p.DockerExtConfBindingProvider 51] - DockerExtConfBindingProvider
2016-04-19 13:44:08,980[ost-startStop-1] [INFO ] [.c.p.d.c.DockerRegistryChecker 43] - Probing registry 'http://localhost:5000'
2016-04-19 13:44:08,985[ost-startStop-1] [WARN ] [.c.p.d.c.DockerRegistryChecker 50] - Docker registry http://localhost:5000 is not available, which means that you won't be able to save snapshots of your workspaces.
How to configure registry?
Local registry -> https://docs.docker.com/registry/
Remote registry -> set up 'docker.registry.auth.*' properties
2016-04-19 13:44:09,221[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/ide.war has finished in 3,798 ms
2016-04-19 13:44:09,222[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/swagger.war
2016-04-19 13:44:09,255[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/swagger.war has finished in 33 ms
2016-04-19 13:44:09,259[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1036] - Deploying web application directory /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/ROOT
2016-04-19 13:44:09,312[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1152] - Deployment of web application directory /Users/christian/workspace/eclipse-che-4.0.1/tomcat/webapps/ROOT has finished in 53 ms
2016-04-19 13:44:09,316[main] [INFO ] [o.a.c.http11.Http11NioProtocol 470] - Starting ProtocolHandler ["http-nio-8080"]
2016-04-19 13:44:09,324[main] [INFO ] [o.a.catalina.startup.Catalina 638] - Server startup in 4227 ms
2016-04-19 13:44:36,525[nio-8080-exec-6] [WARN ] [i.ContainerResponse$BodyWriter 90] - Client has aborted connection. Response writing omitted.
2016-04-19 13:44:45,315[kspaceManager-0] [INFO ] [o.e.c.a.m.s.MachineManager 166] - Creating machine [ws = workspaceon8o0ponnxalswy1: env = wksp-axof: machine = ws-machine]
2016-04-19 13:44:56,177[nio-8080-exec-2] [INFO ] [o.e.c.a.w.s.WorkspaceManager 246] - EVENT#workspace-updated# WS#wksp-axof# WS-ID#workspaceon8o0ponnxalswy1#
2016-04-19 13:44:57,357[kspaceManager-0] [INFO ] [o.e.c.a.m.s.MachineManager 168] - Machine [ws = workspaceon8o0ponnxalswy1: env = wksp-axof: machine = ws-machine] was successfully created, its id is 'machinen4emjz0hg3vw5cni'

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

it still connects to ws://localhost:8080/ide/api/ws/workspaceon8o0ponnxalswy1 in the browser

@ghost
Copy link

ghost commented Apr 19, 2016

First connection to localhost is ok, this is where workspace API is running. Any exceptions in Console?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

it connects to locationhost twice....here is the console and there seems to be a problem

vendor-6af275bfdb.js:33500You are using the ngTouch module.
Angular Material already has mobile click, tap, and swipe support...
ngTouch is not supported with Angular Material!
vendor-6af275bfdb.js:33500 Markup '' may not work as expected in IE Browsers. Consult 'https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers' for details.
vendor-6af275bfdb.js:33500 Markup '' may not work as expected in IE Browsers. Consult 'https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers' for details.
2vendor-6af275bfdb.js:33500 Markup '' may not work as expected in IE Browsers. Consult 'https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers' for details.
vendor-6af275bfdb.js:33500 Markup '' may not work as expected in IE Browsers. Consult 'https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers' for details.
vendor-6af275bfdb.js:33500 Markup '' may not work as expected in IE Browsers. Consult 'https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers' for details.
vendor-6af275bfdb.js:31745 GET http://localhost:8080/admin/ 404 (Not Found)(anonymous function) @ vendor-6af275bfdb.js:31745v @ vendor-6af275bfdb.js:31538c @ vendor-6af275bfdb.js:31248l @ vendor-6af275bfdb.js:35772(anonymous function) @ vendor-6af275bfdb.js:35788h.$eval @ vendor-6af275bfdb.js:37032h.$digest @ vendor-6af275bfdb.js:36850h.$apply @ vendor-6af275bfdb.js:37140(anonymous function) @ vendor-6af275bfdb.js:22659i @ vendor-6af275bfdb.js:25503s @ vendor-6af275bfdb.js:22657ae @ vendor-6af275bfdb.js:22677oe @ vendor-6af275bfdb.js:22571(anonymous function) @ vendor-6af275bfdb.js:49993u @ vendor-6af275bfdb.js:14324c.fireWith @ vendor-6af275bfdb.js:14454oe.extend.ready @ vendor-6af275bfdb.js:14673a @ vendor-6af275bfdb.js:14689
app-31255ca853.js:7067 Preloading IDE javascript /ide/_app/5728C7012EFA14D0C633AE2CA72DEEB1.cache.js
vendor-6af275bfdb.js:31745 GET http://localhost:8080/api/workspace/workspaceon8o0ponnxalswy1/runtime 404 (Not Found)(anonymous function) @ vendor-6af275bfdb.js:31745v @ vendor-6af275bfdb.js:31538c @ vendor-6af275bfdb.js:31248l @ vendor-6af275bfdb.js:35772(anonymous function) @ vendor-6af275bfdb.js:35788h.$eval @ vendor-6af275bfdb.js:37032h.$digest @ vendor-6af275bfdb.js:36850h.$apply @ vendor-6af275bfdb.js:37140o @ vendor-6af275bfdb.js:31569g @ vendor-6af275bfdb.js:31767x.onload @ vendor-6af275bfdb.js:31708
app-31255ca853.js:19729 Object {data: Object, status: 404, config: Object, statusText: "Not Found"}
SVG's SMIL animations (, , etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.
_app-0.js:4822 INFO (org.eclipse.che.ide.icon.DefaultIconsComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.icon.DefaultIconsComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.core.FontAwesomeInjector): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.core.FontAwesomeInjector): started
_app-0.js:4822 INFO (org.eclipse.che.ide.core.ZeroClipboardInjector): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.core.ZeroClipboardInjector): started
_app-0.js:4822 INFO (org.eclipse.che.ide.preferences.PreferencesComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.preferences.PreferencesComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.core.ProfileComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.core.ProfileComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.projecttype.ProjectTemplatesComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.projecttype.ProjectTemplatesComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.workspace.DefaultWorkspaceComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.workspace.DefaultWorkspaceComponent$1): Starting workspace wksp-axof
_app-0.js:4822 INFO (org.eclipse.che.ide.workspace.DefaultWorkspaceComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.core.StandardComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.core.StandardComponent): All services have been successfully initialized.
_app-0.js:4822 INFO (org.eclipse.che.ide.extension.machine.client.MachineComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.core.StandardComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.extension.machine.client.MachineComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.projecttype.ProjectTypeComponent): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.projecttype.ProjectTypeComponent): started
_app-0.js:4822 INFO (org.eclipse.che.ide.client.StartUpActionsProcessor): starting...
_app-0.js:4822 INFO (org.eclipse.che.ide.client.StartUpActionsProcessor): started
_app-0.js:4822 ERROR (org.eclipse.che.api.machine.gwt.client.WsAgentStateController$3): (SyntaxError) : Failed to construct 'WebSocket': The URL 'ws/ide/ext/ws/workspaceon8o0ponnxalswy1' is invalid.G$ @ _app-0.js:4822H$ @ _app-0.js:4824A$ @ _app-0.js:4823xS @ app-0.js:4824.Wl @ _app-0.js:1147cRa @ app-0.js:1146.ej @ app-0.js:1147.cj @ _app-0.js:254(anonymous function) @ _app-0.js:744(anonymous function) @ _app-0.js:5016
_app-0.js:186 SVG's SMIL animations (, , etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.
29_app-0.js:4822 ERROR (org.eclipse.che.api.machine.gwt.client.WsAgentStateController$3): (SyntaxError) : Failed to construct 'WebSocket': The URL 'ws/ide/ext/ws/workspaceon8o0ponnxalswy1' is invalid.G$ @ _app-0.js:4822H$ @ _app-0.js:4824A$ @ _app-0.js:4823xS @ app-0.js:4824.Wl @ _app-0.js:1147cRa @ app-0.js:1146.ej @ app-0.js:1147.cj @ _app-0.js:254(anonymous function) @ _app-0.js:744(anonymous function) @ _app-0.js:5016
_app-0.js:4748 ZeroClipboard error of type "flash-deactivated": Flash is too outdated for your browser and/or is configured as click-to-activate
268_app-0.js:4822 ERROR (org.eclipse.che.api.machine.gwt.client.WsAgentStateController$3): (SyntaxError) : Failed to construct 'WebSocket': The URL 'ws/ide/ext/ws/workspaceon8o0ponnxalswy1' is invalid.

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

using latest chrome

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

here is what the API of the workspace master gives me as meta information about the workspace in question.

[
{
"id": "workspaceon8o0ponnxalswy1",
"owner": "che",
"config": {
"name": "wksp-axof",
"attributes": {
"stackId": "java-default"
},
"projects": [
{
"name": "web-java-spring",
"type": "maven",
"path": "/web-java-spring",
"attributes": {
"maven.artifactId": [
"web-java-spring"
],
"maven.parent.version": [
""
],
"maven.test.source.folder": [
"src/test/java"
],
"maven.version": [
"1.0-SNAPSHOT"
],
"maven.parent.groupId": [
""
],
"languageVersion": [
"1.8.0_45"
],
"language": [
"java"
],
"maven.source.folder": [
"src/main/java"
],
"git.repository.remotes": [
"https://github.com/che-samples/web-java-spring.git"
],
"maven.groupId": [
"org.eclipse.che.examples"
],
"maven.packaging": [
"war"
],
"containsJavaFiles": [
"true"
],
"maven.resource.folder": [
"src/main/resources",
"src/test/resources"
],
"vcs.provider.name": [
"git"
],
"git.current.branch.name": [
"master"
],
"maven.parent.artifactId": [
""
]
},
"links": [],
"mixins": [
"git"
],
"problems": [],
"description": "A basic example using Spring servlets. The app returns values entered into a submit form.",
"source": {
"location": "https://github.com/che-samples/web-java-spring.git",
"type": "git",
"parameters": {}
}
}
],
"defaultEnv": "wksp-axof",
"commands": [
{
"name": "web-java-spring: build",
"type": "mvn",
"attributes": {
"previewUrl": ""
},
"commandLine": "mvn -f /projects/web-java-spring clean install && cp /projects/web-java-spring/target/.war $TOMCAT_HOME/webapps/ROOT.war"
},
{
"name": "web-java-spring: run tomcat",
"type": "custom",
"attributes": {
"previewUrl": "http://${server.port.8080}"
},
"commandLine": "$TOMCAT_HOME/bin/catalina.sh run"
},
{
"name": "web-java-spring: stop tomcat",
"type": "custom",
"attributes": {
"previewUrl": ""
},
"commandLine": "$TOMCAT_HOME/bin/catalina.sh stop"
},
{
"name": "web-java-spring: build and run",
"type": "mvn",
"attributes": {
"previewUrl": "http://${server.port.8080}"
},
"commandLine": "mvn -f /projects/web-java-spring clean install && cp /projects/web-java-spring/target/
.war $TOMCAT_HOME/webapps/ROOT.war && $TOMCAT_HOME/bin/catalina.sh run"
},
{
"name": "web-java-spring: debug",
"type": "mvn",
"attributes": {
"previewUrl": "http://${server.port.8080}"
},
"commandLine": "mvn -f /projects/web-java-spring clean install && cp /projects/web-java-spring/target/*.war $TOMCAT_HOME/webapps/ROOT.war && $TOMCAT_HOME/bin/catalina.sh jpda run"
}
],
"environments": [
{
"name": "wksp-axof",
"machineConfigs": [
{
"name": "ws-machine",
"type": "docker",
"servers": [],
"dev": true,
"envVariables": {},
"limits": {
"ram": 1000
},
"source": {
"location": "http://localhost:8080/ide/api/recipe/recipeimy5q2kxapr33mus/script",
"type": "recipe"
},
"links": [
{
"method": "GET",
"parameters": [
{
"name": "channel",
"defaultValue": "workspaceon8o0ponnxalswy1:wksp-axof:ws-machine",
"required": true,
"valid": []
}
],
"href": "ws://localhost:8080/ide/api/ws/workspaceon8o0ponnxalswy1",
"rel": "get machine logs channel"
},
{
"method": "GET",
"parameters": [
{
"name": "channel",
"defaultValue": "machine:status:workspaceon8o0ponnxalswy1:ws-machine",
"required": true,
"valid": []
}
],
"href": "ws://localhost:8080/ide/api/ws/workspaceon8o0ponnxalswy1",
"rel": "get machine status channel"
}
]
}
]
}
],
"links": []
},
"temporary": false,
"status": "RUNNING",
"links": [
{
"method": "POST",
"parameters": [],
"href": "http://localhost:8080/ide/api/workspace/workspaceon8o0ponnxalswy1/runtime",
"rel": "start workspace",
"produces": "application/json"
},
{
"method": "DELETE",
"parameters": [],
"href": "http://localhost:8080/ide/api/workspace/workspaceon8o0ponnxalswy1",
"rel": "remove workspace",
"produces": "application/json"
},
{
"method": "GET",
"parameters": [],
"href": "http://localhost:8080/ide/api/workspace",
"rel": "get all user workspaces",
"produces": "application/json"
},
{
"method": "GET",
"parameters": [],
"href": "http://localhost:8080/ide/api/workspace/workspaceon8o0ponnxalswy1/snapshot",
"rel": "get workspace's snapshot",
"produces": "application/json"
},
{
"method": "GET",
"parameters": [],
"href": "http://localhost:8080/ide/wksp-axof",
"rel": "ide url",
"produces": "text/html"
},
{
"method": "GET",
"parameters": [
{
"name": "channel",
"defaultValue": "workspace:workspaceon8o0ponnxalswy1",
"required": true,
"valid": []
}
],
"href": "ws://localhost:8080/ide/api/ws/workspaceon8o0ponnxalswy1",
"rel": "get workspace events channel"
},
{
"method": "GET",
"parameters": [],
"href": "http://localhost:8080/ide/api/workspace/workspaceon8o0ponnxalswy1",
"rel": "self link",
"produces": "application/json"
},
{
"method": "GET",
"parameters": [],
"href": "http://localhost:8080/ide/api/workspace/workspaceon8o0ponnxalswy1/runtime",
"rel": "get runtime workspace",
"produces": "application/json"
},
{
"method": "DELETE",
"parameters": [],
"href": "http://localhost:8080/ide/api/workspace/workspaceon8o0ponnxalswy1/runtime",
"rel": "stop workspace"
}
]
}
]
Response Code

@ghost
Copy link

ghost commented Apr 19, 2016

It's system specific problem as I see it.

Failed to construct 'WebSocket': The URL 'ws/ide/ext/ws/workspaceon8o0ponnxalswy1' is invalid. Which means Che failed to build a proper URL.

What's your Docker version?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

1.9.1

@ghost
Copy link

ghost commented Apr 19, 2016

Can you update your Docker to the latest version to see if it fixes the problem?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

changed to Docker 1.11. still the same

@ghost
Copy link

ghost commented Apr 19, 2016

ifconfig on your Mac please?

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

interesting enough I moved my MBP from my company LAN back to home LAN, I left che and the VirtualBox running and just did a refresh in the browser and everything works..... I will check again tomorrow at my company why it doesnt work there......

@ghost
Copy link

ghost commented Apr 19, 2016

I bet this has smth to do with websockets being blocked.

@ccampo
Copy link
Author

ccampo commented Apr 19, 2016

well at home it first connects to a localhost ws connection and then to the correct one. I not sure where it gets the host name for the url where it should connect to but for some reasons that works here and doens in my company. my home ip is 192.168.0.x and the docker host is 192.168.99.100. At work we have 172.16.0 etc. while the docker host is the same. Maybe something with network being an unusual setup.

@ghost
Copy link

ghost commented Apr 20, 2016

The second URL is your VM IP. While server is running on localhost. So, everything as expected.

@ghost
Copy link

ghost commented Apr 23, 2016

I think the problem is related to websockets being blocked. The right URL should be ws://IP:port/ide/ext/ws/ while the error message says in your case this URL is ws/ide/ext/ws/workspaceon8o0ponnxalswy1 which is a malformed URL.

I cannot reproduce it in any network I used. Closing the issue now, feel free to reopen if you believe it's Che fault.

@ghost ghost closed this as completed Apr 23, 2016
@ccampo
Copy link
Author

ccampo commented Apr 25, 2016

closing is ok. There are some network related issues beyond the scope of CHE. For example if you run the CHE server on Mac and the docker instances within the Virtual Box on the same machine then if you use the default NAT for network interface the setup works if your browser is the local machine. (at least at the end that part worked). However if you connect to the CHE server from a second computer, then the web interface works but as soon as you open the IDE, the browser cannt connect to the docker instance. The reason is that the IP address from the virtualbox are only routed on the first computer and not accessible from the second. So my attempt to install a CHE server on a Mac that the whole department could use didnt work. Not sure if that is clear but the IP address that is used for websocket "192.168.99.100" is not accessible from other computers but any of the browsers want to directly connect to it.

@iamblue
Copy link

iamblue commented May 15, 2016

+1

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants