# Problems with apache and marvel plugin

**URL:** <https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [November 26, 2015, 4:40am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623 "2015-11-26T04:40:05Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfr0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfr0/32/6433_2.png) [@dfr0](https://discuss.elastic.co/u/dfr0)\
**Post date:** [November 26, 2015, 4:40am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/1 "2015-11-26T04:40:05Z")

</div>

Hi,

i've problems with marvel and reverse proxy.

My apache conf for this terms:

ProxyPass /app/marvel http://**:5601/app/marvel  
ProxyPassReverse /app/marvel http://**:5601/app/marvel

ProxyPass http://**:5601/api/marvel  
ProxyPassReverse http://**:5601/api/marvel

I see the cluster info correct:

 ![image](https://cloud.githubusercontent.com/assets/13537268/11414645/1c461fec-93f8-11e5-9676-1017a166366d.png)

But the nodes or other options give me errors:

 ![image](https://cloud.githubusercontent.com/assets/13537268/11414714/e94488a8-93f8-11e5-8ca6-d518ac3c71e2.png)

I try with the rewrite options but i did not lucky, any ideas?

Thx for the support

---

<div class="post-metadata">

**Author:** ![dfr0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfr0/32/6433_2.png) [@dfr0](https://discuss.elastic.co/u/dfr0)\
**Post date:** [November 27, 2015, 2:34am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/2 "2015-11-27T02:34:07Z")

</div>

i've the same problem on other machine without reverse proxy, error 500 when i try to connect to the cluster info.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/5/5c11919924c9c562769ffad10e352e32bb461019.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 27, 2015, 7:24am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/3 "2015-11-27T07:24:47Z")

</div>

What versions?

---

<div class="post-metadata">

**Author:** ![dfr0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfr0/32/6433_2.png) [@dfr0](https://discuss.elastic.co/u/dfr0)\
**Post date:** [November 27, 2015, 11:42pm UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/4 "2015-11-27T23:42:33Z")

</div>

All are in version 2.0, logstash 2.0, elasticsearch 2.0 and kibana 4.2, you recommend upgrade all products for 2.1 versión??

thx warkolm

---

<div class="post-metadata">

**Author:** ![dfr0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfr0/32/6433_2.png) [@dfr0](https://discuss.elastic.co/u/dfr0)\
**Post date:** [December 1, 2015, 10:34pm UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/5 "2015-12-01T22:34:03Z")

</div>

any idea???

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [December 2, 2015, 8:46am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/6 "2015-12-02T08:46:01Z")

</div>

Can you please check if there are errors in the Kibana output?

---

<div class="post-metadata">

**Author:** ![dfr0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfr0/32/6433_2.png) [@dfr0](https://discuss.elastic.co/u/dfr0)\
**Post date:** [December 3, 2015, 4:47am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/7 "2015-12-03T04:47:29Z")

</div>

Yes all correct

log [04:45:58.318] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready  
log [04:45:58.389] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [04:45:58.417] [info][status][plugin:marvel] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [04:45:58.445] [info][status][plugin:kbn\_vislib\_vis\_types] Status changed from uninitialized to green - Ready  
log [04:45:58.464] [info][status][plugin:markdown\_vis] Status changed from uninitialized to green - Ready  
log [04:45:58.491] [info][status][plugin:metric\_vis] Status changed from uninitialized to green - Ready  
log [04:45:58.508] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready  
log [04:45:58.518] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready  
log [04:45:58.528] [info][status][plugin:table\_vis] Status changed from uninitialized to green - Ready  
log [04:45:58.536] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready  
log [04:45:58.611] [info][listening] Server running at [http://0.0.0.0:5601](http://0.0.0.0:5601)  
log [04:45:58.615] [info][status][plugin:marvel] Status changed from yellow to green - Marvel index ready

i'll to configure the debug mode.

---

<div class="post-metadata">

**Author:** ![dfr0](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfr0/32/6433_2.png) [@dfr0](https://discuss.elastic.co/u/dfr0)\
**Post date:** [December 3, 2015, 4:52am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/8 "2015-12-03T04:52:49Z")

</div>

Yeah with the debug i see the following:

error [04:49:47.250] [null\_pointer\_exception] null :: {"path":"/.marvel-es-\*/\_field\_stats","query":{"level":"indices","ignore\_unavailable":true},"body":"{"fields":["timestamp"],"index\_constraints":{"timestamp":{"max\_value":{"gte":"2015-12-03T03:49:47.068Z"},"min\_value":{"lte":"2015-12-03T04:49:47.068Z"}}}}","statusCode":500,"response":"{"error":{"root\_cause":[{"type":"null\_pointer\_exception","reason":null}],"type":"null\_pointer\_exception","reason":null},"status":500}"}  
at respond (/data/www/kibana/node\_modules/elasticsearch/src/lib/transport.js:238:15)  
at checkRespForFailure (/data/www/kibana/node\_modules/elasticsearch/src/lib/transport.js:201:7)  
at HttpConnector. (/data/www/kibana/node\_modules/elasticsearch/src/lib/connectors/http.js:155:7)  
at IncomingMessage.wrapper (/data/www/kibana/node\_modules/lodash/index.js:3095:19)  
at IncomingMessage.emit (events.js:129:20)  
at \_stream\_readable.js:908:16  
at process.\_tickDomainCallback (node.js:381:11)

I saw your other post about this 35491

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [December 3, 2015, 8:41am UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/9 "2015-12-03T08:41:52Z")

</div>

Can you check the logs on Elasticsearch side?

If you see something like this:

```auto
[2015-12-02 00:11:34,633][INFO][rest.suppressed] /.marvel-es-*/_field_stats Params: {level=indices, ignore_unavailable=true, index=.marvel-es-*}
java.lang.NullPointerException
	at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.newResponse(TransportFieldStatsTransportAction.java:122)

```

I think you hit this issue: [https://github.com/elastic/elasticsearch/pull/14868](https://github.com/elastic/elasticsearch/pull/14868)

It should be fixed in the next bugfix release.

---

<div class="post-metadata">

**Author:** ![gary\_fire](https://avatars.discourse-cdn.com/v4/letter/g/d78d45/32.png) [@gary\_fire](https://discuss.elastic.co/u/gary_fire)\
**Post date:** [December 3, 2015, 2:21pm UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/10 "2015-12-03T14:21:00Z")

</div>

Hi there,

Is there a workaround for this issue?

---

<div class="post-metadata">

**Author:** ![gary\_fire](https://avatars.discourse-cdn.com/v4/letter/g/d78d45/32.png) [@gary\_fire](https://discuss.elastic.co/u/gary_fire)\
**Post date:** [December 3, 2015, 3:00pm UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/11 "2015-12-03T15:00:20Z")

</div>

I just installed elasticsearch 2.1.0 and kibana 4.3.0 and that fixed my problem.

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [December 3, 2015, 3:17pm UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/12 "2015-12-03T15:17:09Z")

</div>

Thanks for the update Gary - glad to see you got it working.

---

<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 6, 2017, 1:46pm UTC](https://discuss.elastic.co/t/problems-with-apache-and-marvel-plugin/35623/13 "2017-07-06T13:46:17Z")

</div>


