Repository navigation
Error Loading webview #7389
Description
Activity
- addedbugSomething isn't workingSomething isn't workingtriageThis issue needs to be triaged by a maintainerThis issue needs to be triaged by a maintainer
on Jun 22, 2025 @jefftuschool Any errors in the browser console? Other things that may cause problems:
- Browser extensions
- Private Mode
- Firewall
@benz0li My Edge and Chrome have no extensions and plugins that is also the reason why I tested it with 4 browsers, with all Chromium Base browsers I have the problem I could still test Opera which is Chromium Base and it will be very safe not go when I install it and test it
having the same issue. No luck on browser with no extension/plugin enabled. Everything goes back to normal after downgrade back to 4.100.3. Pretty sure that the problem is introduced in version 4.101.1
Have the same issue. When using Amazon Q plugin, the login page can't be loaded. I'm using Windows+Edge, remote env is a x86 Ubuntu.
codeserver --version 1.101.1 bd34cd510f44b25d40b3e30ec9a706a949428c16 x64
Error message:
Error loading webview: Error: Could not register service worker: TypeError: Failed to register a ServiceWorker for scope ('https://xxx.cloudfront.net/stable-bd34cd510f44b25d40b3e30ec9a706a949428c16/static/out/vs/workbench/contrib/webview/browser/pre/') with script ('https://xxx.cloudfront.net/stable-bd34cd510f44b25d40b3e30ec9a706a949428c16/static/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=xxx.cloudfront.net'): A bad HTTP response code (401) was received when fetching the script..
Before this error, 2 other errors occurred when loading the page:
signService.ts:90 GET https://xxx.cloudfront.net/stable-bd34cd510f44b25d40b3e30ec9a706a949428c16/static/node_modules/vsda/rust/web/vsda_bg.wasm 404 (Not Found)
amdX.ts:163 GET https://xxx.cloudfront.net/stable-bd34cd510f44b25d40b3e30ec9a706a949428c16/static/node_modules/vsda/rust/web/vsda.js net::ERR_ABORTED 404 (Not Found)
These 2 files should be provided by the code server but got 404.
Hope these may help.
I have the same problem when I use gemini code assist.
Facing the same issue with Jupyter notebooks. Pinning to 4.100.3 resolves the problem.
Huh yeah can confirm that Chromium is broken but Firefox works.
I wonder why it appears to be dropping credentials?
Reverting this seems to fix it: microsoft/vscode@a654631
Have not found anything yet on if this is expected.
Workaround:
- Run
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.100.3to install the previous version. - Run
sudo reboot nowto restart the environment.
Both commands can be run in the code server terminal. After reboot, refresh the web page and it will work.
Reacted by Spide- Run
We are experiencing the same error in our company environment. As @DiscreteTom mentioned, we had to revert back. Will this be fixed? We cannot change our company's browser policies to get this working again.
- added a commit that references this issue
on Jun 25, 2025 I will make a new release today with the fix.
Reacted by vector090, joshfert, Spide, DiscreteTom and Juan Carlos Moreno


Is there an existing issue for this?
OS/Web Information
code-server --version: 4.101.1Steps to Reproduce
Expected
No error as previous 4.100.3
Actual
No error
Logs
Screenshot/Video
Does this bug reproduce in native VS Code?
Yes, this is also broken in native VS Code
Does this bug reproduce in GitHub Codespaces?
Yes, this is also broken in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response