Outgoing connections from VMware Cloud Director through a proxy might fail with a Connection refused error
search cancel

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:

  1. SSH to a Cloud Director Cell
  2. Edit the /etc/sysconfig/proxy file.
  3. Remove the / from the end of the HTTP_PROXY and/or HTTPS_PROXY lines.
  4. Save the file.
  5. Repeat the process on the remaining Cells.

 

Example:

  • Before - HTTPS_PROXY="https://proxy.provider.de:3128/"
  • After - HTTPS_PROXY="https://proxy.provider.de:3128"