From d7903ba8007d08c3671526bf7d9ade0a85dc672d Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 28 Jul 2016 17:33:15 +0200 Subject: [PATCH] Enhance client disconnect message for "No data received on new API connection." fixes #12116 Signed-off-by: Michael Friedrich --- lib/remote/apilistener.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index cb8669793..320cf206f 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -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; }