Starting ES given Exception

Hello all,

I am having new problem when i am starting elasticsearch it gives the error after every 5 sec....Can anybody tell me what does it mean and where i am going wrong?

java.net.SocketException: Address family not supported by protocol family: conne
ct
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipe
lineSink.connect(NioClientSocketPipelineSink.java:150)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipe
lineSink.eventSunk(NioClientSocketPipelineSink.java:113)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendDow
nstream(DefaultChannelPipeline.java:574)
at org.elasticsearch.common.netty.channel.Channels.connect(Channels.java
:541)
at org.elasticsearch.common.netty.channel.AbstractChannel.connect(Abstra
ctChannel.java:210)
at org.elasticsearch.common.netty.bootstrap.ClientBootstrap.connect(Clie
ntBootstrap.java:227)
at org.elasticsearch.common.netty.bootstrap.ClientBootstrap.connect(Clie
ntBootstrap.java:188)
at org.elasticsearch.transport.netty.NettyTransport.connectToChannels(Ne
ttyTransport.java:550)
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyT
ransport.java:503)
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyT
ransport.java:482)
at org.elasticsearch.transport.TransportService.connectToNode(TransportS
ervice.java:124)
at org.elasticsearch.cluster.service.InternalClusterService$2.run(Intern
alClusterService.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
[2012-10-11 22:15:49,737][WARN ][transport.netty ] [Howard the Duck] Ex
ception caught on netty layer [[id: 0x00648938]]

Thanx

Regards,
Sumit Gupta

You need to provide a lot more details about your setup. Which ES version?
How many nodes? Which client?

On Thu, Oct 11, 2012 at 9:49 AM, Sumit Guptaa sumit.gupta.ngi@gmail.comwrote:

Hello all,

I am having new problem when i am starting elasticsearch it gives the error
after every 5 sec....Can anybody tell me what does it mean and where i am
going wrong?

java.net.SocketException: Address family not supported by protocol family:
conne
ct
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipe
lineSink.connect(NioClientSocketPipelineSink.java:150)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipe
lineSink.eventSunk(NioClientSocketPipelineSink.java:113)
at
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendDow
nstream(DefaultChannelPipeline.java:574)
at
org.elasticsearch.common.netty.channel.Channels.connect(Channels.java
:541)
at
org.elasticsearch.common.netty.channel.AbstractChannel.connect(Abstra
ctChannel.java:210)
at
org.elasticsearch.common.netty.bootstrap.ClientBootstrap.connect(Clie
ntBootstrap.java:227)
at
org.elasticsearch.common.netty.bootstrap.ClientBootstrap.connect(Clie
ntBootstrap.java:188)
at
org.elasticsearch.transport.netty.NettyTransport.connectToChannels(Ne
ttyTransport.java:550)
at
org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyT
ransport.java:503)
at
org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyT
ransport.java:482)
at
org.elasticsearch.transport.TransportService.connectToNode(TransportS
ervice.java:124)
at
org.elasticsearch.cluster.service.InternalClusterService$2.run(Intern
alClusterService.java:260)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
[2012-10-11 22:15:49,737][WARN ][transport.netty ] [Howard the
Duck] Ex
ception caught on netty layer [[id: 0x00648938]]

Thanx

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Starting-ES-given-Exception-tp4023806.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--

--

Sumit Guptaa wrote:

I am having new problem when i am starting elasticsearch it gives the error
after every 5 sec....Can anybody tell me what does it mean and where i am
going wrong?

[...]

java.net.SocketException: Address family not supported by protocol family:
connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
at

Can you post a gist of your config/elasticsearch.yml?

-Drew

--

Hi

i am using elasticsearch 18.7 with one node...when i am starting ES with elasticsearch -f it gives the exception....Any Idea

Thanx

Regards,
Sumit Gupta

Sumit,

Are you able to try with a more recent version such as 0.19.10?

On Saturday, October 13, 2012 8:23:37 AM UTC+13, Sumit Gupta wrote:

Hi

i am using elasticsearch 18.7 with one node...when i am starting ES with
elasticsearch -f it gives the exception....Any Idea

Thanx

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Starting-ES-given-Exception-tp4023806p4023920.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--