rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Bug] 5.x broker开启acl时,控台上重新发送消息错误

Open aligege123 opened this issue 8 months ago • 5 comments

Before Creating the Bug Report

  • [x] I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • [x] I have searched the GitHub Issues and GitHub 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

Windows 11

RocketMQ version

5.2.0

JDK Version

No response

Describe the Bug

Image

Steps to Reproduce

1.broker开启acl(acl1.0,不是新推出的2.0) 2.启动消费者,用dashboard发送一条消息并消费 3.在dashboard将消息查询出来后点击重新发送

What Did You Expect to See?

重新发送成功

What Did You See Instead?

org.apache.rocketmq.client.exception.MQClientException: CODE: 1 DESC: invoke consumer 10.208.62.32@102914 Exception: org.apache.rocketmq.acl.common.AclException: Check signature failed for accessKey=admin_user, org.apache.rocketmq.acl.plain.PlainPermissionManager.validate(PlainPermissionManager.java:629) For more information, please visit the url, https://rocketmq.apache.org/docs/bestPractice/06FAQ

Additional Context

从broker端debug看是因为broker将消息发送给客户端时又重新调用了acl初始化的RPCHookdoBeforeRequest

Image

但实际上将请求发送出去不用再验证自己发送的请求了

No response

aligege123 avatar May 08 '25 07:05 aligege123

 你好,已收到你的邮件!我尽快回复。    

JKAK47 avatar May 08 '25 07:05 JKAK47

@JKAK47 @aligege123 请问这个bug后面解决了吗? 谢谢

AnonymMan avatar Nov 11 '25 13:11 AnonymMan

现在还有这个bug啊,这都多久了,是开发人手不足的问题吗

wchbest avatar Nov 12 '25 08:11 wchbest

那现在测试的是5.3.2可以勉强使用

wchbest avatar Nov 12 '25 08:11 wchbest

那现在测试的是5.3.2可以勉强使用

@wchbest 目前我这里是dashboard 2.0.0配合rocketmq 5.3.2使用,除了dashboard的acl功能报错外,控台上重新发送消息错误目前是解决了

AnonymMan avatar Nov 14 '25 09:11 AnonymMan