Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
seata服务端registry.conf配置:
eureka {
serviceUrl = "http://card:card@card-eureka:8761/eureka/"
application = "seata-server"
weight = "1"
}
客户端配置:
registry.conf配置
service {
transaction service group mapping
vgroupMapping.fsp_tx_group = "seata-server"
only support when registry.type=file, please don't set multiple addresses
Just paste your stack trace here!
Ⅲ. Describe what you expected to happen
客户端主要错误信息:
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
no available service 'seata-server' found, please make sure registry config correct
Ⅰ. Issue Description seata1.2.0 配置eureka,eureka没有设置密码的时候,客户端可以发现seata服务,当euraka设置密码的时候,seata可以注册到eureka,但是客户端发现不了seata服务 项目的架构:springcloud-eureka-feign-mybatis-seata
Ⅱ. Describe what happened If there is an exception, please attach the exception trace: seata服务端registry.conf配置: eureka { serviceUrl = "http://card:card@card-eureka:8761/eureka/" application = "seata-server" weight = "1" }
客户端配置: registry.conf配置 service {
transaction service group mapping
vgroupMapping.fsp_tx_group = "seata-server"
only support when registry.type=file, please don't set multiple addresses
degrade, current not support
enableDegrade = false
disable seata
disableGlobalTransaction = false } yml配置: spring: application: name: article-server cloud: alibaba: seata: tx-service-group: fsp_tx_group
Just paste your stack trace here! Ⅲ. Describe what you expected to happen 客户端主要错误信息: com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server no available service 'seata-server' found, please make sure registry config correct