Skip to content
Discussion options

You must be logged in to vote

Your issue is that you're using a layer 7 reverse proxy, but tsh is not correctly detecting that it needs to use websockets for its transport.

Try this login command and it should work:

TELEPORT_TLS_ROUTING_CONN_UPGRADE=true tsh login --proxy=teleport.test.local:443 --auth=local --user=admin teleport.test.local

More information about layer 7 TLS routing here: https://goteleport.com/docs/reference/architecture/tls-routing/#working-with-layer-7-load-balancers-or-reverse-proxies

You don't need the additional ingress or to handle anything specially for *.teleport.cluster.local, the websocket wrapping will handle all of this for you. You should also remove the nginx.ingress.kubernetes.io/ssl-…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@midnight47
Comment options

Answer selected by midnight47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #54336 on April 27, 2025 14:45.