Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#7,261 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Tái hiện các lỗi 404 bằng cách mở code-server tại http://127.0.0.1:8080/vscode và kiểm tra URL của remote-resource trong Chrome DevTools. Đọc lib/vscode/src/vs/base/common/network.ts quanh dòng 224, nơi issue báo cáo có thêm đường dẫn /vscode. Hoàn tất khi URL của remote-resource không còn nhân đôi đường dẫn cơ sở và các extension PHP hoạt động chính xác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
79.4k
Fork
6.9k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/code-server

Tất cả issue của coder/code-server

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.