leizhiyuan commented on code in PR #7862: URL: https://github.com/apache/rocketmq/pull/7862#discussion_r1508403360
########## proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java: ########## @@ -220,10 +227,14 @@ private class TlsModeHandler extends ByteToMessageDecoder { private final ChannelHandler plaintext; public TlsModeHandler(GrpcHttp2ConnectionHandler grpcHandler) { - this.ssl = InternalProtocolNegotiators.serverTls(sslContext) + if (sslContext == null) { + this.ssl = null; Review Comment: close with **-Dtls.enable=false** <img width="1008" alt="image" src="https://github.com/apache/rocketmq/assets/2684384/0d881473-a02e-4e8d-adee-f0124e7f1663"> demo test ok with client enableSsl=false <img width="992" alt="image" src="https://github.com/apache/rocketmq/assets/2684384/052722f6-886e-46e1-b995-85d2b74b8fcc"> -- 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: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org