vSphere Lifecycle Manager depot configuration or download fails with "invalid contents" or "invalid source" due to Proxy Authentication (HTTP 407)
search cancel

vSphere Lifecycle Manager depot configuration or download fails with "invalid contents" or "invalid source" due to Proxy Authentication (HTTP 407)

book

Article ID: 419364

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • When configuring the Patch Setup in vSphere Lifecycle Manager (vLCM) to include the token-based download URL, or when vLCM attempts to download patches, the operation fails.
  • The vSphere Client UI displays one of the following error messages:
    • "A general system error occurred: A depot is inaccessible or has invalid contents. Make sure an official depot source is used and verify connection to the depot"
    • "The download source https://dl.broadcom.com.....depot-index.xml is invalid or cannot be reached now"
  • This occurs in environments where the vCenter Server relies on an upstream proxy server to reach external internet resources.
  • Reviewing the /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log reveals an HTTP 407 (Proxy Authentication Required) failure when vCenter attempts to establish a tunnel to the Broadcom depots:
    YYYY-MM-DDTHH:MM:SS verbose vmware-vum-server[10474] [Originator@6876 sub=httpDownload] [httpDownloadPosix 188] <
    YYYY-MM-DDTHH:MM:SS verbose vmware-vum-server[10474] [Originator@6876 sub=httpDownload] [httpDownloadPosix 188] * Ignore 93 bytes of response-body
    YYYY-MM-DDTHH:MM:SS verbose vmware-vum-server[10474] [Originator@6876 sub=httpDownload] [httpDownloadPosix 188] * CONNECT tunnel failed, response 407
    YYYY-MM-DDTHH:MM:SS verbose vmware-vum-server[10474] [Originator@6876 sub=httpDownload] [httpDownloadPosix 188] * closing connection #10
  • Testing connectivity manually from the vCenter SSH shell via curl to the dl.broadcom.com URL through the proxy confirms the proxy is actively rejecting the connection due to missing or invalid NTLM authentication:
    root@<vCenter_Hostname> [ /etc/sysconfig ]# curl -v -x http://<PROXY_FQDN>:8080 https://dl.broadcom.com/
    * Uses proxy env variable no_proxy == ', localhost, 127.0.0.1'
    * Host <PROXY_FQDN>:8080 was resolved.
    * IPv6: (none)
    * IPv4: <PROXY_IP>
    *   Trying <PROXY_IP>:8080...
    * CONNECT: no ALPN negotiated
    * allocate connect buffer
    * Establish HTTP proxy tunnel to dl.broadcom.com:443
    > CONNECT dl.broadcom.com:443 HTTP/1.1
    > Host: dl.broadcom.com:443
    > User-Agent: curl/8.19.0
    > Proxy-Connection: Keep-Alive
    >
    < HTTP/1.1 407 Proxy Authentication Required
    < Mime-Version: 1.0
    < Via: 1.1 <WSA_HOSTNAME>:8080 (<Vendor>-WSA/14.5.1-008)
    < Content-Type: text/html
    < Proxy-Authenticate: NTLM
    < Connection: close
    < Proxy-Connection: close
    < Content-Length: 2449
    <
    * Ignore 2449 bytes of response-body
    * CONNECT tunnel failed, response 407
    * closing connection #0
    curl: (56) CONNECT tunnel failed, response 407

Environment

vCenter Server 8.0.x

Cause

The upstream proxy server is configured to require NTLM authentication to allow outbound internet access. However, the proxy settings within the vCenter Server Appliance Management Interface are currently configured anonymously therefore vCenter is forwarding anonymous requests, the proxy rejects the connection, blocking access to the Broadcom patch depots.

Resolution

To resolve this issue, the vCenter Server proxy settings must be updated to include valid authentication credentials.

  1. Configure Authenticated Proxy: Update the proxy configuration on the vCenter Server's VAMI page to include a valid username and password. Refer to the following KB: How to configure proxy settings for vCenter Server
  2. Use a Dedicated Service Account: The account provided must be a dedicated service account explicitly authorized by your network/security team to reach Broadcom URLs (*.broadcom.com). Avoid using personal user accounts to prevent silent patching failures when passwords expire.
  3. Format the Username: Ensure the username is formatted exactly as the proxy expects for NTLM authentication (e.g., DOMAIN\username or [email protected]).

Attempt to configure the Patch Setup on vSphere Lifecycle Manager again by referring to the following: Configure vSphere Lifecycle Manager to Use the Internet as a Download Source