spring-cloud-alibaba icon indicating copy to clipboard operation
spring-cloud-alibaba copied to clipboard

spring cloud aliaba 2.2.6 版本 no provider

Open 008-2021 opened this issue 2 years ago • 11 comments

您好,我们项目中升级了spring cloud alibaba 版本; spring cloud alibaba.version= 2.2.6.RELEASE, spring boot.version=2.2.13.RELEASE, spring-cloud.version=Hoxton.SR12; 但是项目启动会报 no provider 的错误,但是启动后服务之间调用正常。 dubbo 配置如下: spring: profiles: test cloud: nacos: discovery: server-addr: 'address' enabled: true register-enabled: true config: username: nacos password: nacos

dubbo: scan: base-packages: cn.xxx.xxx.xxx consumer: check: false client: netty retries: 0 timeout: 8000 threadpool: fixed threads: 200 queues: 0 loadbalance: 'roundrobin' version: '1.0.0' protocol: name: dubbo port: 20802 client: netty server: netty serialization: hessian2 charset: utf-8 threadpool: fixed threads: 200 queues: 0 iothreads: 9 buffer: 8192 accepts: 1000 payload: 8388608 dispatcher: all registry: address: 'nacos://xxx.xxx.xxx:xx' cloud: subscribed-services: 'A-service,B-service' provider: timeout: 8000 # 配置负载均衡策略(轮询) loadbalance: roundrobin filter: 'logMonitorServiceFilter,retailExceptionFilter,-exception' version: '1.0.0' threadpool: fixed threads: 200

008-2021 avatar Aug 26 '21 15:08 008-2021

我们也遇到同样问题,但是项目启动会报 no provider 的错误,但是启动后服务之间调用正常。

zzwangxin avatar Aug 27 '21 02:08 zzwangxin

我们也遇到同样问题,但是项目启动会报 no provider 的错误,但是启动后服务之间调用正常。

我的没问题,我用的都是最新版的,一直没问题

LusiferCoder avatar Aug 31 '21 14:08 LusiferCoder

我也出现了一样的情况,报no provider。看了源码,临时解决的办法是:确保上一个服务在注册中心已经注册成功,再启动下一个服务。两个服务并行启动或间隔太短,后者收不到上一个服务的上线event通知。

KabourWu avatar Sep 16 '21 02:09 KabourWu

我也出现了一样的情况,报no provider。看了源码,临时解决的办法是:确保上一个服务在注册中心已经注册成功,再启动下一个服务。两个服务并行启动或间隔太短,后者收不到上一个服务的上线event通知。

我启动正常服务无法调用

haihaiya avatar Dec 15 '21 02:12 haihaiya

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

008-2021 avatar Dec 15 '21 02:12 008-2021

我们也遇到这个问题,现在解决了,写了个文章看看对大家有没帮助 https://blog.m2c.top/spring-cloud-alibaba-dubbo-no-provider.html

tnessn avatar Dec 15 '21 06:12 tnessn

我们也遇到这个问题,现在解决了,写了个文章看看对大家有没帮助 https://www.cnblogs.com/tnessn/p/spring_cloud_alibaba_no_provider.html 打不开啊

liuxinaction avatar Sep 22 '23 03:09 liuxinaction

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

008-2021 avatar Sep 22 '23 03:09 008-2021

我们也遇到这个问题,现在解决了,写了个文章看看对大家有没帮助 https://www.cnblogs.com/tnessn/p/spring_cloud_alibaba_no_provider.html 打不开啊

哦 我更新了url 这个问题还没好吗 https://blog.m2c.top/spring-cloud-alibaba-dubbo-no-provider.html

tnessn avatar Sep 22 '23 03:09 tnessn