Repository navigation
dev2 gateway nginx: pass WebSocket upgrades for /desktop and /browse bridges - #288
Merged
Merged
Conversation
…rowse/v1/ws
The catch-all location never set Upgrade/Connection, so nginx answered 400
("Connection header did not include upgrade") for the c0mpute.com/desktop
and /browse bridges while the worker on :7777 answered 101. Applied live
on dev2 2026-11-30 (backup gateway.c0mpute.com.bak-20261130-ws); both now 101.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan0 finding(s) in the 1 file(s) this pull request changes. Nothing in the files this pull request changes. 42 pre-existing finding(s) elsewhere in the repository — **HIGH**: 15 | **MEDIUM**: 13 | **LOW**: 14Not introduced by this pull request.
…and 22 more; the full set is in the SARIF artifact. Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
gateway.c0mpute.com's catch-all location never forwarded Upgrade/Connection, so the c0mpute.com/desktop (noVNC) and /browse (CDP) WebSocket bridges got a 400 from the worker while :7777 directly answered 101. Adds a regex location for
/(desktop|browse)/v1/wswith the upgrade headers and a 1 h idle timeout.Applied live on dev2 already (backup
/etc/nginx/sites-available/gateway.c0mpute.com.bak-20261130-ws, live file was identical to this repo before the change);nginx -tok, both paths now return 101, /healthz 200, and a remote browser session was driven end to end through wss://gateway.c0mpute.com/browse/v1/ws.🤖 Generated with Claude Code