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

   > > > 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://user-images.githubusercontent.com/40418583/257275330-6a08f492-efbd-40a4-87b9-1cb8c164c12e.png)
 
![image](https://user-images.githubusercontent.com/40418583/257275541-7842a56d-c9da-4ad3-af27-2110c7e0f8d1.png)
 
![image](https://user-images.githubusercontent.com/40418583/257279534-8a8c008b-6067-472f-a924-f949fcbaf08d.png)
   > 
   > 服务器是Ubuntu虚拟机搭建的。url是虚拟机IP:9876。在SpringCloud项目启动注册消费者Bean的时候,报的错误。
   
   rocketmq 5.x 需要使用 proxy 的的方式启动。然后enableSsl=false, 加上对应的账户密码。就可以连接。


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