-
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
Setup Ubuntu server - Virtualbox #975
Comments
If you are running Che in a VM, you should either setup port forwarding in VirtualBox for 32768-65535 port range (in fact, 20-30 ports is enough if you do not run a lot of workspaces at a time) or run che with |
Hi, I made some additional tests My network setup on VirtualBox is NAT I opened ports 32768 - 32788 -> not working I changed the network adapter settings of my VirtualBox to host-only adapter bin/che.sh -r 192.168.56.101 -i run --skip:uid With this command i was able to connect on the host via the ip address above. So looks like there's a little bit progress but we're not yet there |
Drop |
Ok, leaving that one out did the trick and I got further in the process. Now the issue is that with "host-only adapter" network setup, the sample project can't be created because with "host-only" the VM can't reach out to the net. So i'm stuck with creating an empty workspace or I need to find another working network setup solution with Virtualbox. |
Looks like a process in the container cannot reach out to the world. You need to make sure you can ping github.com from within a container. Similar issue here - #979 |
Hi, I was able to get it working ! I reversed my Virtualbox network setup back to NAT and added some additional ports in the port forwarding based on the information on https://eclipse-che.readme.io/docs/networking#native-process-for-che-native-docker-for-workspace By including these ports the VM could reach the outworld, create the workspace and project, start the agent and run the terminal For reference I include my port forwarding setup which works for Virtualbox Tnx a lot for all the help and advice ! |
Hi,
I've installed the latest Che version on a Ubuntu server VM running on Virtualbox
Server version : Ubuntu Server 14.04 LTS
Kernel version : 4.2.0-35-generic
Java version installed : 1.8.0_77-b03
Docker server version installed : 1.10.3
Docker client version installed : 1.10.3
Virtualbox : 5.0.16 r105871
Port forwarding on port 8080 has been set up in order to be accessible from the host system
I manage to get Eclipse Che started and can access it via my browser
I choose to create a new simple HelloWorld Java project
After doing this I get the build screen but the process get stucked at "Inject and start workspace agent"
I get this message
I increased the timeout in the conf/che.properties file however I keep getting this error
What I'm missing that this doesn't work.
I was able to create an empty Java container and get to the IDE but there the workspace agent remains in initializing and when I create a small program I'm also not able to display the console.
So it looks like i'm missing something ? Any advice ? Or doesn't it work with this kind of setup?
Thank you in advance for the help and feedback!
Tom
The text was updated successfully, but these errors were encountered: