Document Tenzir Gateway CORS and TLS certificate configuration#232
Open
Document Tenzir Gateway CORS and TLS certificate configuration#232
Conversation
Add CORS_ALLOWED_ORIGINS documentation for the Tenzir Gateway service, needed when the UI frontend connects directly to the gateway from a different origin (e.g. different port or domain). Add a caution note in the self-signed certificates section explaining that when the browser connects directly to the gateway, it must explicitly trust the gateway certificate. The failure mode is subtle: the UI shows only a vague "Unable to fetch pipelines" message because the browser never navigates to the gateway port directly and therefore never displays the normal untrusted-certificate warning page. https://claude.ai/code/session_01GgSV84jmGtMoBNGDnYzWse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds documentation for two important Tenzir Gateway configuration scenarios that users may encounter when setting up the platform with direct browser-to-gateway connections.
Key Changes
CORS Configuration Guide: Added documentation for the
CORS_ALLOWED_ORIGINSenvironment variable on thewebsocket-gatewayservice. This explains when CORS restrictions apply (when the UI and gateway are on different origins) and how to properly configure allowed origins with full scheme and port information.TLS Certificate Trust Guide: Added a caution section explaining the browser certificate trust issue that occurs when using self-signed certificates with direct gateway connections. Includes:
Notable Details
TENZIR_PLATFORM_USE_INTERNAL_WS_PROXYconfiguration flag to explain when these issues applyhttps://claude.ai/code/session_01GgSV84jmGtMoBNGDnYzWse