Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Remote source path given 404 error when working http://127.0.0.1:8080/vscode url

Open
#7,261 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Reproduce the 404s by opening code-server at http://127.0.0.1:8080/vscode and inspect the remote-resource URL in Chrome DevTools. Read lib/vscode/src/vs/base/common/network.ts around line 224, where the issue reports an extra /vscode path. Done means the remote-resource URL no longer duplicates the base path and PHP extensions work correctly.

Written by the indexing model from the issue text.

Description

bug triage
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: Chrome 133.0.6943.142
  • Local OS: Macos Sonama 14.4
  • Remote OS:
  • Remote Architecture:
  • code-server --version: v4.98.0 and also main branch
Steps to Reproduce
  1. Open code-server in chrome with http://127.0.0.1:8080/vscode
  2. Open chrome developer console
  3. You can see 404 errors
Expected

Proper functioning of extensions

Actual

This error causes the extensions not to work correctly. The php files look like txt because the extension is not working.

In my investigations, http://127.0.0.1:8080/vscode/vscode/oss-dev/vscode-remote-resource?path=. I saw that extra /vscode was added in this url. lib/vscode/src/vs/base/common/network.ts If I change the code in line 224 to this._remoteResourcesPath, there seems to be no problem. But I don't know if the problem is only caused by this.

Logs

Screenshot/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 GitHub Codespaces?

No, this works as expected in GitHub Codespaces

Are you accessing code-server over a secure context?
  • I am using a secure context.
Notes

No response

Dominant language
TypeScript
Stars
79.4k
Forks
6.9k
Avg merge
2d 13h
Merged PRs (30d)
39

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/code-server

All issues in coder/code-server

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.