Skip to content
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: request "null"api key while enrolling new agent #63830

Closed
mtojek opened this issue Apr 17, 2020 · 2 comments · Fixed by #64595
Closed

Ingest Manager: request "null"api key while enrolling new agent #63830

mtojek opened this issue Apr 17, 2020 · 2 comments · Fixed by #64595
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Ingest Management:alpha1 Group issues for ingest management alpha1 Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@mtojek
Copy link
Contributor

mtojek commented Apr 17, 2020

I want to enroll a new agent. I click at the button "Enroll new agent". HTTP request for "null" is triggered (HTTP 404).

Request URL: http://localhost:5601/api/ingest_manager/fleet/enrollment-api-keys/null
Request Method: GET
Status Code: 404 Not Found
@mtojek mtojek added the Team:Fleet Team label for Observability Data Collection Fleet team label Apr 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@ruflin ruflin added bug Fixes for quality problems that affect the customer experience Ingest Management:alpha1 Group issues for ingest management alpha1 labels Apr 23, 2020
@fearful-symmetry
Copy link

fearful-symmetry commented Apr 24, 2020

Also running into this. When you select enroll new agent it hits that endpoint:

http://buzzard.nest:5601/api/ingest_manager/fleet/enrollment-api-keys/null

which returns a 404 with:

{"statusCode":404,"error":"Not Found","message":"EnrollmentAPIKey null not found"}`

In the New Agent Dialogue, entering data and hitting Continue closes the pop-up, with no further requests to the backend.

I modified the query to just hit http://buzzard.nest:5601/api/ingest_manager/fleet/enrollment-api-keys and that returns a 200:

{"list":[],"success":true,"total":0,"page":1,"perPage":20}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Ingest Management:alpha1 Group issues for ingest management alpha1 Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants