spring-cloud-alibaba I test seata and nacos, error: no available service 'null' found, please make sure registry config correct

chhkpiq4  于 3个月前  发布在  Spring
关注(0)|答案(2)|浏览(83)
spring.application.name=storage-service
server.port=18082
spring.cloud.nacos.discovery.server-addr=localhost:8848

spring.datasource.name="storageDataSource"
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://192.168.1.161:3307/seata?useSSL=false&serverTimezone=UTC
spring.datasource.username=tangjin
spring.datasource.password=mullerkaka
spring.datasource.druid.max-active=20
spring.datasource.druid.min-idle=2
spring.datasource.druid.initial-size=2

seata.enabled=true
spring.cloud.alibaba.seata.tx-service-group=business-service
seata.service.vgroup-mapping.business-service=default
seata.service.grouplist.default=127.0.0.1:8091
seata.service.disable-global-transaction=false

# if use registry center
seata.registry.type=nacos
seata.registry.nacos.cluster=default
seata.registry.nacos.server-addr=localhost
### if use config center
seata.config.type=nacos
seata.config.nacos.server-addr=localhost
#seata.config.nacos.group=
#seata.config.nacos.namespace=

2020-04-29 11:48:57.871 ERROR 29016 --- [imeoutChecker_1] i.s.c.r.netty.NettyClientChannelManager : no available service 'null' found, please make sure registry config correct

but i can see regist success on nacos website

wribegjk

wribegjk1#

I found this problem in version 2.2.1

cbeh67ev

cbeh67ev2#

Try latest version of seata,the problem is the registry type can't be read.

相关问题