Open r0mant opened 3 years ago
@tcsc Looks like this may be related to proxy auto-detection, could you take a look when you get a chance?
@tcsc Looks like this may be related to proxy auto-detection, could you take a look when you get a chance?
Also see this https://github.com/gravitational/teleport/issues/7634
Description
What happened:
If Teleport proxy presents an invalid certificate (in my case I was using ACME with LetsEncrypt staging environment),
tsh login
hangs for a while and eventually fails with a timeout error (I'm guessing because the default port 3080 is not open). Only when launched with -d flag it shows the actual x509 error. See the logs below.It works ok when
--insecure
flag is provided. Looks like it may be related to proxy auto-selection logic?What you expected to happen:
When getting a permanent error,
tsh login
should fail quicker and return the actual error.Reproduction Steps
As minimally and precisely as possible, describe step-by-step how to reproduce the problem.
tsh login
into it.Server Details
teleport version
): 7.0.0-beta.3Client Details
tsh version
): 7.0.0-beta.3Debug Logs