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 Jitterbit Harmony is set to 5 minutes. To resolve this issue, reduce the interval for the agent heartbeat:
-
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
-
-
Open the
jitterbit-agent-config.properties
file in a text editor. -
Find the
agent.heart.beat.interval
setting:#Agent heart beat interval (IN MINUTES) agent.heart.beat.interval=5
-
Change the setting to
agent.heart.beat.interval=3
. -
Save the changes and restart the agent.