Replies: 1 comment 3 replies
-
As a sanity check, does everything work if you access code-server
without a proxy? And/or can you check if it works with a reverse
proxy like NGINX or Caddy?
It does not look like your code is persisting the path or query
variables, so maybe that has something to do with it. A web
socket request will look something like this, with the hash and
reconnection token redacted for brevity:
ws://localhost:8080/stable-<hash>?reconnectionToken=<token>&reconnection=false&skipWebSocketFrames=false
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
Currently, I am implementing a reverse proxy using python, and I am trying to use this reverse proxy to operate the code-server as Using Let's Encrypt with NGINX.
Currently, HTTP communication has confirmed that it sends a request to the code-server through my reverse proxy and receives a response.
However, I try to connect to the websocket server of the code-server through the code below, but I get a 403 error.
Is there anything else I need to do to resolve this 403 error?
Or did I enter the wrong websocket url of code-server?
I'd appreciate it if you could give me an answer.
For your information, I am sending you the reverse proxy error for 403 errors, the browser screenshot connected to the code-server, and the developer tool screenshot together.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions