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

HTTPS doesn't seem to be supported #18

Closed
cheerfulstoic opened this issue Mar 25, 2016 · 2 comments
Closed

HTTPS doesn't seem to be supported #18

cheerfulstoic opened this issue Mar 25, 2016 · 2 comments

Comments

@cheerfulstoic
Copy link

It seems to go to the /_nodes/_all/http path just fine but then it switches to http and the ip address. I've tried setting host, publish_host, and bind_host in the elasticsearch.yml. Looking into it now, but I'm not yet sure if it's this plugin or Jest.

Some example output from Neo4j:

02:52:49.894 [NodeChecker RUNNING] DEBUG i.s.client.http.JestHttpClient - Request method=GET url=https://elastic-brian.thedomain.com:9200/_nodes/_all/http
02:52:50.822 [NodeChecker RUNNING] DEBUG io.searchbox.action.AbstractAction - Request and operation succeeded
02:52:50.839 [NodeChecker RUNNING] INFO  i.s.c.config.discovery.NodeChecker - Discovered 1 HTTP hosts: http://24.245.13.14:9200
02:52:50.839 [NodeChecker RUNNING] DEBUG i.s.client.AbstractJestClient - Server pool was updated to contain 1 servers.
2016-03-25 02:52:53.501+0000 INFO  Successfully started database
2016-03-25 02:52:53.568+0000 INFO  Starting HTTP on port 7474 (1 threads available)
2016-03-25 02:52:53.970+0000 INFO  Enabling HTTPS on port 7473
2016-03-25 02:52:54.100+0000 INFO  Mounting static content at /webadmin
2016-03-25 02:52:54.138+0000 INFO  Mounting static content at /browser
2016-03-25 02:52:55.788+0000 INFO  Remote interface ready and available at http://0.0.0.0:7474/
02:53:09.492 [qtp1923473655-31] DEBUG i.s.client.http.JestHttpClient - POST method created based on client request
02:53:09.495 [qtp1923473655-31] DEBUG i.s.client.http.JestHttpClient - Request method=POST url=http://24.245.13.14:9200/_bulk
02:53:09.574 [I/O dispatcher 1] ERROR i.s.client.http.JestHttpClient - Exception occurred during async execution.
org.apache.http.ConnectionClosedException: Connection closed
    at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:341) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:263) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) [httpasyncclient-4.1.1.jar:4.1.1]
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) [httpasyncclient-4.1.1.jar:4.1.1]
    at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:116) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:164) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) [httpcore-nio-4.4.4.jar:4.4.4]
    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590) [httpcore-nio-4.4.4.jar:4.4.4]
    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_95]
2016-03-25 02:53:09.579+0000 WARN  Problem Updating ElasticSearch  Connection closed
org.apache.http.ConnectionClosedException: Connection closed
    at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:341)
    at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:263)
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
    at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
    at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:116)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:164)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
    at java.lang.Thread.run(Thread.java:745)
@jexp
Copy link
Member

jexp commented Mar 25, 2016

Are you using ES 2?

Von meinem iPhone gesendet

Am 25.03.2016 um 05:30 schrieb Brian Underwood notifications@github.com:

It seems to go to the /_nodes/_all/http path just fine but then it switches to http and the ip address. I've tried setting host, publish_host, and bind_host in the elasticsearch.yml. Looking into it now, but I'm not yet sure if it's this plugin or Jest.

Some example output from Neo4j:

02:52:49.894 [NodeChecker RUNNING] DEBUG i.s.client.http.JestHttpClient - Request method=GET url=https://elastic-brian.thedomain.com:9200/_nodes/_all/http
02:52:50.822 [NodeChecker RUNNING] DEBUG io.searchbox.action.AbstractAction - Request and operation succeeded
02:52:50.839 [NodeChecker RUNNING] INFO i.s.c.config.discovery.NodeChecker - Discovered 1 HTTP hosts: http://172.31.41.76:9200
02:52:50.839 [NodeChecker RUNNING] DEBUG i.s.client.AbstractJestClient - Server pool was updated to contain 1 servers.
2016-03-25 02:52:53.501+0000 INFO Successfully started database
2016-03-25 02:52:53.568+0000 INFO Starting HTTP on port 7474 (1 threads available)
2016-03-25 02:52:53.970+0000 INFO Enabling HTTPS on port 7473
2016-03-25 02:52:54.100+0000 INFO Mounting static content at /webadmin
2016-03-25 02:52:54.138+0000 INFO Mounting static content at /browser
2016-03-25 02:52:55.788+0000 INFO Remote interface ready and available at http://0.0.0.0:7474/
02:53:09.492 [qtp1923473655-31] DEBUG i.s.client.http.JestHttpClient - POST method created based on client request
02:53:09.495 [qtp1923473655-31] DEBUG i.s.client.http.JestHttpClient - Request method=POST url=http://172.31.41.76:9200/_bulk
02:53:09.574 [I/O dispatcher 1] ERROR i.s.client.http.JestHttpClient - Exception occurred during async execution.
org.apache.http.ConnectionClosedException: Connection closed
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:341) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:263) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) [httpasyncclient-4.1.1.jar:4.1.1]
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) [httpasyncclient-4.1.1.jar:4.1.1]
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:116) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:164) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) [httpcore-nio-4.4.4.jar:4.4.4]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590) [httpcore-nio-4.4.4.jar:4.4.4]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_95]
2016-03-25 02:53:09.579+0000 WARN Problem Updating ElasticSearch Connection closed
org.apache.http.ConnectionClosedException: Connection closed
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:341)
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:263)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:116)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:164)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
at java.lang.Thread.run(Thread.java:745)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@cheerfulstoic
Copy link
Author

Yeah, using 2.2.1 (latest version)

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

2 participants