Log Management upgrade fails with [VCFMS-PRECHECK-URL-001] due to Proxy Authentication Required (HTTP 502 / 407)
search cancel

Log Management upgrade fails with [VCFMS-PRECHECK-URL-001] due to Proxy Authentication Required (HTTP 502 / 407)

book

Article ID: 463885

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • When upgrading Log Management in VCF Operations 9.1.x, the Log management Upgrade Workflow fails during the Stage Log management package in VCF services runtime subtask.
  • In the VCF Operations UI (Tasks → Log management Upgrade Workflow), the failed subtask displays the following messages:
    Staging binaries. Task ID: <task-id>
    Running Component Stage Prechecks. Status: Running
    Running Component Stage Prechecks. Status: Failed
    Error: The URL for component package is not reachable: https://<fleet-lifecycle-fqdn>/depot-service/content-gateway/PROD/COMP/VRLI/operations-logs-<version>.tgz. Please verify the URL and network connectivity. [VCFMS-PRECHECK-URL-001] Resolution: Please check the component package URL and try again. Check if there are any firewall rules that may block access to this URL. If the issue persists, contact support.

Environment

  • VCF Operations 9.1.x
  • Log Management 9.1.x

Cause

The depot-service / content-gateway running on VCF Services Runtime fails to authenticate against the corporate outbound proxy when fetching the component package from https://dl.broadcom.com. This occurs when the stored peerProxy configuration uses a domain-prefixed username (for example, <domain>\<username>), where the backslash (\) breaks proxy URL parsing, or when the stored proxy password is out of sync.
 
Testing the failing depot URL from a VCF Services Runtime control plane node confirms the 502 Bad Gateway and underlying Proxy Authentication Required error:
# Check HTTP headers
curl -Ivk https://<fleet-lifecycle-fqdn>/depot-service/content-gateway/PROD/COMP/VRLI/operations-logs-<version>.tgz
< HTTP/1.1 502 Bad Gateway
< server: openresty
< content-type: text/plain; charset=utf-8
# Read the error body
curl -sk https://<fleet-lifecycle-fqdn>/depot-service/content-gateway/PROD/COMP/VRLI/operations-logs-<version>.tgz | head -c 500
connection failed: Get "https://dl.broadcom.com/PROD/COMP/VRLI/operations-logs-<version>.tgz": Proxy Authentication Required

Resolution

Prerequisites:
  1. Log in to a VCF Services Runtime control plane node via SSH as vmware-system-user, elevate to root (sudo -i), and check the proxy's supported authentication schemes:
    curl -v -x http://<proxy-ip>:<proxy-port> https://dl.broadcom.com 2>&1 | grep -i "Proxy-Authenticate"
    
    #Confirm that Basic is listed in the output (for example, Proxy-Authenticate: Basic realm="...").
  2. Test the bare username (without the <domain>\ prefix):
    curl -Ivk --proxy-basic -x http://<proxy-ip>:<proxy-port> -U '<username>' https://dl.broadcom.com
    
    #Enter the proxy password when prompted and confirm that the tunnel establishes cleanly (HTTP/1.1 200 Connection established).
Follow the below mentioned steps to resolve the issue:
  1. Run the VCF Management Service Utility script from KB Scripted process to configure a proxy on VCF Management Services and VCF Automation on the control plane node and select Option 2 (Configure proxy):
    1. Enter the existing proxy host, port, and TLS settings.
    2. Set Credentials required? to true.
    3. Enter the bare username (<username>, removing <domain>\) and the verified password.
    4. Wait for the task monitor to report Proxy configuration applied successfully.
  2. In the VCF Operations > Build > lifecycle UI, navigate to Tasks, open the failed Log management Upgrade Workflow, and click RETRY.

Additional Information

  • When proxy authentication is enabled, the components API omits the stored password field for security. Running Option 6 (Network connectivity check) in the KB Scripted process to configure a proxy on VCF Management Services and VCF Automation script will therefore send an empty password and return curl: (7) CONNECT tunnel failed, response 407 even after valid credentials have been applied. Verify connectivity directly via curl --proxy-basic or by retrying the upgrade workflow.
  • If the corporate proxy enforces strict NTLM/Kerberos authentication (without Basic auth) or if password special characters interfere with URL encoding, configure an unauthenticated proxy bypass rule for the VCF Services Runtime node subnet to:
    • dl.broadcom.com
    • eapi.broadcom.com
    • vvs.broadcom.com