A good guess is that ES 1.4 has cross-origin resource sharing (CORS) 
disabled. Enable it, and your plugins should work again.

Lasse


On Monday, November 17, 2014 11:30:12 PM UTC+1, [email protected] wrote:
>
> Hi,
>
> I installed ElasticSearch server on CentOS and launched.  I downloaded 
> elasticsearch-head using git command.  When I try to connect to the 
> cluster, the server throws exception:
>
> ----------------
> [root@uranus-linuxvm elasticsearch-1.4.0]# [2014-11-17 
> 17:24:15,410][DEBUG][http.netty               ] [uranus-linuxvm] Caught 
> exception while handling client http traffic, closing connection [id: 
> 0xf3973a18, /172.25.183.134:53281 :> /172.25.183.153:9200]
> java.nio.channels.ClosedChannelException
>     at 
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:405)
>     at 
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.close(AbstractNioWorker.java:373)
>     at 
> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:93)
>     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:1145)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:744)
> [2014-11-17 17:24:15,438][DEBUG][http.netty               ] 
> [uranus-linuxvm] Caught exception while handling client http traffic, 
> closing connection [id: 0xd0807271, /172.25.183.134:53282 => /
> 172.25.183.153:9200]
> java.io.IOException: Connection reset by peer
>     at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
>     at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
>     at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
>     at sun.nio.ch.IOUtil.read(IOUtil.java:192)
>     at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
>     at 
> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:64)
>     at 
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
> ----------------
>
> Why is channel being closed?
>
> Any help is greatly appreciated.
>
> Regards,
> Andy
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1e0b516d-4e01-4680-aedc-30b413aea636%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to