# \[6.2.2\] reporting max attempts reached issue

**URL:** <https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221>\
**Category:** Kibana\
**Tags:** elastic-stack-reporting\
**Created:** [July 23, 2018, 4:34pm UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221 "2018-07-23T16:34:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)\
**Post date:** [July 23, 2018, 4:34pm UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/1 "2018-07-23T16:34:14Z")

</div>

Hello, I have kibana running behind a reverse proxy (nginx). I have set my yml like this (note that the index of kibana is not the default one):

```auto

server.basePath: "/bigdata"
elasticsearch.url: "http://aaa-2.flightwatching.com:9200"
kibana.index: .kibana-revima
elasticsearch.username: "kibana"
elasticsearch.password: "thepass"
logging.dest: /home/aaa/logs/kibana.log
xpack.reporting.encryptionKey: "ZHDFEBHAIJOSLOZEOBEHJESMO682351279"
xpack.reporting.kibanaServer.port: 443
xpack.reporting.kibanaServer.protocol: https
xpack.reporting.kibanaServer.hostname: aaa.flightwatching.com

```

my nginx conf is the following:

```auto
server {
  listen 80;
  server_name aaa.flightwatching.com;
  rewrite ^ https://$server_name$request_uri? permanent;
}

server {
  listen 443;
  server_name aaa.flightwatching.com;
  ssl on;
    ssl_certificate /etc/letsencrypt/live/aaa.flightwatching.com/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/aaa.flightwatching.com/privkey.pem;
    ssl_session_timeout 5m;
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
  ssl_prefer_server_ciphers on;
  ssl_session_cache shared:SSL:10m;
  ssl_dhparam /etc/ssl/certs/dhparam.pem;

  proxy_set_header Host $host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_hide_header X-Powered-By;
  proxy_intercept_errors on;
  proxy_set_header X-Forwarded-Proto $scheme;
  add_header Front-End-Https on;
  proxy_redirect http:// https://;
  proxy_set_header X-Forwarded-Ssl on;
  client_max_body_size 20M;

  location ~ ^/bigdata/(.*)$ {
      rewrite /bigdata/(.*) /$1 break;
      proxy_pass http://localhost:5601;
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection 'upgrade';
      proxy_set_header Host $host;
      proxy_cache_bypass $http_upgrade;
  }

}

```

**but I get the max attempts reached (3) issue when trying to create a report.**

can you explain me why it can hapend?

regards

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [July 23, 2018, 10:24pm UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/2 "2018-07-23T22:24:41Z")

</div>

> [@dao](#):
>
> max attempts reached (3) issue when trying to create a report

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 - [Reporting settings in Kibana | Kibana Guide [8.11] | Elastic](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.

Hope this helps  
Rashmi

---

<div class="post-metadata">

**Author:** ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)\
**Post date:** [July 24, 2018, 7:36am UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/3 "2018-07-24T07:36:23Z")

</div>

As you can see in my kibana.yml, I did follow the documentation you are kindly mentioning.

Nevertheless, nothing is generated. Plus, I cannot see any message in the kibana.log that I can take advantage.

here is a content copy of the section I have implemented:

> # Kibana Server Settingsedit
> 
> Reporting uses the Kibana interface to generate reports. In most cases, you don’t need to configure Reporting to communicate with Kibana. However, if you use a reverse-proxy to access Kibana, you must set the proxy port, protocol, and hostname.
> 
> xpack.reporting.kibanaServer.port  
> The port for accessing Kibana, if different from the server.port value.  
> xpack.reporting.kibanaServer.protocol  
> The protocol for accessing Kibana, typically http or https.  
> xpack.reporting.kibanaServer.hostname  
> The hostname for accessing Kibana, if different from the server.name value.

---

<div class="post-metadata">

**Author:** ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)\
**Post date:** [July 25, 2018, 3:15am UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/4 "2018-07-25T03:15:43Z")

</div>

Hello,

any help would be appreciated. Maybe it is necessary I reformulate?

---

<div class="post-metadata">

**Author:** ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)\
**Post date:** [July 25, 2018, 12:39pm UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/5 "2018-07-25T12:39:15Z")

</div>

to add something to the mill, here are the nginx logs regarding my kibana instance

```auto
192.177.111.21 - - [25/Jul/2018:14:28:02 +0200] "POST /bigdata/api/reporting/generate/printablePdf?jobParams=(browserTimezone:Europe%2FParis,layout:(id:print),objectType:visualization,queryString:%27_g%3D()%26_a%3D(filters:!!(),linked:!!f,query:(language:lucene,query:!%27!%27),uiState:(),vis:(aggs:!!(),params:(fontSize:12,markdown:TEST),title:!%27FW%2Btest%2BMD!%27,type:markdown))%27,savedObjectId:%279690d150-8e93-11e8-8803-bb341278fcb4%27) HTTP/1.1" 200 1732 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:28:09 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1797 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:28:19 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1797 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:28:29 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1797 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:28:39 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1799 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:28:49 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1799 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:28:59 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1799 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:29:09 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1801 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:29:19 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1801 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:29:29 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1801 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:29:41 +0200] "GET /bigdata/api/reporting/jobs/list?ids=jk13uadb02pt628259b44szp HTTP/1.1" 200 1826 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:29:42 +0200] "GET /bigdata/api/reporting/jobs/output/jk13uadb02pt628259b44szp HTTP/1.1" 200 89 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:32:09 +0200] "GET /bigdata/ui/favicons/favicon-32x32.png HTTP/1.1" 304 0 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:32:09 +0200] "GET /bigdata/api/security/v1/me HTTP/1.1" 200 129 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:32:11 +0200] "GET /bigdata/api/reporting/jobs/count HTTP/1.1" 200 37 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:32:11 +0200] "GET /bigdata/ui/favicons/favicon-16x16.png HTTP/1.1" 304 0 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:32:16 +0200] "GET /bigdata/api/reporting/jobs/list?page=0 HTTP/1.1" 200 15529 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
192.177.111.21 - - [25/Jul/2018:14:32:16 +0200] "GET /bigdata/api/reporting/jobs/count HTTP/1.1" 200 37 "https://aaa.flightwatching.com/bigdata/app/kibana" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"

```

---

<div class="post-metadata">

**Author:** ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)\
**Post date:** [July 26, 2018, 7:43am UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/6 "2018-07-26T07:43:55Z")

</div>

Hello, I am really stucked.

Does it ring any bell to anyone from ES?

---

<div class="post-metadata">

**Author:** ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)\
**Post date:** [July 30, 2018, 7:02pm UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/7 "2018-07-30T19:02:11Z")

</div>

Hello, I assume nobody gets the problem. Does someone can help me sending some how to on reporting setup behind a reverse proxy with a specific URL path to access kibana?

regards

---

<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:** [August 27, 2018, 7:02pm UTC](https://discuss.elastic.co/t/6-2-2-reporting-max-attempts-reached-issue/141221/8 "2018-08-27T19:02:12Z")

</div>

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