-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
tls inspector makes mysql connection using tcp proxy timeout #21044
Comments
This case is the motivation of You can disable tls_inspector using |
I hadn't noticed the |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions. |
@lambdai @alyssawilk - if you have a TCP tunneling usecase for mysql ( client -> envoy -> squid -> database ) where the tunneling_config depends on TLS inspector being present ( requested_server_name ) - is there a way to make this work still ? |
it definitely works without tls_inspector but in that case I had to use %DOWNSTREAM_LOCAL_ADDRESS% in my tunneling_config to make this work. But would be nicer to get it to work with the |
Hi, this is my first issue on envoy!
I am using envoy as a sidecar transparent proxy and I have set up a rule that adds an
envoy.filters.network.tcp_proxy
that allows a container running a mysql client in the pod to access a mysql server. I was also using this listener for outgoing HTTP connections using HCM, and now a change in requirements requires me to have the tls inspector filter enabled on this listener.After making the configuration changes we discovered that the outgoing mysql connections that we previously had were not working correctly:
This is an extract of a mini-lab (using envoy 1.22) we used to isolate the problem. We discovered a timeout after 15000ms on the mysql connection. This timeout does not occur if the tls inspector listener filter is not used.
I looked around for any similar issues and found a few:
In this last issue, the problem was that mysql starts sending data to the client first. It seems to me that this is what's happening here, or something similar.
Simplified config that reproduces this:
I'm creating this as a bug, but the thing is, I'm not sure if tls inspector should be working for this particular use case or not...Any input is appreciated, thanks.
The text was updated successfully, but these errors were encountered: