AutoSys Workload Automation plugin - Read timeout error
search cancel

AutoSys Workload Automation plugin - Read timeout error

book

Article ID: 277053

calendar_today

Updated On:

Products

Continuous Delivery Director Continuous Delivery Director SAAS

Issue/Introduction

Following error occurs when trying to import JUL definitions using AutoSys Workload Automation plugin

An error occurred while trying to import JIL definitions. Error is: [Read timed out].

And in the logs there are :

c.c.c.p.a.s.impl.TaskServiceImpl - An error occurred while trying to import JIL definitions. Error is: [Read timed out].
2023-12-04 07:27:05 [autosys] [http-nio-8080-exec-6] [00000000-0000-0000-0000-000000000000_225_572_1889_102514] INFO  c.c.c.p.a.s.impl.TaskServiceImpl - Import JIL definitions task started...
2023-12-04 07:27:05 [autosys] [http-nio-8080-exec-6] [00000000-0000-0000-0000-000000000000_225_572_1889_102514] DEBUG c.c.c.p.a.s.impl.TaskServiceImpl - Calling API: [https://<hostname>/AEWS/jil].
2023-12-04 07:27:05 [autosys] [http-nio-8080-exec-6] [00000000-0000-0000-0000-000000000000_225_572_1889_102514] INFO  c.c.c.plugins.shared.utils.HttpUtils - ****************Creating HTTP client****************
2023-12-04 07:27:05 [autosys] [http-nio-8080-exec-6] [00000000-0000-0000-0000-000000000000_225_572_1889_102514] DEBUG c.c.c.plugins.shared.utils.HttpUtils - Connection timeout set to: [20] second(s)
2023-12-04 07:27:05 [autosys] [http-nio-8080-exec-6] [00000000-0000-0000-0000-000000000000_225_572_1889_102514] DEBUG c.c.c.plugins.shared.utils.HttpUtils - Connection Request timeout set to: [20] second(s)
2023-12-04 07:27:05 [autosys] [http-nio-8080-exec-6] [00000000-0000-0000-0000-000000000000_225_572_1889_102514] DEBUG c.c.c.plugins.shared.utils.HttpUtils - Socket/Read timeout set to: [20] second(s)

 

Environment

Continuous Delivery Director 8.5.0

Resolution

New plugin Autosys 1.0-4 has been created.
 
Timeouts have been increased :
 
The default connection timeout has been increased to 40 seconds
The read timeout has been increased to 100 seconds.
 
In addition, to override the default values, two new parameters can be added to the setting.properties file (webapps\cdd-autosys-plugin\WEB-INF\classes\setting.properties) which will define the timeout:
cdd.plugins.autosys.client.http.connection.timeout={number of seconds}
cdd.plugins.autosys.client.http.read.timeout={number of seconds}