"Unable to refresh request form from the server. The connection to vCenter Orchestrator server timed out" error when requesting from vRA catalog
search cancel

"Unable to refresh request form from the server. The connection to vCenter Orchestrator server timed out" error when requesting from vRA catalog

book

Article ID: 314770

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Attempting to request virtual machine(s) from vRealize Automation catalog, you see the error similar to:
"Unable to refresh request form from the server. The connection to vCenter Orchestrator server timed out"
  • In the catalina.out file, you see the entries similar to:
2018-09-17 17:58:08,002 vcac: [component="cafe:o11n-gateway" priority="INFO" thread="tomcat-http--36" tenant="vsphere.local" context="J0hhsFLW" parent="yHagZSYr" token="ie68I3QL"] com.vmware.vcac.o11n.gateway.vco.CafeVcoSessionImpl.doExecute:353 - Connection to vCO server timed out. Reason: I/O error on POST request for "https://vRA_FQDN:443/vco/api/actions/com.pso.rcap/getArcosListByUserNames/executions/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
2018-09-17 17:58:08,006 vcac: [component="cafe:advanced-designer" priority="ERROR" thread="tomcat-http--44" tenant="vsphere.local" context="J0hhsFLW" parent="srmbZ8i3" token="yHagZSYr"] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleRestError:113 - [Rest Error]: {Status code: 400}, {Error code: 84022} , {Error Source: null}, {Error Msg: The connection to vCenter Orchestrator server timed out.}, {System Msg: 84022-The connection to vCenter Orchestrator server timed out.}
  • In the Catalina.log, you see the entries similar to:
17-Sep-2018 18:17:43.410 WARNING [tomcat-http--34] com.vmware.vcac.shell.shindig.customizations.ForkBasicHttpFetcher.slowResponseWarning https://vRA_FQDN/composition-service/api/requests/hierarchy/Windows2008R2SP1/Win2008R2SP1Ent_1/schema/update/?subtenantId=<subtenant_ID> is responding slowly. 30,646 ms elapsed.
17-Sep-2018 18:17:44.924 WARNING [tomcat-http--15] com.vmware.vcac.shell.shindig.customizations.ForkBasicHttpFetcher.slowResponseWarning https://vRA_FQDN/composition-service/api/requests/hierarchy/Windows2008R2SP1/Win2008R2SP1Ent_1/schema/update/?subtenantId=<subtenant_ID> is responding slowly. 30,804 ms elapsed.


Environment

VMware vRealize Automation 7.x

Resolution

To resolve this issue, increase the vco.socket timeout value.

Ensure there is a valid backup before performing any changes.
  1.  On each of the vRealize Automation appliance nodes, edit this file:
/etc/vcac/webapps/o11n-gateway-service/WEB-INF/classes/META-INF/spring/root/o11n-gateway-service-context.xml
  1. Change value on this line from 30 seconds to a higher number:
<property name="socketTimeout" value="#{vcoConfig['vco.socket.timeout.millis']?:30000}"/>

For example to increase timeout value to 60 seconds change the line to match below:
<property name="socketTimeout" value="#{vcoConfig['vco.socket.timeout.millis']?:60000}"/>
  1. Restart vcac-server with by running command:
service vcac-server restart