dxlance11 commented on issue #30:
URL: 
https://github.com/apache/incubator-seata-k8s/issues/30#issuecomment-2911888276

   使用apache/seata-server:2.3.0 版本,按照示例部署了单实例的集群。客户端报错。
   2025-05-27T17:45:17.283+08:00 ERROR 1 --- [eshMetadata_1_1] 
o.a.s.d.r.raft.RaftRegistryServiceImpl   : watch cluster node: 
seata-server-0.seata-server-cluster:7091, fail: 
seata-server-0.seata-server-cluster
   2025-05-27T17:45:17.283+08:00 ERROR 1 --- [eshMetadata_1_1] 
o.a.s.d.r.raft.RaftRegistryServiceImpl   : seata-server-0.seata-server-cluster
   
   org.apache.seata.common.exception.RetryableException: 
seata-server-0.seata-server-cluster
        at 
org.apache.seata.discovery.registry.raft.RaftRegistryServiceImpl.watch(RaftRegistryServiceImpl.java:331)
        at 
org.apache.seata.discovery.registry.raft.RaftRegistryServiceImpl.lambda$startQueryMetadata$0(RaftRegistryServiceImpl.java:177)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Unknown Source)
   Caused by: java.net.UnknownHostException: seata-server-0.seata-server-cluster
        at java.base/java.net.InetAddress$CachedLookup.get(Unknown Source)
        at java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown 
Source)
        at java.base/java.net.InetAddress.getAllByName0(Unknown Source)
        at java.base/java.net.InetAddress.getAllByName(Unknown Source)
        at 
org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
        at 
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
        at 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
        at 
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
        at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
        at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
        at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
        at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
        at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
        at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
        at 
org.apache.seata.common.util.HttpClientUtil.doPost(HttpClientUtil.java:105)
        at 
org.apache.seata.discovery.registry.raft.RaftRegistryServiceImpl.watch(RaftRegistryServiceImpl.java:317)
        ... 5 common frames omitted
   客户端配置:
   seata:
     tx-service-group: default_tx_group
     service:
       vgroup-mapping:
         default_tx_group: default
     registry:
       type: raft
       raft:
         server-addr: 
seata-server-0.seata-server-cluster.seata.svc.cluster.local:7091
         metadata-max-age-ms: 30000
         username: seata
         password: 123456
         tokenValidityInMilliseconds: 1740000


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to