Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpringCloud Gateway #7053

Open
1 of 2 tasks
wangyunChina opened this issue Oct 28, 2024 · 1 comment
Open
1 of 2 tasks

SpringCloud Gateway #7053

wangyunChina opened this issue Oct 28, 2024 · 1 comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@wangyunChina
Copy link

Is there an existing issue for this?

  • 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

@wangyunChina wangyunChina added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Oct 28, 2024
@code-asher
Copy link
Member

  • What version do you mean by latest?
  • What errors are you getting? Can you provide the browser console logs and network errors?
  • You marked that Codespaces is also broken, do you mean you tried to put Codespaces behind your proxy?
  • Does code-server work without the proxy?
  • Do you have a way I could easily reproduce? Docker setup or something maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants