Today we've had an issue raised that state there were connection issues to the on-prem hosted plugins.
Failed to execute task. - caught an exception: Connection timeout on call to http://pluginServername/cdd-rest-plugin/api/general-rest?action=execute
Release : SAAS
Component : CONTINUOUS DELIVERY DIRECTOR SAAS
This was caused by performance problems being experienced by the service that the REST task was calling.
The performance problems were addressed by the service provide that owns the REST API/Endpoint.
The following messages were seen in the proxy-plugin.log at the time of this occurrence:
./cdd-plugins-proxy.log: 2020-12-15 12:15:13 [request-handler-2] [] ERROR c.ca.pp.requesthandler.HttpExecutor - Failed to execute request.
java.net.SocketTimeoutException: Read timed out
The following messages were seen in the rest-plugin.log at the time of this occurrence:
./cdd-rest.log: 2020-12-15 12:15:13 [rest] [http-nio-8080-exec-1] [] ERROR c.c.c.p.rest.task.GeneralRestTask - Read timed out
java.net.SocketTimeoutException: Read timed out
./cdd-rest.log: 2020-12-15 12:15:13 [rest] [http-nio-8080-exec-1] [] DEBUG c.c.c.p.r.c.RequestExceptionMapper - Error with reason: [Read timed out]
./cdd-rest.log: 2020-12-15 12:15:13 [rest] [http-nio-8080-exec-1] [] ERROR c.c.c.p.rest.utils.RESTClientUtils - ExecutionStatus: FAILED Status: Rest operation failed Detailed: Rest operation failed for url 'http://servername/rest/api/url'. Read timed out .Output Parameters: null