-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Various Files Reporting 404 #3328
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
Also forgot to note that I have tried the steps in #1836 |
Is there some kind of timeout or error in the network tab for In my experience this happens because the main bundle fails to download so VS Code tries to request the individual files instead but we only ship the bundle, not the individual sources. It should get cached though so theoretically if you've successfully loaded once it should keep working unless the cache was cleared. This might have something to do with how we load the workbench in |
#2286 (comment) may also be relevant. |
Oh, or not, http2_protocol_error is causing |
Okay, so Firefox handles it fine, and doing some further research shows that Chrome will fail a file load if the headers don't match what it receives. (e.g Content-Size). Now, I have no idea what headers could cause this, any ideas? These are both specifically on the URL |
Also, doing full reloads (no cache) for these. |
And, now firefox is broken after the no-cache reload, didn't notice since the grey background still appeared, and most of my screen was allocated to devtools |
Do you have any idea if this happens when you access code-server directly without a reverse proxy? It might also help to check the proxy logs to see if it says anything about that request. I wonder if you try to open As for headers I don't think we send |
Hmm. I cannot say that I am getting the same thing. I am also using Nginx as reverse proxy w/ HTTP/2 enabled. Mainly using reverseproxy for the ssl part. My setup is exactly like yours. On a dedicated ubuntu VM 20.04. |
Sorry for the late response, but I can confirm it's something funky with the proxy. Directly accessing the server works fine. I'll close this since it's something on my system. |
OS/Web Information
code-server --version
: 3.9.3 fe2dc2dSteps to Reproduce
Expected
Perfectly Functional Server
Actual
Blank Screen
Log + Info
The server is behind an nginx proxy. The server used to be functional, when I go to one of the URLs reported as a 404, I receive:
{"error":"ENOENT: no such file or directory, open '/usr/lib/code-server/lib/vscode/out/vs/base/common/lifecycle.js'"}
. I have checked the folder it is looking for, and it indeed does not contain those files. Issue #1640 seems to have a similar issue, yet was fixed with an update.Browser Log: (domain cropped off)

The text was updated successfully, but these errors were encountered: