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

[Bug]: Socket connection to 'wss://domain.com/ng-cli-ws' failed: in chrome's developer console when running angular in code-server

Đang mở
#6,205 7 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
angular, aws, kubernetes, typescript
Lĩnh vực
cloud, networking, web-dev

Hướng nghiên cứu

Bắt đầu với các hướng dẫn proxy của code-server và tái hiện quá trình triển khai thông qua EKS và Emissary-ingress, sau đó kiểm tra base href trong src/index.html và các thiết lập ng serve trong package.json. Sử dụng console dành cho nhà phát triển của Chrome để so sánh đường dẫn WebSocket đang bị lỗi với ánh xạ đã cấu hình; hoàn tất khi ứng dụng Angular tải mà không có lỗi kết nối ng-cli-ws.

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

Mô tả

bug
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: Chrome
  • Local OS: Ubuntu
  • Remote OS: Ubuntu
  • Remote Architecture: amd64
  • code-server --version: 4.12.0
Steps to Reproduce
  1. Deploy code-server as pod and create service in EKS cluster
  2. Use Emissary-ingress as proxy and create mapping to code-server userpod (eg /tempmap/ --> userpod service)
  3. Access the userpod at the URL www.domain.tld/tempmap/
  4. Install Nvm , npm and angular
  5. switch to the created directory and do ng serve and access the browser
  6. Now we will get white screen error
  7. Follow the code-server proxy guidelines
  8. try a) use in src/index.html
    b) add --serve-path /absproxy/4200 to ng serve in your package.json
  9. Socket connection to 'wss://domain.tld/ng-cli-ws' failed: not found error in chrome's developer console
Expected

Not getting Socket connection to 'wss://domain.tld/ng-cli-ws' failed: error in chrome developer consoleWebSocket

Actual

Getting webSocket connection to 'wss://domain.tld/ng-cli-ws' failed error

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?
  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
  • I am using HTTPS.
Notes

Code-server is deployed on AWS EKS cluster, and I am using emissary-ingress as proxy to access code-server. SSL is attached to AWS application load balancer used to access code-server. We are getting this error not always but getting them randomly.

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.