GitHub user dosubot[bot] added a comment to the discussion: How to enable Global Async Queries on v5.0.0 using helm chart in GKE
<!-- Answer --> Here’s a summary for maintainers and the community: Enabling Global Async Queries (GAQ) in Superset v5.0.0 on Kubernetes/Helm (GKE) currently hits a hard limitation: Flask requires SERVER_NAME to be set for background URL generation, but in cloud-native environments, the external hostname is often dynamic or unknown at deployment time. Setting SERVER_NAME incorrectly leads to 404 errors, while leaving it unset causes GAQ to fail with "Unable to build URLs outside an active request without 'SERVER_NAME' configured" in async tasks. This is a widely recognized architectural limitation—there is no robust workaround or dynamic solution as of now, and all best practices (proxy headers, static config, etc.) have been followed without success. The only options are to use a static hostname (if possible) or disable GAQ until upstream improvements are made. This is not a user misconfiguration, but a known pain point confirmed by recent discussions and issues ([see discussion](https://github.com/apache/superset/discussions/34517), [see issue](h ttps://github.com/apache/superset/issues/33561)). Tracking or prioritizing a cloud-native fix for dynamic SERVER_NAME handling would help unblock GAQ adoption in Kubernetes environments. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/d203a8be-501f-41a8-9e62-4cf8c05f83d7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d203a8be-501f-41a8-9e62-4cf8c05f83d7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d203a8be-501f-41a8-9e62-4cf8c05f83d7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d203a8be-501f-41a8-9e62-4cf8c05f83d7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d203a8be-501f-41a8-9e62-4cf8c05f83d7?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/d203a8be-501f-41a8-9e62-4cf8c05f83d7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d203a8be-501f-41a8-9e62-4cf8c05f83d7?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34517) GitHub link: https://github.com/apache/superset/discussions/34517#discussioncomment-13969220 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
