[Bug] 403 error code when requesting nacos openapi

未关闭
#1,292 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 8 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
java
领域
backend

调研方向

首先使用 Nacos 2.5.0、身份验证凭据、Java 17 和 develop 版本复现服务初始化,然后检查错误中显示的 NacosOpenapiUtil 路径。当服务能够成功启动,且请求 Nacos openapi 端点时不再出现报告的 403 错误时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

  • 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
主要语言
Go
星标
4.1k
派生
2.2k
平均合并
6 天 2 小时
30 天内合并 PR
4

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/dubbo-admin 的其他 Issue

查看 apache/dubbo-admin 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。