Got error 503 in dev tool

Hi, im using ES, kibana, LS version 5.4.0. Im testing with xpack, setup ssl.
I got error 503 when use DEV_TOOL in kibana.
Another function and app in kibana is working well.

Here is my config in ES.

http.port: 9200
http.cors.allow-origin: "/.*/"
http.cors.enabled: true
http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type, Content-Length, Authorization
http.cors.allow-credentials: true

xpack.ssl.key: /etc/elasticsearch/x-pack/elastic-01.key
xpack.ssl.certificate: /etc/elasticsearch/x-pack/elastic-01.crt
xpack.ssl.certificate_authorities: [ "/etc/elasticsearch/x-pack/ca.crt" ]
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.enabled: true

What does your configuration look like in Kibana?

There was this issue, but that should have been resolved in 5.3 with #9823.

Are you self-signing the certificates?

Hi @tsmalley, here is my kibana config

server.port: 443
server.host: "my-ip"


server.name: "my.domain"
elasticsearch.url: "https://my-ip:9200"

kibana.defaultAppId: "dashboard"

elasticsearch.username: "elastic"
elasticsearch.password: "mypassword"

server.ssl.certificate: /etc/ssl/certs/server.crt
server.ssl.key: /etc/ssl/certs/server.key

elasticsearch.ssl.certificate: /etc/elasticsearch/x-pack/elastic-01.crt
elasticsearch.ssl.key: /etc/elasticsearch/x-pack/elastic-01.key

elasticsearch.ssl.certificateAuthorities: [ "/etc/elasticsearch/x-pack/ca.crt" ]

elasticsearch.ssl.verificationMode: none

xpack.security.encryptionKey: "my-encrykey"
xpack.reporting.encryptionKey: "my-encrykey"
xpack.reporting.queue.timeout: 300000
xpack.reporting.capture.timeout: 300000
tilemap:
  url: "https://tiles.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana"
  options:
    minZoom: 1
    maxZoom: 10
    attribution: "© [Elastic Tile Service](https://www.elastic.co/elastic-tile-service)" 

Are you self-signing the certificates?

Sure, i generated certificate follow guide https://www.elastic.co/guide/en/x-pack/current/ssl-tls.html

And ssl for kibana, i bought certificate from geotrust

anyone help me ? :frowning:

This was resolved in v5.4.1

There is the associated PR: https://github.com/elastic/kibana/pull/11700

1 Like

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