-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
SIGHUP of proxy results in TLS errors until original process exits. #6945
Comments
I've been unable to reproduce this... closing for now. |
Alright, I've just hit this again... |
The new failure mode on 8.1.1 is an initial connect() attempt is made and the client just hangs (can repro using curl/openssl). This results in a |
@espadolini I don't have the process logs for the latest issue on 8.1.1 but it should be easily reproducible by performing a SIGHUP on a proxy (running proxy and ssh services). If you're unable to reproduce this let me know and I can give you precise steps and/or reproduce in our dev environment. |
@espadolini Were you able to reproduce this? I wonder if 8.3.5 fixes this? If not, we can get more information on how to reproduce from @jdconti. |
Sorry about not following up! I've been able to reproduce the issue (in the current I'm currently figuring out what breaks with regards to existing connections if we close all listening sockets immediately - I believe that's ultimately the only correct solution however, as we shouldn't really mix and match services between old and new proxy (even if it somehow worked, which it currently doesn't). |
Description
What happened: In order to avoid interrupting sessions traversing the proxy we
systemctl reload teleport
regularly and have observed client connectivity/TLS issues until the process in graceful shutdown is terminated.What you expected to happen: Clients should only hit the newly forked teleport process and not the process in graceful shutdown which is waiting for client sessions to terminate.
Reproduction Steps
As minimally and precisely as possible, describe step-by-step how to reproduce the problem.
systemctl reload teleport
on proxycurl https://proxy:3080/webapi/ping
observe internal tls error messages or seetsh login
output in client section below, andcache is closed
errors in proxy logs.Server Details
teleport version
): Tested on 6.1.2 and 6.1.5/etc/os-release
):Client Details
tsh version
): 6.1.2 and 6.1.5Debug Logs
Unfortunately I don't have debug logs from the recent occurrences but will reproduce this today/tomorrow and update with some logs if necessary.
The text was updated successfully, but these errors were encountered: