-
Notifications
You must be signed in to change notification settings - Fork 767
Internal proxy cannot work as expected #5321
Copy link
Copy link
Closed
Labels
affects-5.0affects-5.1affects-5.2affects-5.3affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Metadata
Metadata
Assignees
Labels
affects-5.0affects-5.1affects-5.2affects-5.3affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
Viaheader 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