[x] I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
使用Raft模式部署 seata,客户端启动的时候报错 no available service found in cluster.
我想知道为何对于 HttpClientUtil.doGet("http://" + tcAddress + "/metadata/v1/cluster", param, header, 1000) 这个请求服务端无法做出响应,我的 tcAddress=myIp:9091
Ⅱ. Describe what happened
客户端代码截图
Caused by: org.apache.seata.common.exception.FrameworkException: no available service found in cluster.
at org.apache.seata.core.rpc.netty.NettyClientChannelManager.throwFailFastException(NettyClientChannelManager.java:336)
at org.apache.seata.core.rpc.netty.NettyClientChannelManager.doReconnect(NettyClientChannelManager.java:208)
at org.apache.seata.core.rpc.netty.NettyClientChannelManager.initReconnect(NettyClientChannelManager.java:176)
at org.apache.seata.core.rpc.netty.TmNettyRemotingClient.initConnection(TmNettyRemotingClient.java:291)
at org.apache.seata.core.rpc.netty.TmNettyRemotingClient.init(TmNettyRemotingClient.java:191)
at org.apache.seata.tm.TMClient.init(TMClient.java:47)
at org.apache.seata.spring.annotation.GlobalTransactionScanner.initClient(GlobalTransactionScanner.java:247)
at org.apache.seata.spring.annotation.GlobalTransactionScanner.afterPropertiesSet(GlobalTransactionScanner.java:495)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802)
... 16 common frames omitted
Ⅰ. Issue Description
使用Raft模式部署 seata,客户端启动的时候报错
no available service found in cluster.
我想知道为何对于HttpClientUtil.doGet("http://" + tcAddress + "/metadata/v1/cluster", param, header, 1000)
这个请求服务端无法做出响应,我的tcAddress=myIp:9091
Ⅱ. Describe what happened
客户端代码截图
server端日志
Ⅲ. Describe what you expected to happen
Seata 客户端可以正常链接
Ⅳ. How to reproduce it (as minimally and precisely as possible)
客户端配置如下
服务端配置如下
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
Client
com.alibaba.cloud:spring-cloud-starter-alibaba-seata:2023.0.1.3
org.apache.seata:seata-spring-boot-starter:2.2.0
org.apache.httpcomponents:httpclient:4.5.14
JDK 17
Server
apache/seata-server:2.2.0