Skip to content

[Bug] 403 error code when requesting nacos openapi #1292

@itaiit

Description

@itaiit
  • 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: develop
  • Registry center detail (type and version): nacos 2.5.0
  • Operating System version: macos 15.4.1
  • Java version: 17.0.9

Steps to reproduce this issue

Nacos is configured as our service registry with authentication credentials. The following error occurred during service initialization:

Image

Expected Result

The service started successfully with no errors.

Actual Result

The following error occurred during service initialization:

2025-04-18 16:32:51.037 ERROR 24150 --- [pool-7-thread-1] o.a.d.a.registry.nacos.NacosOpenapiUtil  :  [DUBBO] Error requesting nacos openapi, http://127.0.0.1:8848/nacos/v1/ns/service/subscribers?serviceName=demo-service&namespaceId=public&groupName=DEFAULT_GROUP, error code is 403, dubbo version: 3.2.5, current host: x.x.x.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions