Revert \"Merge pull request #2578 from keboola/pepa/PAT-1538_e2bStreamlit\"#2592
Merged
Revert \"Merge pull request #2578 from keboola/pepa/PAT-1538_e2bStreamlit\"#2592
Conversation
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Matovidlo
approved these changes
Apr 29, 2026
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.
Release Notes
Reverts #2578 — restores the Streamlit WebSocket Origin rewriting workaround in apps-proxy.
Plans for customer communication
None.
Impact analysis
PR #2578 removed a temporary workaround that rewrote the WebSocket
Originheader to match the upstream hostname for Streamlit (Tornado) apps. The commit message claimed Streamlit apps were now configured withSTREAMLIT_BROWSER_SERVER_ADDRESS/STREAMLIT_BROWSER_SERVER_PORTenv vars, but these env vars were never actually configured anywhere.This caused Tornado to reject WebSocket connections with 403 (Origin mismatch), breaking the
/_stcore/streamendpoint across all stacks:/_stcore/stream403s jumped from 0 → 31,803 in a 4-hour window/_stcore/healthand/_stcore/host-configrequests jumped from ~16k → ~56k per 4hkbc-eu-central-1(22,975 spans),cloud-keboola-groupon(17,243 spans)This revert restores the Origin rewrite workaround until
STREAMLIT_BROWSER_SERVER_ADDRESS/STREAMLIT_BROWSER_SERVER_PORTare properly configured on all Streamlit Data Apps.Change type
Revert / bugfix
Justification
Production incident — Streamlit Data Apps broken across all stacks after v1.10.1 deployment.
Deployment
Merge & automatic deploy.
Rollback plan
Revert of this PR.
Post release support plan
None.
Link to Devin session: https://app.devin.ai/sessions/a88bf1485da340738418021851aadc44