-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: chrome
- Local OS:windows 11
- Remote OS:ubuntu22.04
- Remote Architecture:amd64
code-server --version:4.108.2
Steps to Reproduce
1.click a photo or extension details and changelog page
2.frontend raise a request to stable-3c0b449c6e6e37b44a8a7938c0d8a3049926a64c/static/out/vs/workbench/contrib/webview/browser/pre/index.html
3.backend return 404
4.page shows :not found
5.execute ln -sf /usr/lib/code-server/lib/vscode/out/vs/workbench/contrib/webview/browser/pre /usr/lib/code-server/lib/vscode/out/vs/workbench/contrib/
6.it turns to be normal temporarily
It seems that the problem is caused by a path mismatch. The request was for resources under contrib/webview/browser/pre, but in reality, searching under contrib/pre resulted in a 404 error
Expected
photos/extensions details and changelog page can load normally
Actual
page shows :not found
Logs
File not found: /usr/lib/code-server/lib/vscode/out/vs/workbench/contrib/pre/index.html
[09:43:13] File action: writeFile /root/.local/share/code-server/User/workspaceStorage/-7ce55b05/chatSessions/d499ac7e-b3e1-4ae4-a016-c11c9d72f866.json[09:43:13] File action: writeFile /root/.local/share/code-server/User/workspaceStorage/-7ce55b05/chatEditingSessions/d499ac7e-b3e1-4ae4-a016-c11c9d72f866/state.json
[09:43:15] File action: writeFile /root/.local/share/code-server/User/workspaceStorage/-7ce55b05/chatSessions/d499ac7e-b3e1-4ae4-a016-c11c9d72f866.json[09:43:15] File action: writeFile /root/.local/share/code-server/User/workspaceStorage/-7ce55b05/chatEditingSessions/d499ac7e-b3e1-4ae4-a016-c11c9d72f866/state.json
[2026-02-12T09:43:17.642Z] debug 2 active connections[09:43:17] [File Watcher (node.js)] Request to start watching: /mnt/data/selected_images/001003.jpg (excludes: /root/.local/share/code-server/extensions/**, includes: ["**/.git/objects/**/**","**/.git/subtree-cache/**/**","**/.hg/store/**/**"], filter: <none>, correlationId: <none>)
[09:43:17] [File Watcher (node.js)] Started watching: '/mnt/data/selected_images/001003.jpg'[2026-02-12T09:43:17.863Z] debug heartbeat
File not found: /usr/lib/code-server/lib/vscode/out/vs/workbench/contrib/pre/index.html[09:43:18] File action: writeFile /root/.local/share/code-server/User/workspaceStorage/-7ce55b05/chatSessions/d499ac7e-b3e1-4ae4-a016-c11c9d72f866.json
[09:43:18] File action: writeFile /root/.local/share/code-server/User/workspaceStorage/-7ce55b05/chatEditingSessions/d499ac7e-b3e1-4ae4-a016-c11c9d72f866/state.json[09:43:19] File action: writeFile /root/.local/share/code-server/User/workspaceStorage/-7ce55b05/chatEditingSessions/d499ac7e-b3e1-4ae4-a016-c11c9d72f866/state.jsonScreenshot/Video
No response
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in VS Code web?
No, this works as expected in VS Code web
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
No response