New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error registering kibana privileges with elasticsearch for kibana-.kibana - POST /_security/privilege hangs #98649
Comments
Pinging @elastic/es-security (Team:Security) |
@dlukyanov I haven't been able to reproduce this issue. I highly suspect that the problem is with a slow hardware resources. The default Kibana's request timeout is 30s. So the request to configure application privileges must be taking longer than 30s on your machine? |
i have 4gb memory and 4cpu. with kibana timeout it's clear. but the problem that i can't get response even in minutes with curl. |
tested it without docker - response is coming in 2 seconds. |
after setting
so, probably it's doing something but veeery slow when inside the docker... |
interesting. removing external drive mapping for we can close this issue. sorry for disturbing. |
I encountered the same error while connecting to Kibana for the first time (leading to a 504 Gateway Timeout). |
Elasticsearch Version
8.9.0
Installed Plugins
No response
Java Version
bundled
OS Version
Linux b3865cfa1be4 5.15.49-linuxkit-pr #1 SMP Thu May 25 07:17:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Problem Description
initial problem:
following the instruction to run elastic+kibana in docker
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_prepare_the_environment
however after startup kibana reports a lot of errors like:
error registering kibana privileges with elasticsearch for kibana-.kibana: request timed out
after debugging i minimized the steps to reproduce to following
Steps to Reproduce
create file
docker-compose.yaml
:create the folder
data_elasticsearch
with just one file body-502.json.gz (extract it)it's a real content kibana sends to elastic
now after starting elasticsearch try to call following command from elascticsearch container/terminal:
as a result curl just hangs
I believe it's a source of the issue
error registering kibana privileges with elasticsearch for kibana-.kibana
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: