-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
BUG REPORT
- Please describe the issue you observed:
- What did you do (The steps to reproduce)?
first broker settls.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.
-
Please tell us about your environment:
-
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):