Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Server & Application Monitor (SAM) > Agent constantly loses connection

Agent constantly loses connection


This article provides brief information and steps to resolve the issue when the Agent constantly loses connection.

The following error appears in the Agent Business Layer log: 

ERROR SolarWinds.Orion.Core.Common.CoreErrorHandler - Error occurred on Business Layer call. Type: System.ServiceModel.CommunicationException
Message: 'The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue.


All SAM versions


The following steps is a workaround:


The agent needs to be configured to use local host as the hostname. To do this:


  1. Go to C:\Program Files (x86)\SolarWinds\Agent.
  2. Open SolarWinds.Agent.Service.exe.cfg.
  3. In the <target> section, search for <host0>(server name)</host0>
  4. Change (server name) to localhost.</target>


Note: This only applies to the agent running on the actual polling engine.


Last modified
22:22, 30 Nov 2016