Submit a ticketCall us
Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > 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