-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Bug]: Failed to load resource: the server responded with a status of 404 (Not Found) #6421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have a similar issue using a nginx server pointing to my code-server machine to add HTTPS, its supposed just enabling web socket support should fix it, but not work for me. |
I couldn't find any relevant static resources in the server either. 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 |
The vsda resources do not appear to be included in the OSS build of VS Code, and they appear to be optional, so I think it is something we can safely ignore. Are you running into a bug or is it just the 404s? |
@code-asher in my case throws this error and don't let me do anything else, it just reload and throws the error again. |
Got it, this looks like something else. Usually 1006 closures on web sockets are caused by incorrectly configured reverse proxies but your configuration looks OK to me. You might try running with I will try to reproduce with your config later today. |
I experimented with your config although I changed NGINX to listen without TLS since I have no certificates to use, and I am accessing it via the port (http://localhost:20005) rather than a name. It worked for me so I am not sure what is going on. |
Is possible to share your configuration? to compare with mine. |
In my case looks like I was missing whit two instructions:
I set it up in my nginx and the error is gone, thanks!! |
just the 404s |
@ircasillase Oh oops sorry my bad, I got confused and thought you were the issue author so I thought the above config was yours. Glad you got it fixed! It sounds like the origin check was the source of your problem. @ZhengHui-Z Awesome, I think there is nothing more we can do here then. The 404s are expected, for now. Please keep in mind though that by setting |
i stumbled on this error as well, but it seems I can't fix it: I tried several browsers but no luck, I've also tried without proxy and it works fine.
|
Have you tried |
no, it doesn't work, if it's of any help it is installed on Home Assistant. All requests work except for those little images |
Oh sorry I misread your post and thought we were talking about the web socket. Yeah I believe the icons are provided by a font. The default is
You could check to see if you can open the URL in a separate tab. Maybe something is preventing that request from loading. A browser extension maybe, or something in Home Assistant. Also check the browser console logs and see if there are any other errors or warnings, like about content security policy or cross-origin stuff for example. If you are using an extension that changes the icons, it might be different, so let me know if that is the case. |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.16.1 94ef377Steps to Reproduce
Steps to Reproduce
Expected
No error reported
Actual
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?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: