You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/09/07 07:51:15 UTC

[GitHub] [rocketmq] yuz10 opened a new issue #3326: send trace fail if broker set tls.server.mode=enforcing

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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] leikang123 commented on issue #3326: send trace fail if broker set tls.server.mode=enforcing

Posted by GitBox <gi...@apache.org>.
leikang123 commented on issue #3326:
URL: https://github.com/apache/rocketmq/issues/3326#issuecomment-916786708


   What is the error message log?


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] yuz10 closed issue #3326: send trace fail if broker set tls.server.mode=enforcing

Posted by GitBox <gi...@apache.org>.
yuz10 closed issue #3326:
URL: https://github.com/apache/rocketmq/issues/3326


   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org