WebSocket forwarding works on local codespaces, but not on the web #3908
Replies: 9 comments 3 replies
-
I can confirm this behavior on my project too. |
Beta Was this translation helpful? Give feedback.
-
Can confirm. Also, afaik gitpod has websocket forwarding so it should be possible for Github Codespaces as well. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to setup my vite built + express backend project running in two different ports and the websocket support is making my frontend HMR not to work. It would be awesome if web based codespaces could support binding websockets too! |
Beta Was this translation helpful? Give feedback.
-
Any updates on this issue? I wanted to use MinIO in a container inside the code-space, tried to allow http upgrades using NGINX, and I was not able to retrieve the objects. I was forced to use an older MinIO docker image that did not rely on web-sockets. |
Beta Was this translation helpful? Give feedback.
-
Same I'm looking to set up a code spaces for a project but I need websockets to connect from the web |
Beta Was this translation helpful? Give feedback.
-
I think is a problem related to remote connection with ssh clients, as gitpod.io also have the same problem! |
Beta Was this translation helpful? Give feedback.
-
any updates? this still doesnt work |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I've got this same problem. It requires my endpoint to accept incoming websocket connections "wss://" |
Beta Was this translation helpful? Give feedback.
-
If I host a web server with websockets (over the same port as regular HTTP requests), it does not work when using GitHub Codespaces on the web, i.e. through a URL like
https://fonsp-pluto-jl-89fv-1234.githubpreview.dev/
.When using Codespaces locally (MacOS), with the GitHub Codespaces extension, it works!
According to my web server, only the
Connection: close
HTTP request arrives at the server, theConnection: upgrade
request does not. The same web server (Pluto.jl) works through other proxied setups, like heroku,jupyter-server-proxy
,ngrok
, and more.Beta Was this translation helpful? Give feedback.
All reactions