mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
Improve log message when we fail to retrieve the client cert pool (#13585)
This commit is contained in:
parent
8f5382f40d
commit
ca520999c1
|
@ -292,7 +292,8 @@ func (t *TLSServer) GetConfigForClient(info *tls.ClientHelloInfo) (*tls.Config,
|
|||
if clusterName, err := t.cfg.AccessPoint.GetClusterName(); err == nil {
|
||||
ourClusterName = clusterName.GetClusterName()
|
||||
}
|
||||
t.log.Errorf("Failed to retrieve client pool. Client cluster %v, target cluster %v, error: %v.", clusterName, ourClusterName, trace.DebugReport(err))
|
||||
t.log.Errorf("Failed to retrieve client pool for client %v, client cluster %v, target cluster %v, error: %v.",
|
||||
info.Conn.RemoteAddr().String(), clusterName, ourClusterName, trace.DebugReport(err))
|
||||
// this falls back to the default config
|
||||
return nil, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue