After upgrading or during normal operations of VCF, a management UI (e.g. VCFA, VCF Operations, or another component) may become unresponsive or fail to load. When this occurs, API requests routed through the affected gateway return HTTP 503 errors with the following message:
upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: TLS error: Secret is not supplied by SDS
This error indicates that an internal gateway proxy component within the VCF Services Runtime has entered a state where it can no longer establish secure connections to backend services, causing all requests routed through the affected gateway to fail.
This article describes how to remediate an envoy gateway proxy that has entered a state where its SDS (Secret Discovery Service) configuration is invalid, causing all requests routed through the affected gateway to fail with TLS errors. The remediation restarts the envoy gateway controlplane via the node agent API (port 5480) on a vcf services runtime control plane node. No kubectl access is required.
Use the procedure in this article when you observe one or more of the following symptoms:
(F12 > Network tab) may show multiple failed requests returning HTTP 503.HTTP 503 — API calls (typically the backend work taken a use action in the UI) to the platform return a 503 status code with the SDS error message shown above.TLS_error:_Secret_is_not_supplied_by_SDS AND k8s_container:envoy AND k8s_namespace:vmsp-platformIf events are returned by the search query, the gateway proxy is experiencing SDS certificate failures and this article applies.
Warning: Before running the remediation, confirm that this article applies to your situation by following the Confirming the Issue steps below. Restarting the gateway when the root cause is different will not resolve the problem.
VMware Cloud Foundation 9.1.0.0
An internal gateway proxy component failed to load updated TLS certificate data. While the proxy’s configuration indicates it has the latest certificates, the actual certificate data was not applied. This prevents the proxy from establishing secure connections to backend services. This condition does not self-resolve and requires a restart of the affected component.
| Tool | Required | Purpose |
| curl | Always | Communicates with the node agent API on the control plane node |
| jq | Always | Parses JSON API responses |
curl — pre-installed on most Linux distributions. Verify with curl --version.
jq
# Debian / Ubuntu sudo apt-get install -y jq RHEL / Photon OS / yum-based sudo yum install -y jq Direct binary download (any Linux x86-64) curl -fsSL https://github.com/jqlang/jq/releases/latest/download/jq-linux-amd64-o /usr/local/bin/jq && chmod +x /usr/local/bin/jq
Verify all tools are available before running the script:
curl --version && jq --version
Before proceeding with remediation, confirm that this article applies to your situation.
Attempt to load the affected management UI in a browser. If the page fails to load, shows a blank screen, or returns errors, proceed to step 2.
From a machine that can reach the platform, run:
curl -k https://<VCF services runtime FQDN>/<component-path>For example: curl -k https://<platform-hostname>/km/
If the response contains TLS error: Secret is not supplied by SDS, this article applies.
Use the attached script (see Running the Script) or manually query the envoy-gateway service inventory to confirm backend pods are healthy. If backend pods are healthy but API requests still fail with the SDS error, this confirms the issue is at the gateway proxy layer.
The envoy_gateway_sds_fix.sh script automates the full remediation sequence via the API (port 5480) on the control plane node. No kubectl access is required. You can also run these steps manually using the provided curl commands.
The script can be run from any machine that has network access to port 5480 on at least one VCF Services Runtime cluster control plane node — for example, a laptop, a jump host, or any VM on the same network segment as the cluster. It does not need to run on the cluster itself and does not require kubectl access.
Download the script envoy_gateway_sds_fix.sh, save it to a local file, and make it executable:
chmod +x envoy_gateway_sds_fix.sh
Follow steps 1, 2 and 3 in the following documentation to identify a control plane node, Establish an SSH Connection to a VCF Services Runtime Instance note down its IP address.
Make a note of the Control plane Node IP address.
Logs all planned actions without executing any restart operations:
./envoy_gateway_sds_fix.sh --node-ip <NODE_IP> --dry-run
./envoy_gateway_sds_fix.sh --node-ip <NODE_IP>
You will be prompted for the breakglass password interactively.
# Via command-line flag ./envoy_gateway_sds_fix.sh --node-ip <NODE_IP> --password <PASSWORD>
# Via environment variable export VMSP_PASSWORD=<PASSWORD> ./envoy_gateway_sds_fix.sh --node-ip <NODE_IP>
| Option | Description |
| --node-ip <IP> | IP address of any reachable VCF Services Runtime cluster control plane node (port 5480) |
| --password <PASSWORD> | Breakglass password for vmware-system-user. Omit to be prompted interactively |
| Option | Description |
| --dry-run | Validate and log planned actions without executing the restart |
| Option | Default | Description |
| NODE_IP | — | IP address of any reachable cluster control plane node |
| VMSP_PASSWORD | — | Breakglass password (avoids interactive prompt) |
| TASK_POLL_INTERVAL | 15 | Seconds between task status polls |
| TASK_TIMEOUT_SECONDS | 600 | Seconds to wait for the restart task before timing out |
The script writes timestamped log output to stdout. Each phase is marked with a clear separator:
==========================================================
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [STEP] Authenticating with node agent
==========================================================
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Authentication successful.
==========================================================
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [STEP] Discovering vsp component
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Found vsp component: vsp (id: 4####-..., status: Running)
==========================================================
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [STEP] Verifying envoy-gateway service health
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Service 'envoy-gateway' found with 1 instance(s).
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Instances:
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] - envoy-gateway-c5######-#####
==========================================================
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [STEP] Restarting envoy-gateway service
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Restart task created: xnuqdronuzgfldv442o4#####
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Task xnuqdronuzgfldv442o####### status: Succeeded
==========================================================
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [STEP] Verifying SDS issue is resolved
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Service 'envoy-gateway' found with 1 instance(s) after restart.
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] Instances after restart:
[YYYY-MM-DDTHH:MM:SS.MS+HH:MM] [INFO] - envoy-gateway-c5#######-7####
To monitor in real time and save a log file:
./envoy_gateway_sds_fix.sh --node-ip <NODE_IP> 2>&1 | tee /tmp/sds_fix_$(date +%Y%m%d_%H%M%S).log
After the script completes successfully:
curl -k https://<platform-hostname>/<component-path>The request should return a successful response (not a
503 SDS error).curl -sk https://<NODE_IP>:5480/api/v1/components
# From the node itself systemctl status node-agent
The default timeout is 600 seconds. If the restart is taking longer:
TASK_TIMEOUT_SECONDS=1200The script is safe to re-run after a failure. It will re-authenticate and re-discover the component before attempting the restart.
json { "response_code": 503, "response_code_details": "upstream_reset_before_response_started{remote_connection_failure|TLS_error:_Secret_is_not_supplied_by_SDS}", "upstream_transport_failure_reason": "TLS_error:_Secret_is_not_supplied_by_SDS", "route_name": "httproute/prelude/vksm/rule/3/match/0/<hostname>" }