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

添加自定义健康检查地址时:403 resource name invalid! #3005

Closed
xingwl2018 opened this issue Jun 9, 2020 · 2 comments
Closed

添加自定义健康检查地址时:403 resource name invalid! #3005

xingwl2018 opened this issue Jun 9, 2020 · 2 comments
Assignees
Milestone

Comments

@xingwl2018
Copy link

@xingwl2018 xingwl2018 commented Jun 9, 2020

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

添加异常:

error: "Forbidden"
message: "resource name invalid!"
path: "/nacos/v1/ns/cluster"
status: 403
timestamp: "2020-06-09T10:27:45.536+0000"

Describe what you expected to happen

request url : ip:port/nacos/v1/ns/cluster?&accessToken=xxx

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

nacos-server 1.3.0

Anything else we need to know?

image

@KomachiSion
Copy link
Collaborator

@KomachiSion KomachiSion commented Jun 9, 2020

Please close the auth and retry, I will try to find out and fix this problem.

Loading

@KomachiSion KomachiSion self-assigned this Jun 9, 2020
@xingwl2018
Copy link
Author

@xingwl2018 xingwl2018 commented Jun 10, 2020

image
After the authentication is turned off, it can be added successfully. However, if the port is not assigned correctly, it is still port 80. And it seems that the health examination method will not take effect after it is modified

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants