Skip to content

Internal proxy cannot work as expected #5321

@rleungx

Description

@rleungx

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions