Hi,
I encounter a problem with the API key management in Kibana.
The page behind Stack Management -> Security -> API keys does not load. After some time it displays "Could not load API keys."
Under technical details is a "proxy error".
I tried to directly call the API endpoint /_security/api_key in the developer console but get this response:
{
"statusCode": 502,
"error": "Bad Gateway",
"message": "Client request timeout"
}
When I search in the Kibana logfiles I only find one mention of api_key:
grep -e "api_key" /var/log/kibana/kibana.log
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-01-18T05:17:30.983+01:00","message":"Failed to mark Task alerts_invalidate_api_keys \"Alerts-alerts_invalidate_api_keys\" as running: Request timed out","log":{"level":"ERROR","logger":"plugins.taskManager"},"process":{"pid":23200},"trace":{"id":"20fb114172fcef1bf344bc14f8f1dd25"},"transaction":{"id":"092958f692f4f72b"}}
It is some time ago I was on the API key page so I can't tell the version, it broke. Currently we run 8.12.0.
Has anyone an idea, what's going wrong?