Getting "Network is unreachable" while running elasticsearch from windows

Hi,

I'm running elasticsearch through windows using command prompt. The same
started as below.

D:\elasticsearch\elasticsearch-1.0.1\bin>elasticsearch
[2014-04-08 13:39:00,199][WARN ][bootstrap ] jvm uses the
client vm, make sure to run java with the ser
ver vm for best performance by adding -server to the command line
[2014-04-08 13:39:00,379][INFO ][node ] [node-master]
version[1.0.1], pid[11568], build[5c03844/2014
-02-25T15:52:53Z]
[2014-04-08 13:39:00,379][INFO ][node ] [node-master]
initializing ...
[2014-04-08 13:39:00,411][INFO ][plugins ] [node-master]
loaded [], sites []
[2014-04-08 13:39:06,237][INFO ][node ] [node-master]
initialized
[2014-04-08 13:39:06,237][INFO ][node ] [node-master]
starting ...
[2014-04-08 13:39:06,651][INFO ][transport ] [node-master]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, p
ublish_address {inet[/10.204.226.15:9300]}
[2014-04-08 13:39:10,084][INFO ][cluster.service ] [node-master]
new_master [node-master][DvA9zQxzR_6pSY6ESeaFc
w][BGHWV2188][inet[/10.204.226.15:9300]], reason: zen-disco-join
(elected_as_master)
[2014-04-08 13:39:10,131][INFO ][discovery ] [node-master]
elasticsearch/DvA9zQxzR_6pSY6ESeaFcw
[2014-04-08 13:39:10,382][INFO ][http ] [node-master]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, p
ublish_address {inet[/10.204.226.15:9200]}
[2014-04-08 13:39:11,471][INFO ][gateway ] [node-master]
recovered [4] indices into cluster_state
[2014-04-08 13:39:11,473][INFO ][node ] [node-master]
started

The elasticsearch cluster is working fine but if I left the cmd
window inactive for long time I'm getting the below exception for network
connection. Whereas the REST client is working fine and I'm able to do GET
, POST on existing index. Can someone let me know why this is happening.


[2014-04-08 15:37:59,401][WARN ][monitor.jvm ] [node-master]
[gc][young][7123][4] duration [3.8s], collect
ons [1]/[4.1s], total [3.8s]/[4s], memory [95.6mb]->[29.8mb]/[998.4mb],
all_pools {[young] [68.3mb]->[4.1mb]/[204.8mb]}
[survivor] [8.5mb]->[4.5mb]/[25.5mb]}{[old] [18.8mb]->[21.2mb]/[768mb]}
[2014-04-08 22:21:34,779][WARN ][monitor.jvm ] [node-master]
[gc][young][10162][5] duration [2.1s], collec
ions [1]/[2.3s], total [2.1s]/[6.1s], memory [94mb]->[26.7mb]/[998.4mb],
all_pools {[young] [68.3mb]->[3.1mb]/[204.8mb]
{[survivor] [4.5mb]->[2.3mb]/[25.5mb]}{[old] [21.2mb]->[21.2mb]/[768mb]}
[2014-04-09 11:27:27,628][WARN ][transport.netty ] [node-master]
exception caught on transport layer [[id: 0xc
3ad957, 0.0.0.0/0.0.0.0:63427]], closing connection
java.net.SocketException: Network is unreachable: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)

--
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/925dc2a8-b79a-4e40-8985-cbfc06992d9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.