Error "socket timeout error" during replications after the certificate update in VCDA 4.x
search cancel

Error "socket timeout error" during replications after the certificate update in VCDA 4.x

book

Article ID: 374149

calendar_today

Updated On: 01-06-2025

Products

VMware Cloud Director

Issue/Introduction

  • The Traffic section in the system health in VCDA after the certificate upgrade shows Error - "Generic error during the SSL handshake".
  • The Overall health of the VCDA Replications is RED.
  • In case of the migrations in VCDA the Product use is to select somewhere between 10 and 50 VMs and starts migrating them in bulk.  However, it is failing to do so.
  • Here is the log snippet of the manager.log:

ERROR - [UI-ID-qf-Gf-Os] [job-37] com.vmware.h4.jobengine.JobExecution: Task ID (WorkflowInfo{type='setupDestination', resourceType='replication', resourceId='H4-ID', isPri> com.vmware.exception.ReadTimeoutException: https://Vcenter ID/pbm/sdk invocation failed with "java.net.SocketTimeoutException: Read timed out"
   6423         at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.setResponseError(HttpExchangeBase.java:356)  
6463 Caused by: com.vmware.vim.vmomi.client.exception.ConnectionException: https:// vcenter_ID/pbm/sdk invocation failed with "java.net.SocketTimeoutException: Read timed out"
   6464         at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:261)
   6465         ... 40 common frames omitted
   6466 Caused by: java.net.SocketTimeoutException: Read timed out

Environment

VMware Cloud Director Availability 4.x

Cause

The issue could occur because that the manager appliance is timing out the replication task.

Resolution

To resolve this issue, please perform the following steps:

 (a) Take snapshot of the destination manager appliance in VCDA.

 (b) SSH to manager appliance. 

 (c) Backup the application.properties file located in /opt/vmware/h4/manager/config/ using command --> cp application.properties application.properties.bak

 (d) vi application.properties

 (d) set task.idle.timeout=600000  

 (e) save the changes and exit the vi editor by using the command: ":wq"

 (e) Restarted manager service --> "systemctl restart manager. service"