Applications Systems

Agent constantly loses connection

This article provides brief information and steps to resolve the issue when the Agent constantly loses connection. Server and Application Monitor (SAM).

First published date

11/29/2018 10:52 PM

Last published date

3/23/2022 1:27 PM

Overview

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.

 

Product section

Server Application Monitor

Resolution

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>

 

NoteThis only applies to the agent running on the actual polling engine.