dubbo-admin icon indicating copy to clipboard operation
dubbo-admin copied to clipboard

dubbo-admin-0.0.4服务查询界面看不到应用级服务

Open childe-dragon opened this issue 4 years ago • 4 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the REAMDE of this repository and believe that this is not a duplicate.

Environment

  • Dubbo Admin version: 0.0.4
  • Registry center detail (type and version): nacos 2.0.3
  • Operating System version: win11
  • Java version: 11

Steps to reproduce this issue

  1. provider配置 dubbo.registry.address=nacos://127.0.0.1:8848?namespace=36f31d90-18a7-4138-940a-c3ef00078ed0 dubbo.registry.group=DEFAULT_GROUP dubbo.registry.simplified=false dubbo.metadata-report.address=nacos://127.0.0.1:8848?namespace=91eab0a1-2c05-4bd9-ab67-a6a3f2ba98f3 dubbo.metadata-report.group=DEFAULT_GROUP dubbo.application.register-mode=all dubbo.application.parameters[registry-type]=service

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

按理说dubbo-admin的服务查询界面应该可以看到应用级注册信息

Actual Result

实际上nacos服务列表里是有应用级和接口级的注册信息 但是dubbo-admin服务查询列表只有接口级注册信息没有应用级注册信息

If there is an exception, please attach the exception trace:

无异常

childe-dragon avatar Dec 24 '21 01:12 childe-dragon

检查一下配置,admin 的 namespace、group 需要和 dubbo 保持一致。

https://github.com/apache/dubbo-admin/blob/df24d399cc309e21f411ef8aebb8dc5606bc275c/dubbo-admin-server/src/main/resources/application.properties?_pjax=%23js-repo-pjax-container%2C%20div%5Bitemtype%3D%22http%3A%2F%2Fschema.org%2FSoftwareSourceCode%22%5D%20main%2C%20%5Bdata-pjax-container%5D#L23-L27

haoyann avatar Dec 27 '21 01:12 haoyann

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the REAMDE of this repository and believe that this is not a duplicate.

Environment

  • Dubbo Admin version: 0.0.4
  • Registry center detail (type and version): nacos 2.0.3
  • Operating System version: win11
  • Java version: 11

Steps to reproduce this issue

  1. provider配置 dubbo.registry.address=nacos://127.0.0.1:8848?namespace=36f31d90-18a7-4138-940a-c3ef00078ed0 dubbo.registry.group=DEFAULT_GROUP dubbo.registry.simplified=false dubbo.metadata-report.address=nacos://127.0.0.1:8848?namespace=91eab0a1-2c05-4bd9-ab67-a6a3f2ba98f3 dubbo.metadata-report.group=DEFAULT_GROUP dubbo.application.register-mode=all dubbo.application.parameters[registry-type]=service

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

按理说dubbo-admin的服务查询界面应该可以看到应用级注册信息

Actual Result

实际上nacos服务列表里是有应用级和接口级的注册信息 但是dubbo-admin服务查询列表只有接口级注册信息没有应用级注册信息

If there is an exception, please attach the exception trace:

无异常

请问有解决吗,我们也遇到了,只能显示接口级,不能显示应用级

lyyoung avatar Mar 25 '22 04:03 lyyoung

同样遇到了这个问题,group和namespace都加到URL中了, 请问有解决方案吗?

hongtongliang avatar Apr 02 '22 09:04 hongtongliang

同样遇到了这个问题,group和namespace都加到URL中了, 请问有解决方案吗?

如果url中group不是DEFAULT_GROUP, 则可能为dubbo-admin依赖的dubbo版本问题, org.apache.dubbo.registry.nacos.NacosServiceDiscovery默认传入了DEFAULT_GROUP作为group. dubbo-3.1已修复

SpicyQuark avatar Apr 13 '23 08:04 SpicyQuark