vRealize Automation requests fail with the error "Connection reset by peer"
book
Article ID: 325922
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms: Various requests fail with the error Connection reset by peer.
Environment
VMware vRealize Automation 8.x
Cause
The maxIdleTime value within Netty connection pools for the provisioning-service is not set. It is possible that these connections are closed by the underlying networking layer without Netty understanding this change. When Netty makes subsequent calls to use these connections, the attempt fails with Connection reset by peer.
Resolution
VMware is aware of this issue. A fix is being considered for a future release.
Workaround:
Take snapshot(s) of the vRA node(s) - without including memory.
Download the attached set_netty_max_idle.sh script.
SSH to one of the nodes in the vRA cluster and upload the downloaded file.
Make the script executable
chmod +x set_netty_max_idle.sh
Run the script
./set_netty_max_idle.sh
Review the output of the script for any errors and validate the final message is [Verify] Verification completed successfully.
Note: The script will provide further details to the shell during execution. If kubectl reports a failure in the command kubectl get nodes for any appliance in the cluster, the script will fail with a verification error.
Other errors during execution can include: Patching failed on one or more nodes, Patch cannot be applied and Patch is not properly applied.
Start vRA by running
/opt/scripts/deploy.sh
Remove the script from the node in which it was uploaded