You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspect network connections and check WSS connections
These do not have the base server prefix
As a consequence, the following does not work:
Through nginx proxy, for example, when requesting https://foo.example.com/ides/foo, a wss error occurs. By checking the browser console, you can see the wss error, and the request address is wss://foo.example.com/oss-xxxx, which does not include the server base path URI path.
An example configuration for nginx proxy is as follows:
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
code-insiders serve-web --host 0.0.0.0 --port 8080 --server-base-path=/ides/foo
As a consequence, the following does not work:
Through nginx proxy, for example, when requesting https://foo.example.com/ides/foo, a wss error occurs. By checking the browser console, you can see the wss error, and the request address is wss://foo.example.com/oss-xxxx, which does not include the server base path URI path.
An example configuration for nginx proxy is as follows:
upstream vscode {
server 192.168.0.100:8888;
}
server {
servername foo.example.com;
location / {
proxy_pass http://vscode/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
}
Related issue: #208278
The text was updated successfully, but these errors were encountered: