apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.45k stars 26.42k forks source link

[Bug] The Nacos console[serviceManagement] does not display the Dubbo service list #14784

Open rickiehsu opened 3 days ago

rickiehsu commented 3 days ago

Pre-check

Search before asking

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Environment: Dubbo 3.2.16 , Java 17, Centos 7

Steps to reproduce this issue

  1. dubbo.properties

dubbo.registry.address=nacos://127.0.0.1:8848 dubbo.registry.parameters.namespace=abc dubbo.registry.group=dubbo dubbo.registry.username=nacos dubbo.registry.password=nacos

  1. applicationContext.xml

    <dubbo:registry id="dubboRegistryService" address="${dubbo.registry.address}" timeout="${dubbo.registry.timeout}" group="${dubbo.registry.group:dubbo}" username="${dubbo.registry.username:#{null}}" password="${dubbo.registry.password:#{null}}">

    </dubbo:registry>

  2. nacos console Service List

    image

  3. nacos console Configuration Management

    image

What you expected to happen

The Nacos console displays the list of registered services.

Anything else

No response

Are you willing to submit a pull request to fix on your own?

Code of Conduct

wcy666103 commented 3 days ago

It looks like you're only configuring registry without explicitly configcenter.

nacos versions are not compatible with each other, make sure the version is correct

Is there a log about registry in the console of dubbo app?