Update forwarder.go

This commit is contained in:
Gus Luxton
2019-08-13 07:23:59 -03:00
committed by GitHub
parent 08902c5c2b
commit 55bf093fa6
+1 -1
View File
@@ -284,7 +284,7 @@ func (f *Forwarder) authenticate(req *http.Request) (*authContext, error) {
case auth.RemoteUser:
isRemoteUser = true
case auth.BuiltinRole:
f.Warningf("Denying proxy access to unauthenticated user of type %T - this can sometimes be caused by inadvertently sending Kubernetes traffic to the proxy's web port.", userTypeI)
f.Warningf("Denying proxy access to unauthenticated user of type %T - this can sometimes be caused by inadvertently using an HTTP load balancer instead of a TCP load balancer on the Kubernetes port.", userTypeI)
default:
f.Warningf("Denying proxy access to unsupported user type: %T.", userTypeI)
return nil, trace.AccessDenied(accessDeniedMsg)