apache / apache/dubbo-spring-boot-project

重启服务消费者,会无法找到服务提供者

Open
#810 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.4k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

dubbo-spring-boot-starter 2.7.15
springboot 2.3.2.RELEASE
使用nacos 2.0.3作为注册中心

依次启动服务提供者和消费者,能正常调用,当重启服务消费者,调用会报无法找到服务提供者 org.apache.dubbo.rpc.RpcException: No provider available from registry xxxxx:80 for service ....... 再重启服务提供者,则恢复正常

配置
```
# Dubbo
dubbo:
scan:
# dubbo 服务扫描基准包
base-packages: com.xxxx.xxxx.item.service
# 协议
protocols:
# dubbo 协议
dubbo:
name: dubbo
port: -1
registry:
address: nacos://xxxxx:80/?username=nacos&password=nacos&namespace=${spring.profiles.active}&group=ARK_SAILOR
application:
qos-enable: false
logger: slf4j
consumer:
check: false
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the consumer restart scenario with the listed Dubbo, Spring Boot, and Nacos versions and configuration. Trace service discovery while the consumer restarts, then verify that the consumer can call the provider without restarting the provider; the payload names no source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.