pingcap / pingcap/tidb

Using AWS NLB with Proxy Protocol with TiDB server will hang.

Open
#36,312 0 comments 0 reactions 1 assignee Claimed by @hawkingrei View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.