Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#6,205 7 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
30/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
angular, aws, kubernetes, typescript

研究方向

從 code-server 代理指南開始,透過 EKS 和 Emissary-ingress 重現部署,然後檢查 src/index.html 中的 base href 和 package.json 中的 ng serve 設定。使用 Chrome 的開發人員主控台,將失敗的 WebSocket 路徑與已設定的對應進行比較;當 Angular 應用程式在沒有 ng-cli-ws 連線錯誤的情況下載入時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
TypeScript
星號
79.4k
分支
6.9k
平均合併
2 天 13 小時
30 天內合併 PR
39

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

coder/code-server 的其他 Issue

查看 coder/code-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。