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

写请求没有转发 http headers 导致 HTTP Basic access authentication 失败 #61

Open
TingxinLi opened this issue Dec 25, 2018 · 1 comment

Comments

@TingxinLi
Copy link

TingxinLi commented Dec 25, 2018

如果 Influxdb 开启了 authentication 的话,客户端就必须带上用户名和密码,如果用 HTTP Basic Authentication 的话就是带上 request header,而 influx-proxy 的 service/http.go 里面的 HandlerWrite 中是只取 req.Body 来进行重试的,这是不是意味着无法转发通过 HTTP Basic access authentication 的写请求?

@shell909090
Copy link
Owner

influx proxy的主要目标是对数据做分片,也就是说,backend的数据库performance顶不住要用多台。既然backend都顶不住了,也就不存在和别人混用,混合部署的问题了。你可以认为backend是专属的,或者说是独占的。那我就不明白为什么大家都想要auth需求呢,static ip filter就好了...

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

No branches or pull requests

2 participants