-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Ingest Manager] POST /setup crashes Kibana with Unhandled Promise rejection #73997
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Looking at the network tab there was a |
My branch is at https://github.com/jfsiii/kibana/tree/73997-crash-on-setup-without-registry WIP. Just logging to help anyone else who's interested. Not sure why the |
@jfsiii Thanks for investigating. We should also try to get this into 7.9.0 or 7.9.1 to make sure in case a 7.9 registry is not available one day, KB does not crash. |
I found a fix jfsiii@39f6320 and will now clean up the a few cURL calls to POST /setup which fail w/
|
Steps to reproduce
xpack.ingestManager.registryUrl
flag to set it to an "bad" address or something like browser or networks tools to block traffic to https://epr.elastic.co/yarn es snapshot --license=trial -E xpack.security.authc.api_key.enabled=true
yarn start --no-base-path --xpack.ingestManager.enabled=true --xpack.ingestManager.registryUrl=http://localhost:9999
curl -X POST 'http://localhost:5601/api/ingest_manager/setup' -H 'kbn-xsrf: <string>' --user elastic:changeme
Notes
Not all Ingest UI routes/views were crashing. Other EPM API requests seem to work as expected before opening UI
The text was updated successfully, but these errors were encountered: