linuxserver / docker-code-server

GNU General Public License v3.0
1.63k stars 327 forks source link

Extensions stop working when passed thru a reverse-proxy #166

Closed NunoHiggs closed 9 months ago

NunoHiggs commented 9 months ago

Is there an existing issue for this?

Current Behavior

Extensions are not loading when the url is called from the FQDN on a reverse-proxy. If i call the ip/port directly they work perfectly.

Expected Behavior

For the extensions to work as expected when they are called with the fqdn.

Steps To Reproduce

  1. Run vscode. This is affecting the docker build with the PROXY_DOMAIN set.
  2. Chose and install any extensions.
  3. Validate that the extensions is enabled via the webui directly on the code-base server itself.
  4. Go to the reverse proxy published url. Everything works inside of vscode, except the plugins that are loaded and enabled but appear as inactive:

Directly on the server via http://$ip:8443:

image

Via the published URL:

image

Please note that this not happens with a regular code-server deployment in a RockyLinux8 with the exact same configuration file and reverse-proxy configuration file

My current reverse proxy config:

<VirtualHost *:80>
  ServerAdmin nuno@myfancydomain.net
  Servername vscode.myfancydomain.net
  Redirect / https://vscode.myfancydomain.net
  RewriteEngine On 
  RewriteCond %{REQUEST_METHOD} ^TRACE 
  RewriteRule .* - [F] 
</VirtualHost>                                  

<VirtualHost *:443>

ServerName  vscode.myfancydomain.net:443
ServerAdmin nuno@myfancydomain.net
Options +FollowSymLinks +Includes 
SSLEngine on
SSLProtocol             all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

SSLCertificateKeyFile   /etc/letsencrypt/live/myfancydomain.net-0002/privkey.pem
SSLCertificateFile      /etc/letsencrypt/live/myfancydomain.net-0002/cert.pem
SSLCertificateChainFile         /etc/letsencrypt/live/myfancydomain.net-0002/chain.pem

SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCompression Off
SSLCipherSuite EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:AES256-SHA256:AES128-SHA256:AES128-SHA:DHE-RSA-DES-CBC3-SHA:DES-CBC3-SHA:RC4-SHA:!aNULL:!eNULL:!ADH:!EXP:!LOW:!DES:!MD5:!PSK:!SRP:!DSS:!RC4:!ECDHE-RSA-DES-CBC3-SHA:!DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!ECDHE-RSA-DES-CBC3-SHA:!DES-CBC3-SHA

ErrorLog  "| /usr/bin/logger -thttpd_reverseproxy_vscode.myfancydomain.net -plocal6.err"
CustomLog "| /usr/bin/logger -thttpd_reverseproxy_vscode.myfancydomain.net -plocal6.notice" combined

ServerAlias vscode.net.xpto

SSLProxyEngine On
Options FollowSymLinks
ProxyRequests Off
Options FollowSymLinks
ProxyVia On
ProxyPreserveHost On
RemoteIPProxyProtocol On
RemoteIPHeader X-Forwarded-For

RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*)           ws://172.16.0.67:8444/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*)           http://172.16.0.67:8444/$1 [P,L]

ProxyPass        /  http://172.16.0.67:8444/ nocanon
ProxyPassReverse /  http://172.16.0.67:8444/

SSLProxyVerify      none
SSLProxyCheckPeerCN off 
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

# DISABED ModSec

<IfModule mod_security2.c>

</IfModule>

</VirtualHost>

Environment

- OS: Linux/OpenSUSE Tumbleweed.
- How docker service was installed: RPM

CPU architecture

x86-64

Docker creation

docker-up with the following docker-compose.yml:

---
version: "2.1"
services:
  code-server:
    image: lscr.io/linuxserver/code-server:latest
    container_name: code-server
    environment:
      - PUID=848560117
      - PGID=848560117
      - TZ=Etc/UTC
      - PASSWORD=XXXXXXXXXXXX
      - DEFAULT_WORKSPACE=/config/workspace #optional
      - PROXY_DOMAIN=vscode.myfancydomain.net
    volumes:
      - /config/HA/code-server-workspace:/config
    ports:
      - 8444:8443
    restart: unless-stopped

Container logs

Docker03:/config/code-server # docker logs code-server
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    848560117
User GID:    848560117
───────────────────────────────────────

[custom-init] No custom files found, skipping...
[2023-12-20T17:20:53.582Z] info  code-server 4.19.1 0c98611e6b43803a9d5dba222d7023b569abfb49
[2023-12-20T17:20:53.583Z] info  Using user-data-dir /config/data
[2023-12-20T17:20:53.646Z] info  Using config file /config/.config/code-server/config.yaml
[2023-12-20T17:20:53.647Z] info  HTTP server listening on http://0.0.0.0:8443/
[2023-12-20T17:20:53.647Z] info    - Authentication is enabled
[2023-12-20T17:20:53.647Z] info      - Using password from $PASSWORD
[2023-12-20T17:20:53.647Z] info    - Not serving HTTPS
[2023-12-20T17:20:53.647Z] info    - Proxying the following domain:
[2023-12-20T17:20:53.647Z] info      - {{port}}.vscode.myfancydomain.net
[2023-12-20T17:20:53.647Z] info  Using proxy URI in PORTS tab: //{{port}}.vscode.myfancydomain.net
[2023-12-20T17:20:53.647Z] info  Session server listening on /config/data/code-server-ipc.sock
[ls.io-init] done.
github-actions[bot] commented 9 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Roxedus commented 9 months ago

This works as expected with our ngix-based reverse proxy solution, so I'm inclined to say this is a issue with the apache setup.

NunoHiggs commented 9 months ago

@Roxedus

Then why does the exact same app outside of the docker container works behind the exact same reverse proxy? Its just this particular containerized version of code-server that has issues.

IE, for full disclosure i installed a rocky8 inside an lxc container, installed the app, and everything worked perfectly. But i would prefer to use this dockerized version.

Roxedus commented 9 months ago

You would have to traverse the normal troubleshooting path to answer that, browser console and webserver logs. This is not something we are able to reproduce.

NunoHiggs commented 9 months ago

@Roxedus

From what i can see in the logs this seams to be important:

ERR close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
.
.
.
The customer named handleDeltaExtensions has been holding on to the lock for 30s. This might be a problem.
.
.
.

The connection to wss://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49?reconnectionToken=4ed5c38c-991d-4cfa-b774-59d31a097a32&reconnection=false&skipWebSocketFrames=false was

The last one seams weird as i am not running on wss but only on ws. Is there a way to force code-server in this server to run tls/ssl?

Here are the console logs from the browser:

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. [vscode.net.xpto](https://vscode.net.xpto/?folder=/config/workspace/pub)
 INFO Resolving connection token (vscode.net.xpto)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Resolved connection token (vscode.net.xpto) after 4 ms [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-Management-5a06514b-4238-4ee3-ac98-8439aa199171)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-Management-5a06514b-4238-4ee3-ac98-8439aa199171) was successful after 169 ms. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
Loading failed for the <script> with source “https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vsda.js”. [vscode.net.xpto:1:1](https://vscode.net.xpto/?folder=/config/workspace/pub)
The web worker extension host is started in a same-origin iframe! [webWorkerExtensionHost.ts:113:11](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “usb”. [webWorkerExtensionHost.ts:135:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “serial”. [webWorkerExtensionHost.ts:135:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “hid”. [webWorkerExtensionHost.ts:135:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webWorkerExtensionHost.ts:135:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “usb”. [webWorkerExtensionHost.ts:140:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “serial”. [webWorkerExtensionHost.ts:140:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “hid”. [webWorkerExtensionHost.ts:140:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webWorkerExtensionHost.ts:140:9](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “usb”. [webWorkerExtensionHost.ts:191:32](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “serial”. [webWorkerExtensionHost.ts:191:32](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “hid”. [webWorkerExtensionHost.ts:191:32](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webWorkerExtensionHost.ts:191:32](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts)
 INFO Updating additional builtin extensions cache [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [Service Worker] registered [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d) was successful after 545 ms. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. [vscode.net.xpto](https://vscode.net.xpto/?folder=/config/workspace/pub)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. [vscode.net.xpto](https://vscode.net.xpto/?folder=/config/workspace/pub)
AI generated workspace trust dialog contents not available. [workspace.contribution.ts:324:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. [vscode.net.xpto](https://vscode.net.xpto/?folder=/config/workspace/pub)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:442:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:512:10](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
Feature Policy: Skipping unsupported feature name “autoplay”. [webviewElement.ts:486:16](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.ts)
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. [vscode.net.xpto](https://vscode.net.xpto/?folder=/config/workspace/pub)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [index-no-csp.html:980:13](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html?id=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&origin=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&swVersion=4&extensionId=&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=https%3A%2F%2Fvscode.net.xpto&remoteAuthority=vscode.net.xpto)
Feature Policy: Skipping unsupported feature name “autoplay”. [index-no-csp.html:980:13](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html?id=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&origin=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&swVersion=4&extensionId=&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=https%3A%2F%2Fvscode.net.xpto&remoteAuthority=vscode.net.xpto)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [index-no-csp.html:989:48](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html?id=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&origin=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&swVersion=4&extensionId=&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=https%3A%2F%2Fvscode.net.xpto&remoteAuthority=vscode.net.xpto)
Feature Policy: Skipping unsupported feature name “autoplay”. [index-no-csp.html:989:48](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html?id=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&origin=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&swVersion=4&extensionId=&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=https%3A%2F%2Fvscode.net.xpto&remoteAuthority=vscode.net.xpto)
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. [index-no-csp.html:992:18](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html?id=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&origin=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&swVersion=4&extensionId=&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=https%3A%2F%2Fvscode.net.xpto&remoteAuthority=vscode.net.xpto)
Feature Policy: Skipping unsupported feature name “autoplay”. [index-no-csp.html:992:18](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html?id=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&origin=fb5599a6-5dab-481c-b1e8-217ba3ae92ba&swVersion=4&extensionId=&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=https%3A%2F%2Fvscode.net.xpto&remoteAuthority=vscode.net.xpto)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
[log.ts:441:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] starting reconnecting loop. You can get more information with the trace log level. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] resolving connection... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d) was successful after 572 ms. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] reconnected! [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
[log.ts:441:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] starting reconnecting loop. You can get more information with the trace log level. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] resolving connection... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-Management-5a06514b-4238-4ee3-ac98-8439aa199171)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-Management-5a06514b-4238-4ee3-ac98-8439aa199171) was successful after 405 ms. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] reconnected! [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
The customer named handleDeltaExtensions has been holding on to the lock for 30s. This might be a problem. [extensionDescriptionRegistry.ts:382:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.ts)
  ERR Error received from starting extension host (kind: Remote) [log.ts:441:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
  ERR The remote extension host took longer than 60s to send its ready message. [log.ts:441:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
[log.ts:441:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] starting reconnecting loop. You can get more information with the trace log level. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] resolving connection... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d) was successful after 482 ms. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] reconnected! [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
[log.ts:441:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] starting reconnecting loop. You can get more information with the trace log level. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] resolving connection... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-Management-5a06514b-4238-4ee3-ac98-8439aa199171)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-Management-5a06514b-4238-4ee3-ac98-8439aa199171) was successful after 491 ms. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][Management   ][5a065…][reconnect] reconnected! [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
[log.ts:441:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] starting reconnecting loop. You can get more information with the trace log level. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] resolving connection... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d)... [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO Creating a socket (renderer-ExtensionHost-22775d74-7489-465a-8f84-a1b26f2a4b7d) was successful after 396 ms. [log.ts:421:12](https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/out-vscode-reh-web/vs/workbench/file:/home/runner/work/code-server/code-server/lib/vscode/src/vs/platform/log/common/log.ts)
 INFO [remote-connection][ExtensionHost][22775…][reconnect] reconnected!
  INFO [lifecycle] onBeforeUnload triggered and handled with veto support log.ts:421:12
Uncaught (in promise) Error: Throttler is disposed
    queue https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    trigger https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    b https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    promise callback*trigger https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    trigger https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    D https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:113
    flush https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:113
    flush https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:764
    H https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:1691
    F https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:1691
    w https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:1691
workbench.web.main.js:94:13757
Uncaught (in promise) Error: Unable to write file 'vscode-log:/20231221T073013/window.log' (Error: IndexedDB database 'vscode-web-db' is closed.)
    B https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:639
    writeFile https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:645
    flush https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:645
    g https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:646
    queue https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    trigger https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    b https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    promise callback*trigger https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    trigger https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:94
    g https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:646
    info https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:645
    h https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:645
    g https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:645
    info https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:645
    info https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:645
    info https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:646
    F https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:1691
    w https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vs/workbench/workbench.web.main.js:1691
workbench.web.main.js:639:19283
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. vscode.net.xpto
 INFO Resolving connection token (vscode.net.xpto)... log.ts:421:12
 INFO Resolved connection token (vscode.net.xpto) after 6 ms log.ts:421:12
 INFO Creating a socket (renderer-Management-5fe80504-c2c2-44ad-afa0-1c5665b8b984)... log.ts:421:12
 INFO Creating a socket (renderer-Management-5fe80504-c2c2-44ad-afa0-1c5665b8b984) was successful after 256 ms. log.ts:421:12
XHRGEThttps://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vsda_bg.wasm
[HTTP/1.1 404 Not Found 215ms]

GEThttps://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vsda.js
[HTTP/1.1 404 Not Found 277ms]

Loading failed for the <script> with source “https://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49/static/out/vsda.js”. vscode.net.xpto:1:1
The web worker extension host is started in a same-origin iframe! webWorkerExtensionHost.ts:113:11
Feature Policy: Skipping unsupported feature name “usb”. webWorkerExtensionHost.ts:135:9
Feature Policy: Skipping unsupported feature name “serial”. webWorkerExtensionHost.ts:135:9
Feature Policy: Skipping unsupported feature name “hid”. webWorkerExtensionHost.ts:135:9
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webWorkerExtensionHost.ts:135:9
Feature Policy: Skipping unsupported feature name “usb”. webWorkerExtensionHost.ts:140:9
Feature Policy: Skipping unsupported feature name “serial”. webWorkerExtensionHost.ts:140:9
Feature Policy: Skipping unsupported feature name “hid”. webWorkerExtensionHost.ts:140:9
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webWorkerExtensionHost.ts:140:9
Feature Policy: Skipping unsupported feature name “usb”. webWorkerExtensionHost.ts:191:32
Feature Policy: Skipping unsupported feature name “serial”. webWorkerExtensionHost.ts:191:32
Feature Policy: Skipping unsupported feature name “hid”. webWorkerExtensionHost.ts:191:32
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webWorkerExtensionHost.ts:191:32
 INFO Creating a socket (renderer-ExtensionHost-4ed5c38c-991d-4cfa-b774-59d31a097a32)... log.ts:421:12
 INFO [Service Worker] registered log.ts:421:12
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. vscode.net.xpto
 INFO Creating a socket (renderer-ExtensionHost-4ed5c38c-991d-4cfa-b774-59d31a097a32) was successful after 812 ms. log.ts:421:12
Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: 
Source Map URL: editorSimpleWorker.nls.js.map

Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: 
Source Map URL: extensionHostWorker.js.map

Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: 
Source Map URL: extensionHostWorker.nls.js.map

 INFO Updating additional builtin extensions cache log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] received socket timeout event (unacknowledgedMsgCount: 1, timeSinceOldestUnacknowledgedMsg: 20001, timeSinceLastReceivedSomeData: 21208). log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] starting reconnecting loop. You can get more information with the trace log level. log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] resolving connection... log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... log.ts:421:12
 INFO Creating a socket (renderer-ExtensionHost-4ed5c38c-991d-4cfa-b774-59d31a097a32)... log.ts:421:12
 INFO Creating a socket (renderer-ExtensionHost-4ed5c38c-991d-4cfa-b774-59d31a097a32) was successful after 153 ms. log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] reconnected! log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). log.ts:421:12
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
log.ts:441:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] starting reconnecting loop. You can get more information with the trace log level. log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] resolving connection... log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... log.ts:421:12
 INFO Creating a socket (renderer-Management-5fe80504-c2c2-44ad-afa0-1c5665b8b984)... log.ts:421:12
 INFO Creating a socket (renderer-Management-5fe80504-c2c2-44ad-afa0-1c5665b8b984) was successful after 482 ms. log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] reconnected! log.ts:421:12
