gimmickj opened a new issue, #9855: URL: https://github.com/apache/rocketmq/issues/9855
### 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 # RecallMessage returns "operation is forbidden" error ## Environment - RocketMQ: 5.3.3 (Docker, Proxy mode) - Client: C# official client (.NET 8.0) ## Issue Testing the RecallMessage feature to cancel a delayed message, but getting error: ``` [response-code=50001] org.apache.rocketmq.proxy.common.ProxyException: recall failed, operation is forbidden ``` ## Test Code ```csharp // Send delayed message var message = new Message.Builder() .SetTopic("DelayTopic") .SetBody(Encoding.UTF8.GetBytes("Test")) .SetDeliveryTimestamp(DateTime.Now.AddMinutes(10)) .Build(); var sendReceipt = await producer.Send(message); Console.WriteLine($"Recall Handle: {sendReceipt.RecallHandle}"); // Try to recall - fails here var recallReceipt = await producer.RecallMessage("DelayTopic", sendReceipt.RecallHandle); ``` ## What I've Tried Added to `rmq-proxy.json`: ```json { "rocketMQClusterName": "DefaultCluster", "enableRecallMessage": true } ``` Still getting the same error after restart. ## Questions 1. Is RecallMessage supported in RocketMQ 5.3.3? 2. What's the correct configuration to enable it in Proxy mode? 3. The C# client has `RecallMessage()` method implemented - should the feature matrix be updated? The client code works fine and sends the request successfully. The issue seems to be server-side. ### RocketMQ version 5.33 ### JDK Version _No response_ ### Describe the Bug RecallMessage returns "operation is forbidden" error ### Steps to Reproduce RecallMessage returns "operation is forbidden" error ### What Did You Expect to See? The delayed message should be successfully recalled and not delivered to consumers ### What Did You See Instead? Error: [response-code=50001] org.apache.rocketmq.proxy.common.ProxyException: recall failed, operation is forbidden The RecallMessage request was sent successfully from the C# client, but the RocketMQ 5.3.3 Proxy rejected it with "operation is forbidden" error. ### 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]
