Error: "Failed to send data to host <IP>. error: 10054" in the log for dcinterface

book

Article ID: 178172

calendar_today

Updated On:

Products

Web Gateway

Issue/Introduction

You see the error "Failed to send data to host . error: 10054" in the file dcinterface.txt. You seek to understand the cause and steps to resolve the behavior.

Symptoms
 

You may also see other socket related errors in the dcinterface.txt file such as:

  • Failed to send data to host <IP>. error: 10061
  • Failed to send data to host <IP>. error: 10053
  • Failed to send data to host <IP>. error: 10022

Cause

This error corresponds to the Windows socket error 10054, WSAECONNRESET. Another way to state this error would be "Connection reset by peer."

Known causes of this error include: a specific scenario where the ldap components of SWG appliance fail to correctly manage incoming connections, connectivity issues at the operating system level of the machine where dcinterface is installed.

Resolution

To eliminate the possibility that SWG has encountered a known issue where the ldap components mishandle inbound connections, please update to SWG5.0.2 or later.


If you are already on SWG5.0.2 or later, please collect the following evidence from the machine where dcinterface is installed:
1. netstat -ao >netstat.txt
2. export the registry key \\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\SERVICES\Tcpip\Parameters to Tcpipsettings.reg
3. network diagram showing dcinterface, the SWG machine at the IP address in the log entry, and every network device in between
4. a packet capture taken from the machine where dcinterface is installed.




References
 

Title: Windows Socket Error Codes (Windows)
URL: http://msdn.microsoft.com/en-us/library/ms740668(VS.85).aspx