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

openAPI in nacos/v2/ns/client/* can't handle batch registered services #11843

Closed
KomachiSion opened this issue Mar 18, 2024 · 3 comments
Closed
Assignees
Labels
area/Naming contribution welcome kind/bug Category issues or prs related to bug.

Comments

@KomachiSion
Copy link
Collaborator

Describe the bug
If I register service with batch register, the openAPI in nacos/v2/ns/client/* like /nacos/v2/ns/client/publish/list?clientId= will return null ip, 0 port and null cluster

{
    "namespace": "public",
    "group": "DEFAULT_GROUP",
    "serviceName": "test",
    "registerInstance": {
        "ip": null,
        "port":0,
        "cluster":null
    }
}

Expected behavior
response right instance info in batch Instance

Actually behavior
return null info

How to Reproduce
Steps to reproduce the behavior:

  1. Register any batch instance by nacos-client.
  2. curl /nacos/v2/ns/client/publish/list?clientId= with your clientId.
  3. See the result with null ip.
@KomachiSion KomachiSion added contribution welcome kind/bug Category issues or prs related to bug. area/Naming labels Mar 18, 2024
@Daydreamer-ia
Copy link
Contributor

i will resolve it

@wxm155
Copy link

wxm155 commented Mar 21, 2024

i want to resolve it

@KomachiSion
Copy link
Collaborator Author

i want to resolve it

Sorry, the issue has been resolved by #11845

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Naming contribution welcome kind/bug Category issues or prs related to bug.
Projects
None yet
Development

No branches or pull requests

3 participants