Attempting to connect to offline Depot on SDDC Manager fails with "VMWARE_DEPOT_CONNECT_FAILURE Failed to connect to VMware depot with the provided user credentials. Cause: {0}"
search cancel

Attempting to connect to offline Depot on SDDC Manager fails with "VMWARE_DEPOT_CONNECT_FAILURE Failed to connect to VMware depot with the provided user credentials. Cause: {0}"

book

Article ID: 435374

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

Connecting SDDC manager to offline depot fails with:

VMWARE_DEPOT_CONNECT_FAILURE Failed to connect to VMware depot with the provided user credentials.  Cause: {0}.
Com.vmware.evo.sddc.common.core.error.ForbiddenResponseException: Failed to connect to VMware depot with the provided user credentials.  Cause: {0}.
Caused by: com.vmware.evo.sddc.lcm.model.depot.exception.DepotConnectionFailureException: Failed to connect to depo [ depot.hostname.fqdn:443 ]

Environment

VMware Cloud Foundation 5.x

Cause

The Apache web directories on the offline depot have the incorrect permissions. Directory permissions should be either 0500 or 750.

Resolution

Apache web directories should have read and execute permissions for the owner, and read/execute for the group/others as needed. The execute permission is necessary to traverse the directories.

Below is an example to set the default Apache web directory permissions to 750:

chmod -R 750 /var/www/html