Closed averyzhujinbo closed 4 years ago
springcloud 版本: Hoxton.SR3 springboot 版本: 2.2.6 seata版本:1.3
springboot yml 客户端配置文件: seata: enabled: true application-id: ${spring.application.name} tx-service-group: my_test_tx_group enable-auto-data-source-proxy: true config: type: nacos nacos: namespace: serverAddr: 192.168.1.231:8848 group: SEATA_GROUP userName: "" password: "" registry: type: nacos nacos: application: seata-server server-addr: 192.168.1.231:8848 group: SEATA_GROUP namespace: userName: "" password: "" service: vgroup-mapping: my_test_tx_group: default enable-degrade: false disable-global-transaction: false
nacos 服务器配置(config.txt 裁剪了源码中没有用到的配置) 通过官网命令导入到nacos 服务器了:
service.vgroupMapping.my_test_tx_group=default store.mode=db store.db.datasource=druid store.db.dbType=mysql store.db.driverClassName=com.mysql.cj.jdbc.Driver store.db.url=jdbc:mysql://192.168.1.231:3307/seata?useUnicode=true store.db.user=root store.db.password=123456 store.db.minConn=5 store.db.maxConn=30 store.db.globalTable=global_table store.db.branchTable=branch_table store.db.queryLimit=100 store.db.lockTable=lock_table store.db.maxWait=5000
If there is an exception, please attach the exception trace:
Just paste your stack trace here!
异常信息:2020-07-28 17:07:11.365 ERROR 13949 --- [imeoutChecker_2] i.s.c.r.netty.NettyClientChannelManager : no available service 'default' found, please make sure registry config correct
Ⅰ. Issue Description
springcloud 版本: Hoxton.SR3 springboot 版本: 2.2.6 seata版本:1.3
springboot yml 客户端配置文件: seata: enabled: true application-id: ${spring.application.name} tx-service-group: my_test_tx_group enable-auto-data-source-proxy: true config: type: nacos nacos: namespace: serverAddr: 192.168.1.231:8848 group: SEATA_GROUP userName: "" password: "" registry: type: nacos nacos: application: seata-server server-addr: 192.168.1.231:8848 group: SEATA_GROUP namespace: userName: "" password: "" service: vgroup-mapping: my_test_tx_group: default enable-degrade: false disable-global-transaction: false
nacos 服务器配置(config.txt 裁剪了源码中没有用到的配置) 通过官网命令导入到nacos 服务器了:
service.vgroupMapping.my_test_tx_group=default store.mode=db store.db.datasource=druid store.db.dbType=mysql store.db.driverClassName=com.mysql.cj.jdbc.Driver store.db.url=jdbc:mysql://192.168.1.231:3307/seata?useUnicode=true store.db.user=root store.db.password=123456 store.db.minConn=5 store.db.maxConn=30 store.db.globalTable=global_table store.db.branchTable=branch_table store.db.queryLimit=100 store.db.lockTable=lock_table store.db.maxWait=5000
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment: