-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Address of proxy host is not set correctly in output of 'teleport status' or SSH_SESSION_WEBPROXY_ADDR environment variable #3217
Comments
Related to < proxyhost > |
If you run |
Also, if using Teleport Cloud the |
This is still not working.
|
Still not working, although the session URL has now changed...
|
I have another customer facing the same.
|
Nodes do not have permissions to query proxy resources so they can't fetch proxy advertise address. We can add this information to auth server's ping endpoint instead and have the nodes query it this way. |
What happened: When logging into a server via
tsh
and runningteleport status
, the proxy host address is not set correctly - it appears as<proxyhost>:3080
(which appears to be the default value) instead ofexample.gravitational.co:3080
:This issue means that sharing the link to join the session with other users will not work as intended.
The
SSH_SESSION_WEBPROXY_ADDR
is also set incorrectly:The Teleport config file does specify the correct
public_addr
for the cluster:What you expected to happen: Both the output of
teleport status
and theSSH_SESSION_WEBPROXY_ADDR
environment variable should contain the correct hostname to access the proxy.How to reproduce it (as minimally and precisely as possible): Set up a Teleport cluster using a similar config to that shown here, log into a host and see that that the output of
teleport status
is not set correctly.Environment:
teleport version
):Teleport Enterprise v4.1.2git:v4.1.2-0-g7886df10 go1.12.1
tsh version
):Teleport v4.1.4 git:v4.1.4-0-gc487a75c go1.13.2
Fedora 30
The text was updated successfully, but these errors were encountered: