Duo Chat (Streaming): Allow WebSocket connections from WebIDE
Problem
Trying to establish a WebSocket connection from WebIDE now fails in production. GitLab responds 404 when the VS Code Extension (Duo Chat feature) tries to establish WebSocket connection on the /-/cable path.
Solution
The WebIDE runs extensions in webworkers and uses origin https://v--0m16sjqvantffqv530b7omdisqdufdh705i91tnd8b15mlp4h3ri.cdn.web-ide.gitlab-static.net We need to make sure that the Action Cable in the Rails backend allows connections from this origin.
Edited by Tomas Vik (OOO back on 2026-01-05)
