You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/12/24 20:42:26 UTC

[GitHub] [pulsar] jerrypeng opened a new pull request #9055: Return correct authz and auth errors from proxy to client

jerrypeng opened a new pull request #9055:
URL: https://github.com/apache/pulsar/pull/9055


   ### Motivation
   
   Currently, the proxy will bubble up all errors to the client as a "ServiceNotReady" error which gets translated to a "LookupError" on the client side.  This is not correct and precise error handling especially when the errors are auth and authz related.  Potential auth and authz errors will get hidden behind "LookupError"s returned to the client and the client will retry connecting since "LookupError"s are retryable even though there is no point in retrying to connect on auth and authz errors.
   
   ### Modifications
   
   Handle the errors more accurately in the proxy
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



[GitHub] [pulsar] jerrypeng merged pull request #9055: Return correct authz and auth errors from proxy to client

Posted by GitBox <gi...@apache.org>.
jerrypeng merged pull request #9055:
URL: https://github.com/apache/pulsar/pull/9055


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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