Test recovery and planned migration might fail for some virtual machines with multiple errors.

Problem

During test recovery and planned migration the vSphere Replication server might restart causing some replications to fail with the following errors:
Cannot commit group '<group-id>' to an image on vSphere Replication Server '<VR-server>' (address '<VR-server-address>'). A generic error occurred in the vSphere Replication Management Server. Exception details: 'https://<VR-server-address>:8123/ invocation failed with "org.apache.http.conn.HttpHostConnectException: Connect to <VR-server-address>:8123 [/<VR-server-address>] failed: Connection refused (Connection refused)"'.
Error : Cannot commit group '<group-id>' to an image on vSphere Replication Server '<VR-server>' (address '<VR-server-address>'). A generic error occurred in the vSphere Replication Management Server. Exception details: 'https://<VR-server-address>:8123/ invocation failed with "java.net.SocketException: Connection reset"'.
Error : A runtime error occurred in the vSphere Replication Management Server. Exception details: ''. A runtime error occurred in the vSphere Replication Management Server. Exception details: ''

Cause

While performing test recovery and planned migration the vSphere Replication server might restart causing some of the replications to fail.

Solution

Re-run the Test recovery plan. After the vSphere Replication server restarts, the operations that failed complete successfully.