Java issue when trying to send requests to ElasticSearch

Hi all,

I am currently trying to set up a complete ElasticSearch + LogStash +
Kibana stack on Amazon Web Services OpsWorks using the following tutorial
: http://devblog.springest.com/complete-logstash-stack-on-aws-opsworks-in-15-minutes/

Most of the things run fine except for ElasticSearch. When the process is
started, if I try to do a simple c**url -X GET http://localhost:9200/, I
get the following answer : curl: (52) Empty reply from server

In my cluster's log, I see the hereunder java error. Did anybody experience
that ? Any suggestions ?

Thanks for your help,

Charles.

Java error :

[2014-03-21 10:46:48,657][WARN ][http.netty ] [Cecilia
Reyes] Caught exception while handling client http traffic, closing
connection [id: 0xf290eec5, /127.0.0.1:60355 => /127.0.0.1:9200]

java.lang.IncompatibleClassChangeError: Found class
org.elasticsearch.http.HttpRequest, but interface was expected

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.shouldLetPass(HttpBasicServer.java:43)*

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.internalDispatchRequest(HttpBasicServer.java:35)*

  • at
    org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:83)*

  • at
    org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:291)*

  • at
    org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:43)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)*

  • at
    org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)*

  • at
    org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)*

  • at
    org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)*

  • at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)*

  • at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)*

at java.lang.Thread.run(Thread.java:701)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/509cdab6-d823-49df-867a-0e24dfadbf0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

It looks like you are using "elasticsearch-http-basic" plugin and that
plugin doesn't support ES 1.0
https://github.com/Asquera/elasticsearch-http-basic/issues/9

On Friday, March 21, 2014 9:50:02 PM UTC+11, cha...@pocketplaylab.com wrote:

Hi all,

I am currently trying to set up a complete Elasticsearch + LogStash +
Kibana stack on Amazon Web Services OpsWorks using the following tutorial :
http://devblog.springest.com/complete-logstash-stack-on-aws-opsworks-in-15-minutes/

Most of the things run fine except for Elasticsearch. When the process is
started, if I try to do a simple c**url -X GET http://localhost:9200/
http://localhost:9200/
, I get the following answer : curl: (52) Empty
reply from server

In my cluster's log, I see the hereunder java error. Did anybody
experience that ? Any suggestions ?

Thanks for your help,

Charles.

Java error :

[2014-03-21 10:46:48,657][WARN ][http.netty ] [Cecilia
Reyes] Caught exception while handling client http traffic, closing
connection [id: 0xf290eec5, /127.0.0.1:60355 http://127.0.0.1:60355 =>
/127.0.0.1:9200 http://127.0.0.1:9200]

java.lang.IncompatibleClassChangeError: Found class
org.elasticsearch.http.HttpRequest, but interface was expected

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.shouldLetPass(HttpBasicServer.java:43)*

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.internalDispatchRequest(HttpBasicServer.java:35)*

  • at
    org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:83)*

  • at
    org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:291)*

  • at
    org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:43)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)*

  • at
    org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)*

  • at
    org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)*

  • at
    org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)*

  • at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)*

  • at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)*

at java.lang.Thread.run(Thread.java:701)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3199f6b2-c6ef-4639-b256-62719ffb2a25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Oh, ok thanks...

I had to update ES because the version of Kibana I am using wasn't
supporting the previous one. I guess I'll have to downgrade everything or
wait.

Thanks a lot!

On Friday, March 21, 2014 6:01:51 PM UTC+7, Kevin Wang wrote:

It looks like you are using "elasticsearch-http-basic" plugin and that
plugin doesn't support ES 1.0
https://github.com/Asquera/elasticsearch-http-basic/issues/9

On Friday, March 21, 2014 9:50:02 PM UTC+11, cha...@pocketplaylab.comwrote:

Hi all,

I am currently trying to set up a complete Elasticsearch + LogStash +
Kibana stack on Amazon Web Services OpsWorks using the following tutorial :
http://devblog.springest.com/complete-logstash-stack-on-aws-opsworks-in-15-minutes/

Most of the things run fine except for Elasticsearch. When the process is
started, if I try to do a simple c**url -X GET http://localhost:9200/
http://localhost:9200/
, I get the following answer : curl: (52)
Empty reply from server

In my cluster's log, I see the hereunder java error. Did anybody
experience that ? Any suggestions ?

Thanks for your help,

Charles.

Java error :

[2014-03-21 10:46:48,657][WARN ][http.netty ] [Cecilia
Reyes] Caught exception while handling client http traffic, closing
connection [id: 0xf290eec5, /127.0.0.1:60355 http://127.0.0.1:60355 =>
/127.0.0.1:9200 http://127.0.0.1:9200]

java.lang.IncompatibleClassChangeError: Found class
org.elasticsearch.http.HttpRequest, but interface was expected

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.shouldLetPass(HttpBasicServer.java:43)*

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.internalDispatchRequest(HttpBasicServer.java:35)*

  • at
    org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:83)*

  • at
    org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:291)*

  • at
    org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:43)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)*

  • at
    org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)*

  • at
    org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)*

  • at
    org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)*

  • at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)*

  • at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)*

at java.lang.Thread.run(Thread.java:701)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3423798c-94ad-4f18-8c91-b2097706ec43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey,
Did you ever find a solution to this? I'm running in to the same issue. Now
that I think of it, I don't understand how the tutorial even worked unless
they removed the "elasticsearch-http-basic" plugin altogether.

