turnilo icon indicating copy to clipboard operation
turnilo copied to clipboard

problem with readiness endpoint with secured druid

Open wmeler opened this issue 2 years ago • 3 comments

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

wmeler avatar Feb 22 '22 14:02 wmeler

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

adrianmroz-allegro avatar Mar 02 '22 15:03 adrianmroz-allegro

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.

mkuthan avatar Mar 03 '22 09:03 mkuthan

thanks, we will try to follow that way

wmeler avatar Mar 03 '22 13:03 wmeler