AI1186780944 commented on issue #6015: URL: https://github.com/apache/rocketmq/issues/6015#issuecomment-1659538228
> > > > 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>` > >    > > 服务器是Ubuntu虚拟机搭建的。url是虚拟机IP:9876。在SpringCloud项目启动注册消费者Bean的时候,报的错误。 > > rocketmq 5.x 需要使用 proxy 的的方式启动。然后enableSsl=false, 加上对应的账户密码。就可以连接。 我使用的是Local模式启动的。并且日志显示proxy启动是成功的。就是没有使用账户和密码。这个账户和密码是必须的么?正常来说内网环境不是无需设置ACL么?  -- 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]
