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

Internal proxy cannot work as expected #5321

Closed
rleungx opened this issue Jul 18, 2022 · 0 comments · Fixed by #5326
Closed

Internal proxy cannot work as expected #5321

rleungx opened this issue Jul 18, 2022 · 0 comments · Fixed by #5326

Comments

@rleungx
Copy link
Member

rleungx commented Jul 18, 2022

Bug Report

What did you do?

Add an external load balancer above PD and enable the internal proxy.

What did you expect to see?

The internal proxy can work.

What did you see instead?

Return 508 error.

Because we check if Via header is existed to prevent the loop, but the external proxy maybe already have this header. Once the request is sent to the PD follower, it will be rejected due to the check.

What version of PD are you using (pd-server -V)?

master

ti-chi-bot pushed a commit that referenced this issue Jul 27, 2022
…5326) (#5365)

close #5321, ref #5326

Signed-off-by: HunDunDM <hundundm@gmail.com>
ti-chi-bot added a commit that referenced this issue Sep 20, 2022
…5326) (#5357)

close #5321, ref #5326

Signed-off-by: HunDunDM <hundundm@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: HunDunDM <hundundm@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot added a commit that referenced this issue Sep 20, 2022
…5326) (#5345)

close #5321, ref #5326

Signed-off-by: HunDunDM <hundundm@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: HunDunDM <hundundm@gmail.com>
Co-authored-by: ShuNing <nolouch@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot added a commit that referenced this issue Sep 20, 2022
…5326) (#5356)

close #5321, ref #5326

Signed-off-by: HunDunDM <hundundm@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: HunDunDM <hundundm@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot added a commit that referenced this issue Sep 20, 2022
…5326) (#5355)

close #5321, ref #5326

Signed-off-by: HunDunDM <hundundm@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: HunDunDM <hundundm@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot added a commit that referenced this issue Sep 20, 2022
…5326) (#5354)

close #5321, ref #5326

Signed-off-by: HunDunDM <hundundm@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: HunDunDM <hundundm@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot added a commit that referenced this issue Sep 20, 2022
…5326) (#5353)

close #5321, ref #5326

Signed-off-by: HunDunDM <hundundm@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: HunDunDM <hundundm@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants