mirror of https://github.com/Icinga/icinga2.git
Enhance client disconnect message for "No data received on new API connection."
fixes #12116 Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
parent
077dbe1db6
commit
d7903ba800
|
@ -394,7 +394,8 @@ void ApiListener::NewClientHandlerInternal(const Socket::Ptr& client, const Stri
|
|||
tlsStream->WaitForData(5);
|
||||
|
||||
if (!tlsStream->IsDataAvailable()) {
|
||||
Log(LogWarning, "ApiListener", "No data received on new API connection.");
|
||||
Log(LogWarning, "ApiListener")
|
||||
<< "No data received on new API connection for identity '" << identity << "'. Ensure that the remote endpoints are properly configured in a cluster setup.";
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue