# Shield is blocking marvel

**URL:** <https://discuss.elastic.co/t/shield-is-blocking-marvel/70980>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [January 9, 2017, 5:40pm UTC](https://discuss.elastic.co/t/shield-is-blocking-marvel/70980 "2017-01-09T17:40:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [January 9, 2017, 5:40pm UTC](https://discuss.elastic.co/t/shield-is-blocking-marvel/70980/1 "2017-01-09T17:40:17Z")

</div>

Hi Team,  
I disabled shield from all nodes but when trying to access marvel (Kibana console) i am getting below error:  
"Shield: Sorry, you are not authorized to access Marvel"

shield disabled as " shield.enabled: false" in elasticsearch.yml

Please let me know how can i troubleshoot this error, not sure error is on a single node or all nodes.

The only error i can found in ES logs is:

[2017-01-09 09:34:13,263][ERROR][marvel.agent] [es-master-node] background thread had an uncaught exception  
ElasticsearchException[failed to flush exporter bulks]  
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:104)  
at org.elasticsearch.marvel.agent.exporter.ExportBulk.close(ExportBulk.java:53)  
at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:201)  
at java.lang.Thread.run(Thread.java:745)  
Suppressed: ElasticsearchException[failed to flush [default\_local] exporter bulk]; nested: ElasticsearchException[failure in bulk execution, only the first 100 failures are printed:];  
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:106)  
... 3 more  
Caused by: ElasticsearchException[failure in bulk execution, only the first 100 failures are printed:]  
at org.elasticsearch.marvel.agent.exporter.local.LocalBulk.flush(LocalBulk.java:118)  
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:101)  
... 3 more

Thanks & Regards,

---

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [January 9, 2017, 8:49pm UTC](https://discuss.elastic.co/t/shield-is-blocking-marvel/70980/2 "2017-01-09T20:49:08Z")

</div>

It's resolved...i deleted .marvel index but not sure what was the issue.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [January 12, 2017, 11:32pm UTC](https://discuss.elastic.co/t/shield-is-blocking-marvel/70980/3 "2017-01-12T23:32:38Z")

</div>


