-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
tsh does not appear to respect HTTPS_PROXY #9072
Comments
@stevenGravy Can you provide reproduction steps? |
@programmerq has a detailed example here https://gist.github.com/programmerq/d053ae8acde4c7e467b44a32817750ef |
Confirmed TELEPORT is not honouring HTTPS_PROXY, this is causing some operational problems |
@r0mant is there anything left to be done for HTTPS_PROXY? |
My understanding is that this was supposed to be fixed by #10209, but I just tried Jeff's example from above on 12.0.2 and noticed an issue. When I don't specify the proxy port,
When I do specify the port, I am able to log in via the proxy:
@atburke is this the behavior you'd expect? |
the problem isn't clients logging in to a system, its teleport agents
calling out to teleport proxy servers, we often deploy systems into client
environments where the only way out is a proxy and teleport won't honour
the clients proxy settings
…On Mon, Feb 20, 2023 at 11:19 AM Zac Bergquist ***@***.***> wrote:
My understanding is that this was supposed to be fixed by #10209
<#10209>, but I just tried
Jeff's example from above on 12.0.2 and it's not working.
***@***.*** ~]# tsh -d login --user admin --proxy teleport --insecure
DEBU [TSH] Web proxy port was not set. Attempting to detect port number to use. tsh/tsh.go:3543
DEBU [TSH] Resolving default proxy port (insecure: true) tsh/resolve_default_addr.go:110
DEBU [TSH] Trying teleport:3080... tsh/resolve_default_addr.go:98
DEBU [TSH] Trying teleport:443... tsh/resolve_default_addr.go:98
DEBU [TSH] Proxy address test failed error:[Get "https://teleport:3080/webapi/ping": context deadline exceeded] tsh/resolve_default_addr.go:62
DEBU [TSH] Waiting for all in-flight proxy address tests to finish tsh/resolve_default_addr.go:136
DEBU [TSH] Proxy address test failed error:[Get "https://teleport:443/webapi/ping": context deadline exceeded] tsh/resolve_default_addr.go:62
ERROR REPORT:
Original Error: context.deadlineExceededError context deadline exceeded
Stack Trace:
github.com/gravitational/teleport/tool/tsh/tsh.go:3550 main.setClientWebProxyAddr
github.com/gravitational/teleport/tool/tsh/tsh.go:3224 main.makeClientForProxy
github.com/gravitational/teleport/tool/tsh/tsh.go:3116 main.makeClient
github.com/gravitational/teleport/tool/tsh/tsh.go:1496 main.onLogin
github.com/gravitational/teleport/tool/tsh/tsh.go:1086 main.Run
github.com/gravitational/teleport/tool/tsh/tsh.go:480 main.main
runtime/proc.go:250 runtime.main
runtime/asm_arm64.s:1172 runtime.goexit
User Message: context deadline exceeded
—
Reply to this email directly, view it on GitHub
<#9072 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZBQUXTI2O4XYMRFRDEZW3WYOKRNANCNFSM5ILBETZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This particular issue is specifically about tsh. |
When I cut my original ticket it was about the teleport agent and then my
request was closed and merged in with this one.
I have an enterprise support agreement. It has taken over a year to get
this reply.
…On Mon, Feb 20, 2023 at 1:33 PM Zac Bergquist ***@***.***> wrote:
This particular issue is specifically about tsh.
—
Reply to this email directly, view it on GitHub
<#9072 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZBQUSSJLSDBTXNHMNPLFTWYO2ITANCNFSM5ILBETZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No description provided.
The text was updated successfully, but these errors were encountered: