Seata 1.3.0 ERROR i.s.c.r.n.NettyClientChannelManager -no available service 'null' found, please make sure registry config correct
根据个人经验,报这个错误是因为nacos里并没有同步seata的config导致的
配置文档:https://www.bookstack.cn/read/seata-1.3.0/4b2f4de4831acdf3.md
自行调整即可,
贴一下Debug时的文件路径:
io.seata:seata-all:1.3.0里
io.seata.core.rpc.netty.NettyClientChannelManager
io.seata.discovery.registry.nacos.NacosRegistryServiceImpl的lookup方法
附带Spring Cloud Alibaba 版本及其自身所适配的各组件对应版本(网址如下)
https://sca.aliyun.com/docs/2021/overview/version-explain/
Spring Cloud Alibaba Version | Sentinel Version | Nacos Version | RocketMQ Version | Dubbo Version | Seata Version |
---|---|---|---|---|---|
2021.0.6.0 | 1.8.6 | 2.2.0 | 4.9.4 | ~ | 1.6.1 |
2021.0.5.0 | 1.8.6 | 2.2.0 | 4.9.4 | ~ | 1.6.1 |
2021.0.4.0 | 1.8.5 | 2.0.4 | 4.9.4 | ~ | 1.5.2 |
2021.0.1.0 | 1.8.3 | 1.4.2 | 4.9.2 | ~ | 1.4.2 |
2021.1 or 2.2.5.RELEASE or 2.1.4.RELEASE or 2.0.4.RELEASE | 1.8.0 | 1.4.1 | 4.4.0 | 2.7.8 | 1.3.0 |