Got error 503 in dev tool


(Tat Dat Pham) #1

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

(Tyler Smalley) #2

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?


(Tat Dat Pham) #3

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


(Tat Dat Pham) #4

anyone help me ? :frowning:


(Tyler Smalley) #5

This was resolved in v5.4.1


(Tyler Smalley) #6

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


(system) #7

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