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

TiProxy reports ErrAddressFamilyMismatch when proxy-protocol is enabled #213

Closed
djshow832 opened this issue Feb 9, 2023 · 0 comments · Fixed by #219
Closed

TiProxy reports ErrAddressFamilyMismatch when proxy-protocol is enabled #213

djshow832 opened this issue Feb 9, 2023 · 0 comments · Fixed by #219

Comments

@djshow832
Copy link
Collaborator

djshow832 commented Feb 9, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Enable proxy-protocol on TiDB and TiProxy either in k8s or not
  2. Connect to TiProxy

2. What did you expect to see? (Required)

No error

3. What did you see instead (Required)

TiProxy reports address family between source and target mismatched
When writing proxy-protocol header to the backend, the source address is of type TCPAddr but the destination is of type oriRemoteAddr.

4. What is your version? (Required)

master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant