coder / coder/code-server

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

オープン
#7,261 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug triage
主要言語
TypeScript
スター
79.3k
フォーク
6.8k
平均マージ
2日 6時間
マージ済み PR(30日)
41

説明

### Is there an existing issue for this?

- [x] 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

```shell

```

### 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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。