Outgoing connections from VMware Cloud Director through a proxy might fail with a Connection refused error
book
Article ID: 382688
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
- When attempting to perform a process that uses an outgoing connection through the VCD proxy a Connection refused error is received.
- Using Test Connection gives the error: "
ERROR - Unable to establish SSL connection: java.net.SocketException: Connection reset
".
Environment
- VMware Cloud Director 10.5.x
Cause
The /etc/sysconfig/proxy
file has an errant /
at the end of the port number of the configured address for HTTP_PROXY
and/or HTTPS_PROXY
.
Resolution
This is a known issue impacting 10.5.x versions of Cloud Director. The issue has been resolved in version 10.6 of Cloud Director.
Workaround:
- SSH to a Cloud Director Cell
- Edit the
/etc/sysconfig/proxy
file.
- Remove the
/
from the end of the HTTP_PROXY
and/or HTTPS_PROXY
lines.
- Save the file.
- Repeat the process on the remaining Cells.
Example:
- Before -
HTTPS_PROXY="https://proxy.provider.de:3128/"
- After -
HTTPS_PROXY="https://proxy.provider.de:3128"
Feedback
thumb_up
Yes
thumb_down
No