coder / coder/code-server

SpringCloud Gateway

オープン
#7,053 コメント 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
- Local OS:Linux ubuntu 20
- Remote OS:Linux ubuntu 20
- Remote Architecture: x86
- `code-server --version`:latest

### Steps to Reproduce

1. Deploy codeserver locally, disable auth bind IP 0.0.0.0, port arbitrary.
2. Configure static proxy using Spring Cloud Gateway.
3. Page access, the proxy shows 403 shankhan failed.
4. It was found that the host in the forwarded request header of the gateway has double quotation marks.
5. After modifying the gateway, the handshake was successful, but the codeserver kept reporting errors and the connection had reset.

### Expected

Similar to nginx proxy, file service access can be performed normally

### Actual

The page took a long time to load and was unable to establish a file server connection

### Logs

_No response_

### Screenshot/Video

_No response_

### Does this bug reproduce in native VS Code?

I did not test native VS Code

### Does this bug reproduce in GitHub Codespaces?

Yes, this is also broken 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 を短くまとめたダイジェスト。