mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
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);
|
tlsStream->WaitForData(5);
|
||||||
|
|
||||||
if (!tlsStream->IsDataAvailable()) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user