# Kibana Reporting Max Attempts reached (3) error

**URL:** https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583
**Category:** Kibana
**Created:** [March 19, 2018, 3:02pm UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583 "2018-03-19T15:02:17Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Sohal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sohal/32/28852_2.png) [@Sohal](https://discuss.elastic.co/u/Sohal)
#### Post date: [March 19, 2018, 3:02pm UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583/1 "2018-03-19T15:02:17Z")

</div>

I am using bitnami ELK stack and have installed x-pack both on elasticsearch and kibana

When I am generating reports from a visualization it gives me the following error

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/6/7633e1ab4a233c0dfbda8ba9b74f6131b19a4102.png)

I have following properties in kibana.yml

xpack.reporting.queue.timeout: 600000

any help will be highly appreciated. I do not see anything in elasticsearch logs.

There is no message related to pdf after the following log statement

{"type":"log","@timestamp":"2018-03-19T04:12:32Z","tags":["reporting","worker","debug"],"pid":74889,"message":"PDF: Processing PDF job"}

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [March 19, 2018, 3:53pm UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583/2 "2018-03-19T15:53:48Z")

</div>

Hey,

could you maybe paste a bit more of the log context around that. Especially everything that comes after it. It doesn't necessarily need to have the word PDF in it, even if its relevant for reporting.

Cheers,  
Tim

---

<div class="post-metadata">

### Author: ![Sohal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sohal/32/28852_2.png) [@Sohal](https://discuss.elastic.co/u/Sohal)
#### Post date: [March 20, 2018, 1:38am UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583/3 "2018-03-20T01:38:11Z")

</div>

hey Tim,

here is the log

> {"type":"log","@timestamp":"2018-03-20T01:26:25Z","tags":["reporting","worker","debug"],"pid":91601,"message":" **PDF: Processing PDF job**"}  
> {"type":"log","@timestamp":"2018-03-20T01:26:26Z","tags":["plugin","debug"],"pid":91601,"message":"Checking Elasticsearch version"}  
> {"type":"ops","@timestamp":"2018-03-20T01:26:26Z","tags":,"pid":91601,"os":{"load":[0.193359375,0.1728515625,0.15380859375],"mem":{"total":3585667072,"free":139182080},"uptime":341276},"proc":{"uptime":97.664,"mem":{"rss":226922496,"heapTotal":180592640,"heapUsed":146399864,"external":2373687},"delay":0.48129498958587646},"load":{"requests":{"5601":{"total":2,"disconnects":0,"statusCodes":{"200":2}}},"concurrents":{"5601":15},"responseTimes":{"5601":{"avg":126,"max":238}},"sockets":{"http":{"total":0},"https":{"total":0}}},"message":"memory: 139.6MB uptime: 0:01:38 load: [0.19 0.17 0.15] delay: 0.481"}  
> {"type":"log","@timestamp":"2018-03-20T01:26:26Z","tags":["debug","monitoring-ui","kibana-monitoring"],"pid":91601,"message":"Received Kibana Ops event data"}  
> {"type":"response","@timestamp":"2018-03-20T01:26:27Z","tags":,"pid":91601,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, _/_","kbn-system-api":"true","kbn-version":"6.1.2","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36","referer":"http://{IPAddress}/elk/app/kibana","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.9","x-forwarded-for":"142.116.220.222","x-forwarded-host":"{IPAddress}","x-forwarded-server":"localhost","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://{IPAddress}/elk/app/kibana"},"res":{"statusCode":200,"responseTime":39,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0 200 39ms - 9.0B"}  
> {"type":"log","@timestamp":"2018-03-20T01:26:27Z","tags":["reporting","screenshots","debug"],"pid":91601,"message":"opening [http://127.0.0.1:5601/elk/app/kibana#/visualize/edit/7ae08de0-2351-11e8-8e57-5ffd065fc8ea?\_g=(time:(from:'2018-03-19T00:00:00.000Z',mode:absolute,to:'2018-03-19T23:59:59.999Z')](http://127.0.0.1:5601/elk/app/kibana#/visualize/edit/7ae08de0-2351-11e8-8e57-5ffd065fc8ea?_g=(time:(from:'2018-03-19T00:00:00.000Z',mode:absolute,to:'2018-03-19T23:59:59.999Z')))&\_a=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'4abf4d70-22e0-11e8-8e57-5ffd065fc8ea',key:fields.RequestUrl.keyword,negate:!f,params:!('http:%2F%2Flocalhost:3000%2Fauthenticate','http:%2F%2F127.0.0.1:3000%2Fauthenticate'),type:phrases,value:'http:%2F%2Flocalhost:3000%2Fauthenticate,%20http:%2F%2F127.0.0.1:3000%2Fauthenticate'),query:(bool:(minimum\_should\_match:1,should:!((match\_phrase:(fields.RequestUrl.keyword:'http:%2F%2Flocalhost:3000%2Fauthenticate')),(match\_phrase:(fields.RequestUrl.keyword:'http:%2F%2F127.0.0.1:3000%2Fauthenticate')))))),('$state':(store:appState),exists:(field:fields.AccountID.keyword),meta:(alias:!n,disabled:!f,index:'4abf4d70-22e0-11e8-8e57-5ffd065fc8ea',key:fields.AccountID.keyword,negate:!f,type:exists,value:exists))),linked:!f,query:(language:lucene,query:''),uiState:(),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count),(enabled:!t,id:'2',params:(customInterval:'2h',extended\_bounds:(),field:'@timestamp',interval:auto,min\_doc\_count:1),schema:segment,type:date\_histogram),(enabled:!t,id:'3',params:(field:fields.RequestBody.uuid.keyword,order:desc,orderBy:'1',row:!t,size:5),schema:split,type:terms)),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,categoryAxes:!((id:CategoryAxis-1,labels:(show:!t,truncate:100),position:bottom,scale:(type:linear),show:!t,style:(),title:(),type:category)),grid:(categoryLines:!f,style:(color:%23eee)),legendPosition:right,radiusRatio:51,seriesParams:!((data:(id:'1',label:Count),drawLinesBetweenPoints:!t,mode:stacked,show:true,showCircles:!t,type:histogram,valueAxis:ValueAxis-1)),times:!(),type:histogram,valueAxes:!((id:ValueAxis-1,labels:(filter:!f,rotate:0,show:!t,truncate:100),name:LeftAxis-1,position:left,scale:(mode:normal,type:linear),show:!t,style:(),title:(text:Count),type:value))),title:'Number%20of%20logins%20(including%20repeated%20logins)',type:histogram))"}  
> {"type":"log","@timestamp":"2018-03-20T01:26:27Z","tags":["license","debug","xpack"],"pid":91601,"message":"Calling Elasticsearch \_xpack API"}  
> {"type":"response","@timestamp":"2018-03-20T01:26:27Z","tags":,"pid":91601,"method":"get","statusCode":404,"req":{"url":"/elk/app/kibana","method":"get","headers":{"accept":"application/json, text/plain, _/_","accept-language":"en-US,en;q=0.9","connection":"Keep-Alive","kbn-version":"6.1.2","origin":"[http://52.169.110.171](http://52.169.110.171)","referer":"[http://52.169.110.171/elk/app/kibana","user-agent":"Mozilla/5.0](http://52.169.110.171/elk/app/kibana%22,%22user-agent%22:%22Mozilla/5.0) (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36","x-forwarded-for":"142.116.220.222","x-forwarded-host":"52.169.110.171","x-forwarded-server":"localhost","accept-encoding":"gzip, deflate","host":"127.0.0.1:5601"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://52.169.110.171/elk/app/kibana"},"res":{"statusCode":404,"responseTime":13,"contentLength":9},"message":"\*\*GET](http://52.169.110.171/elk/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:13,%22contentLength%22:9%7D,%22message%22:%22**GET) /elk/app/kibana 404 13ms\*\* - 9.0B"}

> {"type":"log","@timestamp":"2018-03-20T01:28:32Z","tags":["reporting","worker","debug"],"pid":91601," **message":"PDF: Processing PDF job**"}  
> {"type":"log","@timestamp":"2018-03-20T01:28:32Z","tags":["reporting","esqueue","worker","debug"],"pid":91601,"message":"jeyz8iq21yoh23957f86dyqd - querying for outstanding jobs"}  
> {"type":"log","@timestamp":"2018-03-20T01:28:32Z","tags":["reporting","esqueue","worker","debug"],"pid":91601,"message":"jeyz8iq21yoh23957f86dyqd - 0 outstanding jobs returned"}  
> {"type":"response","@timestamp":"2018-03-20T01:28:32Z","tags":,"pid":91601,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, _/_","kbn-system-api":"true","kbn-version":"6.1.2","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36","referer":"http://{IPAddress}/elk/app/kibana","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.9","x-forwarded-for":"142.116.220.222","x-forwarded-host":"{IPAddress}","x-forwarded-server":"localhost","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://{IPAddress}/elk/app/kibana"},"res":{"statusCode":200,"responseTime":16,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0 200 16ms - 9.0B"}

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [March 20, 2018, 12:57pm UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583/4 "2018-03-20T12:57:43Z")

</div>

Hi,

after syncing with some colleagues I think the actual issue is, that you are running behind a reverse proxy. If you are running behind a reverse proxy (as you do), you need to provide some addition information in the `kibana.yml` configuration for reporting - [see docs](https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#reporting-kibana-server-settings). The actual values might depend on your actual architecture. In that case you should consult the bitnami docs or forums, on how those values must be set.

Cheers,  
Tim

---

<div class="post-metadata">

### Author: ![Sohal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sohal/32/28852_2.png) [@Sohal](https://discuss.elastic.co/u/Sohal)
#### Post date: [March 27, 2018, 2:49am UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583/5 "2018-03-27T02:49:23Z")

</div>

In case someone needs help..here is the solution

> **[Kibana Reporting Max Attempts reached (3) error](https://community.bitnami.com/t/kibana-reporting-max-attempts-reached-3-error/56289)**
>
> Keywords: ELK - Microsoft Azure - Technical issue - Other Description: Step 1: Install x-pack on elasticsearch and kibana. Step 2: Generate a report from kibana for a visualization Version of ELK stack is 6.1.x Please see more information...

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [March 27, 2018, 7:01am UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583/6 "2018-03-27T07:01:58Z")

</div>

Thanks for sharing that post. That will be very helpful to guide other Bitnami users! :elasticheart:

---

<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: [April 24, 2018, 7:02am UTC](https://discuss.elastic.co/t/kibana-reporting-max-attempts-reached-3-error/124583/7 "2018-04-24T07:02:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
