Replies: 3 comments 1 reply
|
If you can I'd recommend using `code-server --link`. That uses our own
"inverting proxy" and handles everything for you.
As for the issue here, it does look like it's having trouble with
websockets. Are you using App Engine? The proxy readme says there are
extra steps to get websockets working there:
https://github.com/google/inverting-proxy#limitations
|
0 replies
|
Thanks for replying, I'm using a Google internal version of the inverting Proxy. This version provides a shim. I was curious if the Code Server is expecting some specific headers or require additional configuration if its behind a Proxy: or |
1 reply
|
👋 @gogasca were you able to figure it out? I'm running into a similar issue. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
code-server --version: 3.8.0 c4610f7Problem description:
When I try to access VSCode behind an inverse Proxy, I get a blank page. If I select "View source" in the blank page, I do see HTML. Not sure if its related to websockets or any other configuration.
Topology:
My URL is something like this: https://dc49045da149f3f-x.y.z.com
HTTPS -> HTTP
Browser <---> HTTPS Proxy <---> [ Proxy Agent Docker <---> VM with Vscode 3.8 ]
Tested:
Without Proxy: Browser <---> [ VM with Vscode 3.8 ] Works
Without Proxy Agent: Browser <---> Proxy <---> [ VM with Vscode 3.8 ] Fails
Proxy:
https://github.com/google/inverting-proxy
In Browser:
Should I configure an extra setting in VSCode with my external URL ?
Any pointers are appreciated.
In View Source:
All reactions