The connection to wss://vscode.net.xpto/stable-0c98611e6b43803a9d5dba222d7023b569abfb49?reconnectionToken=4ed5c38c-991d-4cfa-b774-59d31a097a32&reconnection=false&skipWebSocketFrames=false was interrupted while the page was loading. browserSocketFactory.ts:79:17
  ERR Error received from starting extension host (kind: Remote) log.ts:441:12
  ERR The remote extension host took longer than 60s to send its ready message. log.ts:441:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). log.ts:421:12
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
log.ts:441:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] starting reconnecting loop. You can get more information with the trace log level. log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] resolving connection... log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... log.ts:421:12
 INFO Creating a socket (renderer-ExtensionHost-4ed5c38c-991d-4cfa-b774-59d31a097a32)... log.ts:421:12
 INFO Creating a socket (renderer-ExtensionHost-4ed5c38c-991d-4cfa-b774-59d31a097a32) was successful after 620 ms. log.ts:421:12
 INFO [remote-connection][ExtensionHost][4ed5c…][reconnect] reconnected! log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ). log.ts:421:12
  ERR 
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
log.ts:441:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] starting reconnecting loop. You can get more information with the trace log level. log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] resolving connection... log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] connecting to WebSocket(vscode.net.xpto:443)... log.ts:421:12
 INFO Creating a socket (renderer-Management-5fe80504-c2c2-44ad-afa0-1c5665b8b984)... log.ts:421:12
 INFO Creating a socket (renderer-Management-5fe80504-c2c2-44ad-afa0-1c5665b8b984) was successful after 493 ms. log.ts:421:12
 INFO [remote-connection][Management   ][5fe80…][reconnect] reconnected!
j0nnymoe commented 9 months ago

Are you using LXC to host the container? Maybe that's the issue.

NunoHiggs commented 9 months ago

@j0nnymoe i never found any issues with this configuration. And i am running other environments on it that rely heavily on reverse proxying. I can spin-up a vm so we can set this to bed, but i am fairly certain that that is not the problem

j0nnymoe commented 9 months ago

Lxc is not a supported/tested platform for us (https://docs.linuxserver.io/misc/support-policy/#unsupported). Even the Devs of Proxmox don't recommend using LXC if you plan to host docker containers.

j0nnymoe commented 9 months ago

https://forum.proxmox.com/threads/podman-in-lxc-what-do-overlay-not-support-file-handles-and-conflicting-options-userxattr-metacopy-mean.121825/#post-529565

NunoHiggs commented 9 months ago

@j0nnymoe thanks for the feedback. I did indeed spun up a vm and the exact same configurations worked without issues. This was a first. We are running almost 45 different environments in docker containers inside of lxc's without any issue. This one is really weird.

I will look into what i can do to mitigate this with some help from docker. Thanks so much for your help