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

Downloading yml settings file from https source #476

Closed
philwinder opened this issue Jan 27, 2016 · 1 comment
Closed

Downloading yml settings file from https source #476

philwinder opened this issue Jan 27, 2016 · 1 comment
Labels
Milestone

Comments

@philwinder
Copy link
Contributor

If in docker mode and if using a https source, like: https://gist.githubusercontent.com/tymofii-polekhin/3bf5674b294130eb3b3e/raw/elasticsearch.yml

There is a strange ssl error:

javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1906)
    at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1889)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1410)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at java.net.URL.openStream(URL.java:1038)
    at org.apache.mesos.elasticsearch.executor.Configuration.getUserESSettings(Configuration.java:56)
    at org.apache.mesos.elasticsearch.executor.mesos.ElasticsearchExecutor.launchTask(ElasticsearchExecutor.java:86)

Seems to be related to this:
http://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty

@philwinder philwinder added the bug label Jan 27, 2016
@philwinder philwinder modified the milestone: 0.7.2 Feb 9, 2016
@frankscholten
Copy link
Contributor

Closing as the executor will be removed in 0.8.0

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

No branches or pull requests

2 participants