Nacos 3.3.0 Client 鉴权默认开:无凭证拉配置直接 403
Nacos 3.3.0 起 Client API 鉴权默认 true。官方镜像不设 NACOS_AUTH_ENABLE 时 application.properties 已是 true。Spring Boot 4.1.2 + nacos-client 3.3.0 无凭证 getConfig 回 403/401,带凭证可读到配置;临时 NACOS_AUTH_ENABLE=false 后无凭证又能读。
围绕 nacos 的技术文章与经验分享。
共 2 篇文章Nacos 3.3.0 起 Client API 鉴权默认 true。官方镜像不设 NACOS_AUTH_ENABLE 时 application.properties 已是 true。Spring Boot 4.1.2 + nacos-client 3.3.0 无凭证 getConfig 回 403/401,带凭证可读到配置;临时 NACOS_AUTH_ENABLE=false 后无凭证又能读。
Nacos 2.5.5 起 HTTP 主动健康检查 path 须为相对 URI;绝对 URL 与 Content-Length 头在 PUT /nacos/v1/ns/cluster 回 400。2.5.4 同请求仍 ok。Boot 4.1.2 RestClient 对照一致。