Skip to Content

Lost Connections with Private Agents on an Azure Server

Overview

This page provides instructions on troubleshooting a Linux or Windows Private Agent installed on a Microsoft Azure server.

Troubleshooting Private Agents Installed on an Azure Server

When using a Private Agent installed on a Microsoft Azure server, you may experience lost connections. Azure sets the websocket idle timeout to 4 minutes, while the Private Agent default to ping Harmony is set to 5 minutes. To resolve this issue, reduce the interval for the agent heartbeat:

  1. Make a backup copy of the jitterbit-agent-config.properties file and save it to another location. This file can be found in these directories:

    • Linux: <JITTERBIT_HOME>/Resources/

    • Windows: C:\Program Files\Jitterbit Agent\Resources

  2. Open the jitterbit-agent-config.properties file in a text editor.

  3. Find the agent.heart.beat.interval setting:

    #Agent heart beat interval (IN MINUTES)
    agent.heart.beat.interval=5
    
  4. Change the setting to agent.heart.beat.interval=3.

  5. Save the changes and restart the agent.