# Elasticsearch 2.2.0 - ClusterBlockException while accessing through rest

**URL:** <https://discuss.elastic.co/t/elasticsearch-2-2-0-clusterblockexception-while-accessing-through-rest/42113>\
**Category:** Elasticsearch\
**Created:** [February 18, 2016, 8:54am UTC](https://discuss.elastic.co/t/elasticsearch-2-2-0-clusterblockexception-while-accessing-through-rest/42113 "2016-02-18T08:54:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![moni15moni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/moni15moni/32/42311_2.png) [@moni15moni](https://discuss.elastic.co/u/moni15moni)\
**Post date:** [February 18, 2016, 8:54am UTC](https://discuss.elastic.co/t/elasticsearch-2-2-0-clusterblockexception-while-accessing-through-rest/42113/1 "2016-02-18T08:54:04Z")

</div>

Hi,

I have started elasticsearch as a standalone process.After it's starting i have tried to run the "curl 10.2..1.50:9202/\_cat/shards" .But it's returning the following "ClusterBlockException".Also in log it seems a rest suppressed .Can anyone tell me i have missed anything or what is the root cause for this exception.

[2016-02-18 08:45:28,212][INFO][transport] [10.2.1.50] publish\_address {10.2.1.50:9302}, bound\_addresses {10.2.1.50:9302}  
[2016-02-18 08:45:28,239][INFO][discovery] [10.2.1.50] elasticsearch-2.1.0/\_m-haJxSRZeOlqn22JL-jw  
[2016-02-18 08:45:31,274][INFO][cluster.service] [10.2.1.50] new\_master {10.2.1.50}{\_m-haJxSRZeOlqn22JL-jw}{10.2.1.50}{10.2.1.50:9302}{max\_local\_storage\_nodes=1}, reason: zen-disco-join(elected\_as\_master, [0] joins received)  
[2016-02-18 08:45:31,312][INFO][http] [10.2.1.50] publish\_address {10.2.1.50:9202}, bound\_addresses {10.2.1.50:9202}  
[2016-02-18 08:45:31,312][INFO][node] [10.2.1.50] started  
[2016-02-18 08:45:45,280][INFO][rest.suppressed] /\_cat/shards Params: {}  
ClusterBlockException[blocked by: [SERVICE\_UNAVAILABLE/1/state not recovered / initialized];]  
at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedException(ClusterBlocks.java:154)  
at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.checkGlobalBlock(TransportIndicesStatsAction.java:70)  
at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.checkGlobalBlock(TransportIndicesStatsAction.java:47)  
at org.elasticsearch.action.support.broadcast.node.TransportBroadcastByNodeAction$AsyncAction.(TransportBroadcastByNodeAction.java:237)  
at org.elasticsearch.action.support.broadcast.node.TransportBroadcastByNodeAction.doExecute(TransportBroadcastByNodeAction.java:217)  
at org.elasticsearch.action.support.broadcast.node.TransportBroadcastByNodeAction.doExecute(TransportBroadcastByNodeAction.java:77)

Thanks  
Moni

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:15pm UTC](https://discuss.elastic.co/t/elasticsearch-2-2-0-clusterblockexception-while-accessing-through-rest/42113/2 "2017-07-05T23:15:22Z")

</div>

Closed on July 5, 2017, 11:15pm UTC


