Slackbot
10/11/2022, 2:46 PMSergio Ferragut
10/11/2022, 3:01 PMSergio Ferragut
10/11/2022, 3:02 PMFelipe Gonzalez
10/11/2022, 6:21 PMFelipe Gonzalez
10/11/2022, 6:21 PM/druid/v2/sql/task endpointSergio Ferragut
10/11/2022, 6:27 PMFelipe Gonzalez
10/11/2022, 6:28 PMFelipe Gonzalez
10/11/2022, 6:29 PMEXTERNAL clause that one can set, and I added it to all roles. Still, the same 403Felipe Gonzalez
10/11/2022, 6:29 PMSergio Ferragut
10/11/2022, 6:31 PMFelipe Gonzalez
10/11/2022, 6:41 PM/druid/v2/sql/task endpoint is returning the 403. It’s been a while since I added the EXTERNAL clause to all roless and it is still not working (the default cache life is 1 minute, so it looks like it isn’t a cache issue after all)Sergio Ferragut
10/11/2022, 6:58 PMGian Merlino
10/11/2022, 9:42 PMEXTERN? (You can try using a different already-existing datasource as input)Gian Merlino
10/11/2022, 9:43 PMLaksh Singla
10/12/2022, 6:01 AMFelipe Gonzalez
10/12/2022, 2:15 PMEXTERN , yep. It looks like it is definitely permission related, but I don’t really know what to check and what to change. Regarding roles and users, I added READ on EXTERNAL to all roles, and it still doesn’t work. I’m using the druid console to launch the query and I’m not really sure how to check the user executing the request, I don’t see an authorization header, just a cookie being used (I just know it is supposed to be an ADMIN, and the role has the permission).Gian Merlino
10/12/2022, 10:42 PMidentity will be logged, that'll give you some info on which user is running the queryFelipe Gonzalez
10/12/2022, 10:48 PMLaksh Singla
10/13/2022, 7:52 AMFelipe Gonzalez
10/13/2022, 1:16 PMGian Merlino
10/14/2022, 10:15 PMGian Merlino
10/14/2022, 10:17 PMidentity on the Broker logs is your best bet for getting to the bottom of this. It seems likely that the console user is different from the curl user, and the console user doesn't have the relevant permissions. You mentioned Imply, also: if you're an Imply customer you can file a support case and we can help you figure out what is going on in your specific environment