Skip to content

[Bug]: Failed to load resource: the server responded with a status of 404 (Not Found) #6421

Closed
@qjaden

Description

@qjaden

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser:
    • Microsoft Edge 115.0.1901.200 (x86_64)
    • Google Chrome 116.0.5845.140 (x86_64)
    • Safari 16.5.2 (18615.2.9.11.10)
  • Local OS: MACos 13.4.1 (c) (22F770820d)
  • Remote OS: Ubuntu 12.04
  • Remote Architecture: AMD64
  • code-server --version: 4.16.1 94ef377

Steps to Reproduce

Steps to Reproduce

  1. docker-compose.yml
version: "3"

services:
  code-server:
    container_name: code-server
    image: codercom/code-server
    ports:
      - "8080:8080"
    volumes:
      - ./project:/home/coder/project:rw
      - ./config:/home/coder/.config:rw
    environment:
      PASSWORD: 123456789
    restart: always

  1. Nginx
server {
    listen       20005 ssl;
    server_name  control.xxxxx.xxx;
    # server_tokens off;

    ssl_certificate      /etc/letsencrypt/control.xxx.xxx_nginx/control.xxxx.xxx_bundle.crt;
    ssl_certificate_key  /etc/letsencrypt/control.xxx.xxx_nginx/control.xxxx.xxx.key;

    ssl_session_cache    shared:SSL:1m;
    ssl_session_timeout  5m;
    ssl_ciphers  HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers  on;

    location / {
        proxy_pass http://127.0.0.1:8080/;
        # proxy_set_header      Host                $host;
        # proxy_set_header      X-Real-IP           $remote_addr;
        # proxy_set_header      X-Forwarded-For     $proxy_add_x_forwarded_for;
        # proxy_set_header      X-Forwarded-Host    $host;
        # proxy_set_header      X-Forwarded-Proto   $scheme;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection upgrade;
        proxy_set_header Accept-Encoding gzip;
        proxy_set_header Origin https://$host;
        proxy_set_header Host $host;
        # proxy_set_header X-Forwarded-Host $remote_addr;
        proxy_set_header X-Forwarded-For $remote_addr;
    }

}

Expected

No error reported

Actual

image image

Logs

code-server | [15:10:18] RequestStore#acceptReply was called without receiving a matching request 59
code-server | [15:10:18] RequestStore#acceptReply was called without receiving a matching request 60
code-server | File not found: /usr/lib/code-server/lib/vscode/out/vsda.js
code-server | File not found: /usr/lib/code-server/lib/vscode/out/vsda_bg.wasm
code-server | [15:12:19] [172.24.0.1][f6e5d897][ManagementConnection] New connection established.
code-server | [15:12:21] [172.24.0.1][f3f857a7][ExtensionHostConnection] New connection established.
code-server | [15:12:21] [172.24.0.1][f3f857a7][ExtensionHostConnection] <6276> Launched Extension Host Process.
code-server | [15:12:21] RequestStore#acceptReply was called without receiving a matching request 61
code-server | [15:12:21] RequestStore#acceptReply was called without receiving a matching request 62

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions