redlsz opened a new issue, #7391:
URL: https://github.com/apache/rocketmq/issues/7391

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   macOS / centos
   
   ### RocketMQ version
   
   broker -- develop
   rocketmq-clients -- master
   
   ### JDK Version
   
   JDK 8
   
   ### Describe the Bug
   
   When proxy enable acl but the gRPC client doesn't set SessionCredentials, 
the client will start failed with INTERNAL error. And an NullPointerException 
will be thrown at proxy.
   
   client
   <img width="1537" alt="image" 
src="https://github.com/apache/rocketmq/assets/103550934/f69e27ab-0b81-4b93-a8e4-3b4e5daf46b4";>
   
   
   proxy
   <img width="1224" alt="image" 
src="https://github.com/apache/rocketmq/assets/103550934/4b36b952-76a2-4dc5-ae5f-f7ca939f5045";>
   
   
   ### Steps to Reproduce
   
   1. proxy enable acl (enableACL=true)
   2. statrt gRPC client with no SessionCredentialsProvider set
   
   ### What Did You Expect to See?
   
   failed with status PERMISSION_DENIED
   
   ### What Did You See Instead?
   
   status INTERNAL
   
   ### Additional Context
   
   _No response_


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to