Sync Timeouts: Timeout waiting for idle object - ConnectALL
search cancel

Sync Timeouts: Timeout waiting for idle object - ConnectALL

book

Article ID: 440773

calendar_today

Updated On:

Products

ConnectAll On-Prem ConnectALL ConnectAll SaaS

Issue/Introduction

You experience intermittent timeouts during syncs in your ConnectALL environment. The logs contain the following retriable exception:

com.go2group.connectall.model.transformer.exception.RetriableException: java.util.NoSuchElementException: Timeout waiting for idle object, borrowMaxWaitMillis=####

Environment

ConnectALL 4.2

Cause

This issue occurs when the target application environment responds slower than expected. The default connection pool settings are too aggressive for the environment's response time, causing the application to time out while waiting for a connection to become available.

Resolution

You resolve this issue by adjusting the connection pool parameters in the ConnectALL Properties to allow for more concurrent activity and longer wait times.

Follow these steps to update your configuration:

  1. Navigate to the ConnectALL Properties page in your configuration interface.
  2. Locate or add the following Jira connection properties:
    • Set jira.minIdle = 15
    • Set jira.maxWait = 2000
    • Set jira.maxActive = 50
  3. Save the changes.

You do not need to restart the ConnectALL Core service, as it periodically refreshes these settings from the database.

 

Additional Information

In some cases it may be necessary to increase the values beyond what is shown above.  In doing so, increase the values incrementally to prevent unnecessary resource consumption.