Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spring cloud aliaba 2.2.6 版本 no provider #2228

Open
008-2021 opened this issue Aug 26, 2021 · 23 comments
Open

spring cloud aliaba 2.2.6 版本 no provider #2228

008-2021 opened this issue Aug 26, 2021 · 23 comments

Comments

@008-2021
Copy link

您好,我们项目中升级了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

@zzwangxin
Copy link

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

@LusiferCoder
Copy link

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

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

@KabourWu
Copy link

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

@haihaiya
Copy link

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

我启动正常服务无法调用

@008-2021
Copy link
Author

008-2021 commented Dec 15, 2021 via email

@tnessn
Copy link

tnessn commented Dec 15, 2021

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

@liuxinaction
Copy link

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

@008-2021
Copy link
Author

008-2021 commented Sep 22, 2023 via email

@tnessn
Copy link

tnessn commented Sep 22, 2023

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

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

Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Jun 18, 2024
@008-2021
Copy link
Author

008-2021 commented Jun 18, 2024 via email

@github-actions github-actions bot removed the stale label Jun 22, 2024
Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Jul 22, 2024
@008-2021
Copy link
Author

008-2021 commented Jul 22, 2024 via email

@github-actions github-actions bot removed the stale label Jul 23, 2024
Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Aug 22, 2024
@008-2021
Copy link
Author

008-2021 commented Aug 22, 2024 via email

@github-actions github-actions bot removed the stale label Aug 23, 2024
Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Sep 23, 2024
@008-2021
Copy link
Author

008-2021 commented Sep 23, 2024 via email

@github-actions github-actions bot removed the stale label Sep 27, 2024
Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Oct 29, 2024
@008-2021
Copy link
Author

008-2021 commented Oct 29, 2024 via email

@github-actions github-actions bot removed the stale label Oct 31, 2024
Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Nov 30, 2024
@008-2021
Copy link
Author

008-2021 commented Nov 30, 2024 via email

@github-actions github-actions bot removed the stale label Dec 2, 2024
Copy link

github-actions bot commented Jan 2, 2025

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Jan 2, 2025
@008-2021
Copy link
Author

008-2021 commented Jan 2, 2025 via email

@github-actions github-actions bot removed the stale label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants