yuz10 opened a new issue #3326:
URL: https://github.com/apache/rocketmq/issues/3326


   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
     
   - What did you do (The steps to reproduce)?
    first broker set    `tls.server.mode=enforcing` to enable TLS mode, and 
plain-text requests are forbidden.
    and then procuder and consumer set tracing on
   
   ```
           DefaultMQProducer producer = new 
DefaultMQProducer("ProducerGroupName",true);
           producer.setNamesrvAddr("xxx:9876");
           producer.setUseTLS(true);
           producer.start();
           Message msg = new Message("TopicTest1",
                           "TagA",
                           "OrderID188",
                           "Hello 
world".getBytes(RemotingHelper.DEFAULT_CHARSET));
          SendResult sendResult = producer.send(msg);
          System.out.printf("%s%n", sendResult);
          producer.shutdown();
   ```
   
   
   - What did you expect to see?
      message trace is sent normally using TLS mode.
   
   - What did you see instead?
       message trace is sent fail, TLS mode of trace producer is off.
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   
   


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