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

[FEATURE] Consul开启ACL后无法正常获取服务 #809

Closed
livebasic opened this issue Oct 29, 2019 · 3 comments · Fixed by #1276
Closed

[FEATURE] Consul开启ACL后无法正常获取服务 #809

livebasic opened this issue Oct 29, 2019 · 3 comments · Fixed by #1276
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@livebasic
Copy link

Consul开启ACL后,会要求调用的API都传X-Consul-Token才能正常返回和注册服务,框架内目前没有实现,虽然可以通过重写来实现,但建议增加配置,ACL的开启需求还是比较多的

@livebasic livebasic added the enhancement New feature or request label Oct 29, 2019
@huangzhhui
Copy link
Member

@livebasic 你可以来完成这个配置的功能吗?

@livebasic
Copy link
Author

@livebasic 你可以来完成这个配置的功能吗?

嗯,我尝试一下,到时候提个PR给你

@huangzhhui huangzhhui added the good first issue Good for newcomers label Nov 19, 2019
@daydaygo
Copy link
Member

Consul开启ACL后,会要求调用的API都传X-Consul-Token才能正常返回和注册服务,框架内目前没有实现,虽然可以通过重写来实现,但建议增加配置,ACL的开启需求还是比较多的

query 中添加 token 也可以解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants