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

Certificates are required for https connection #1792

Closed
windyGex opened this issue Jul 18, 2016 · 6 comments
Closed

Certificates are required for https connection #1792

windyGex opened this issue Jul 18, 2016 · 6 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@windyGex
Copy link

Certificates are required for https connection

Reproduction Steps:

./bin/che.sh run

Expected behavior:

2016-07-18 19:09:36,883[ost-startStop-1] [WARN ] [p.DockerExtConfBindingProvider 51] - DockerExtConfBindingProvider
Exception in thread "DockerInstanceStopDetector-0" java.lang.IllegalArgumentException: Certificates are required for https connection.
at org.eclipse.che.plugin.docker.client.connection.TcpConnection.(TcpConnection.java:41)
at org.eclipse.che.plugin.docker.client.connection.DockerConnectionFactory.openConnection(DockerConnectionFactory.java:52)
at org.eclipse.che.plugin.docker.client.DockerConnector.getEvents(DockerConnector.java:1024)
at org.eclipse.che.plugin.docker.client.DockerConnector.getEvents(DockerConnector.java:999)
at org.eclipse.che.plugin.docker.machine.DockerInstanceStopDetector.lambda$detectContainersEvents$0(DockerInstanceStopDetector.java:107)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Che version: 4.4.2
OS and version: Mac osx 10.11.1
Docker version: Docker version 1.12.0-rc4
Che install: [ server (zip)]

@ddementieva
Copy link
Contributor

Can you check if Docker is working OK by simply running docker ps in the Terminal?

Obviously, you've got issues with docker demon running in the Virtualbox.

@ghost ghost added the kind/question Questions that haven't been identified as being feature requests or bugs. label Jul 18, 2016
@windyGex
Copy link
Author

image

Is right?

@ghost
Copy link

ghost commented Jul 19, 2016

@windyGex is this your Mac terminal or you have logged in to the VirtualBox machine? @ddementieva has suggested that you run a random Docker command in your Mac terminal.

For some reason, Che fails to auto detect DOCKER_HOST i.e. IP of the VM where Docker is running. Can you share output from ifconfig?

@windyGex
Copy link
Author

I open docker using GUI Tools.
image

ifconfig output:

image

@ghost
Copy link

ghost commented Jul 19, 2016

It's Docker Beta for Mac. OK, then. Can you follow recommendations here - https://eclipse-che.readme.io/docs/usage-docker-for-mac?

@windyGex
Copy link
Author

Ok, I got it. Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

2 participants