apache / apache/dubbo-admin

Why can't I read the meta information of nacos

Open
#969 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.1k
Forks
2.2k
Avg merge
10d 12h
Merged PRs (30d)
4

Description

I can get the meta information through the nacos api for the same parameters,But after debugging, I found that calling ClientWork.queryConfig in Dubbo admin and always returns "config data not exist,error code:300". Please tell me where the configuration is wrong,Thx!

### Environment

* Dubbo Admin version: 0.5.0
* Registry center detail (type and version): Nacos:2.2.0 deployed on linux
* Operating System version: window
* Java version: openjdk 11.0.12

### Steps to reproduce this issue

1. use nacos api i can get the meta info
![image](https://user-images.githubusercontent.com/31592776/218507151-2e7b6791-88a2-42c6-b0d4-0b4523497076.png)
2. dubbo-admin can't get it
![image](https://user-images.githubusercontent.com/31592776/218507594-e07e5b10-86b6-48e5-9c2a-8ad6e4200721.png)
![image](https://user-images.githubusercontent.com/31592776/218507733-0e383168-9d83-43c5-b0cb-56dbe8f604ad.png)
![image](https://user-images.githubusercontent.com/31592776/218507877-3822a8e5-cde9-4eaa-bcba-b3e4a40cd464.png)

Contributor guide

Open the contributing guide

Research direction

Start at the ClientWork.queryConfig call in Dubbo Admin 0.5.0 and compare its request parameters with the successful Nacos 2.2.0 API request shown in the screenshots. Confirm the behavior on the listed Windows and Java 11 environment; done means the metadata query no longer returns error code 300 for the same parameters, with a regression check if the relevant test location is found.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.