acoustic-carpenter-78188
06/23/2026, 6:42 PMClusterService.SelectCluster returned the bare Host header (e.g. development.uniondemo.run) as clusterEndpoint. The console (flyte2-ui) uses clusterEndpoint directly as a Connect transport base URL. A value without a scheme is treated by the browser as a relative path and resolved against the current page, so GetActionData requests went to:
https://development.uniondemo.run/v2/.../runs/development.uniondemo.run/flyteidl2.dataproxy.DataProxyService/GetActionData → 404
What changes were proposed in this pull request?
Return a scheme-qualified base URL. Prefer X-Forwarded-Proto (set by any TLS-terminating proxy/LB — the dev cluster's ALB sets https); default to http when absent so a direct local devbox (no proxy, http) keeps working. X-Forwarded-Proto proxy-chain lists take the first value.
How was this patch tested?
Added dataproxy/service/cluster_service_test.go covering: ALB X-Forwarded-Proto: https → https://…, devbox (no header) → http://…, explicit http, proxy-chain list, and empty host → empty. go test ./dataproxy/service/ passes.
Labels
• fixed
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
flyteorg/flyteacoustic-carpenter-78188
06/24/2026, 6:23 AM