Using AWS NLB with Proxy Protocol with TiDB server will hang.
Open
severity/moderate
sig/sql-infra
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
1. Using AWS NLB and enable Proxy Protocol.
2. Set TiDB server as endpoint. And start TiDB server with `-proxy-protocol-networks "*"`
3. use mysql client connect to NLB address
### 2. What did you expect to see? (Required)
Mysql client should connect to TiDB server via NLB.
### 3. What did you see instead (Required)
Mysql client blocked until got timeout error.
### 4. What is your TiDB version? (Required)
Contributor guide
Assessment
This issue has not been assessed yet.