You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/08/31 06:42:12 UTC

[GitHub] gaodayue opened a new issue #6278: Unauthorized sql request returns 500 instead of 403

gaodayue opened a new issue #6278: Unauthorized sql request returns 500 instead of 403
URL: https://github.com/apache/incubator-druid/issues/6278
 
 
   Unauthorized sql request is expected to have 403 response status code, but got 500. PreResponseAuthorizationCheckFilter also lefts a warning.
   
   ```
   2018-08-31T14:36:24,622 WARN [qtp2081312334-180] org.eclipse.jetty.servlet.ServletHandler - /druid/v2/sql
   io.druid.java.util.common.ISE: Request's authorization check failed but status code was not 403.
           at io.druid.server.security.PreResponseAuthorizationCheckFilter.handleAuthorizationCheckError(PreResponseAuthorizationCheckFilter.java:158) ~[druid-server-0.12.1.jar:0.12.1]
           at io.druid.server.security.PreResponseAuthorizationCheckFilter.doFilter(PreResponseAuthorizationCheckFilter.java:99) ~[druid-server-0.12.1.jar:0.12.1]
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org