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

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

Open
wenlincheng opened this issue Feb 7, 2022 · 1 comment
Open

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

wenlincheng opened this issue Feb 7, 2022 · 1 comment

Comments

@wenlincheng
Copy link

wenlincheng commented Feb 7, 2022

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
@wenlincheng
Copy link
Author

dubbo-spring-boot-starter 2.7.15
springboot 2.3.2.RELEASE
使用nacos 1.4.1 作为注册中心 也存在同样问题

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

1 participant