On Friday, March 21, 2014 4:12:10 AM UTC-7, cha...@pocketplaylab.com wrote:

Oh, ok thanks...

I had to update ES because the version of Kibana I am using wasn't
supporting the previous one. I guess I'll have to downgrade everything or
wait.

Thanks a lot!

On Friday, March 21, 2014 6:01:51 PM UTC+7, Kevin Wang wrote:

It looks like you are using "elasticsearch-http-basic" plugin and that
plugin doesn't support ES 1.0
https://github.com/Asquera/elasticsearch-http-basic/issues/9

On Friday, March 21, 2014 9:50:02 PM UTC+11, cha...@pocketplaylab.comwrote:

Hi all,

I am currently trying to set up a complete Elasticsearch + LogStash +
Kibana stack on Amazon Web Services OpsWorks using the following tutorial :
http://devblog.springest.com/complete-logstash-stack-on-aws-opsworks-in-15-minutes/

Most of the things run fine except for Elasticsearch. When the process
is started, if I try to do a simple c**url -X GET
http://localhost:9200/ http://localhost:9200/
, I get the following
answer : curl: (52) Empty reply from server

In my cluster's log, I see the hereunder java error. Did anybody
experience that ? Any suggestions ?

Thanks for your help,

Charles.

Java error :

[2014-03-21 10:46:48,657][WARN ][http.netty ] [Cecilia
Reyes] Caught exception while handling client http traffic, closing
connection [id: 0xf290eec5, /127.0.0.1:60355 http://127.0.0.1:60355 =>
/127.0.0.1:9200 http://127.0.0.1:9200]

java.lang.IncompatibleClassChangeError: Found class
org.elasticsearch.http.HttpRequest, but interface was expected

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.shouldLetPass(HttpBasicServer.java:43)*

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.internalDispatchRequest(HttpBasicServer.java:35)*

  • at
    org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:83)*

  • at
    org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:291)*

  • at
    org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:43)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)*

  • at
    org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)*

  • at
    org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)*

  • at
    org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)*

  • at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)*

  • at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)*

at java.lang.Thread.run(Thread.java:701)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/600eb76f-cfc6-47ad-83e8-95d8e6283336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The tutorial was done with older versions of logstash, kibana and
elasticsearch so I guess that those issues didn't show up.

I did a lot of things... And I spent so much time making it work, and the
tutorial is clearly not working out of the box. I also modified their
logstash cookbook so it could do what I want it to do.

Oh and by the way I'm not using rabbitMQ but AWS SQS instead.

On Fri, May 16, 2014 at 1:59 AM, Patrick Marx patrick.k.marx@gmail.comwrote:

Hey,
Did you ever find a solution to this? I'm running in to the same issue.
Now that I think of it, I don't understand how the tutorial even worked
unless they removed the "elasticsearch-http-basic" plugin altogether.

On Friday, March 21, 2014 4:12:10 AM UTC-7, cha...@pocketplaylab.comwrote:

Oh, ok thanks...

I had to update ES because the version of Kibana I am using wasn't
supporting the previous one. I guess I'll have to downgrade everything or
wait.

Thanks a lot!

On Friday, March 21, 2014 6:01:51 PM UTC+7, Kevin Wang wrote:

It looks like you are using "elasticsearch-http-basic" plugin and that
plugin doesn't support ES 1.0
https://github.com/Asquera/elasticsearch-http-basic/issues/9

On Friday, March 21, 2014 9:50:02 PM UTC+11, cha...@pocketplaylab.comwrote:

Hi all,

I am currently trying to set up a complete Elasticsearch + LogStash +
Kibana stack on Amazon Web Services OpsWorks using the following tutorial :
http://devblog.springest.com/complete-logstash-stack-
on-aws-opsworks-in-15-minutes/

Most of the things run fine except for Elasticsearch. When the process
is started, if I try to do a simple c**url -X GET
http://localhost:9200/ http://localhost:9200/
, I get the following
answer : curl: (52) Empty reply from server

In my cluster's log, I see the hereunder java error. Did anybody
experience that ? Any suggestions ?

Thanks for your help,

Charles.

Java error :

[2014-03-21 10:46:48,657][WARN ][http.netty ] [Cecilia
Reyes] Caught exception while handling client http traffic, closing
connection [id: 0xf290eec5, /127.0.0.1:60355 http://127.0.0.1:60355 =>
/127.0.0.1:9200 http://127.0.0.1:9200]

java.lang.IncompatibleClassChangeError: Found class
org.elasticsearch.http.HttpRequest, but interface was expected

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.shouldLetPass(HttpBasicServer.java:43)*

  • at
    com.asquera.elasticsearch.plugins.http.HttpBasicServer.internalDispatchRequest(HttpBasicServer.java:35)*

  • at
    org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:83)*

  • at
    org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:291)*

  • at
    org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:43)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)*

  • at
    org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)*

  • at
    org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)*

  • at
    org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)*

  • at
    org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)*

  • at
    org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)*

  • at
    org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)*

  • at
    org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)*

  • at
    org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)*

  • at
    org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)*

  • at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)*

  • at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)*

at java.lang.Thread.run(Thread.java:701)

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/VHIa_3Xa57g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/600eb76f-cfc6-47ad-83e8-95d8e6283336%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/600eb76f-cfc6-47ad-83e8-95d8e6283336%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPBw%2B7jFUA_6wqbkP5p0_cX9soxgpyZ30tsNhvdDo4m5W95QTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.