AI1186780944 commented on issue #6015:
URL: https://github.com/apache/rocketmq/issues/6015#issuecomment-1658647293

   > > Is there some advice ? I have the problem too.
   > 
   > @jiangyklala This issue is actually caused by SSL compatibility problems 
on some Windows platforms. Please disable ssl by 
`ClientConfigurationBuilder#enableSsl(false)`.
   > 
   > Here is the [related 
link](https://github.com/apache/rocketmq-clients/blob/master/java/client-apis/src/main/java/org/apache/rocketmq/client/apis/ClientConfigurationBuilder.java#:~:text=ClientConfigurationBuilder-,enableSsl,-()).
   
   按照你的解决方案进行了处理,但是错误变成了”UNAVAILABLE: Network closed for unknown 
reason“。如果不设置enableSsl=false,这错误是”UNAVAILABLE: Failed ALPN negotiation: Unable 
to find compatible protocol“。
   SDK版本是rocketmq-client-java 5.0.5。服务器端是5.1.3的。
   `<dependency>
               <groupId>org.apache.rocketmq</groupId>
               <artifactId>rocketmq-client-java</artifactId>
               <version>5.0.5</version>
           </dependency>`
   
   
![image](https://github.com/apache/rocketmq/assets/40418583/6a08f492-efbd-40a4-87b9-1cb8c164c12e)
   
![image](https://github.com/apache/rocketmq/assets/40418583/7842a56d-c9da-4ad3-af27-2110c7e0f8d1)
   


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