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

problem with readiness endpoint with secured druid #847

Open
wmeler opened this issue Feb 22, 2022 · 3 comments
Open

problem with readiness endpoint with secured druid #847

wmeler opened this issue Feb 22, 2022 · 3 comments

Comments

@wmeler
Copy link
Contributor

wmeler commented Feb 22, 2022

Readiness endpoint seams not to use registered request decorator and fails to access druid cluster.
We get connection error: 401 - error:"Unauthorized request."

@adrianmroz-allegro
Copy link
Contributor

@mkuthan we have /loadstatus open in our Druid so we don't add authorisation to readiness endpoint. Is our approach universal?

@mkuthan
Copy link
Member

mkuthan commented Mar 3, 2022

Sorry for the late reply. We use the following Druid cluster settings:

druid.auth.allowUnauthenticatedHttpOptions=true
druid.auth.unsecuredPaths=["/status", "/druid/broker/v1/loadstatus", "/druid/historical/v1/loadstatus"]

@wmeler - Could you apply similar approach? It seems to be more general, e.g we also have load balancer for the Druid cluster services - with the unsecured paths for the status endpoints the configuration is much easier.

@wmeler
Copy link
Contributor Author

wmeler commented Mar 3, 2022

thanks, we will try to follow that way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants