"Made Public" ports stripping my headers (websocket troubleshooting)

Im working on a chess app and attempting to set up a WebSocket server on a “Made Public” port using the " [port] - $WEB_HOST "mapping. Crucially when the port is public and open, my server backlogs show that the “Upgrade: websocket” and “Conection: Upgrade” headers are being stripped by the proxy before reaching the backend, causing the websocket handshake to fail with a “404”. Does anyone know how to make sure these headers are correctly passed through the backend service in the Firebase Studio environment? I filed a support ticket and got a response a week later telling me to make the port public, which the images i provided clearly show that I did. Ive attempted to provide those images here which also include teminal and console logs, but the uploads continuously fail.

1 Like

Managed to upload the images:

1 Like

1 Like

1 Like

That is interesting. Can you please file a bug at Get help with Firebase Studio

We will take a look :sweat_smile:

Thanks,
Kirupa

Ok. I will do it again

1 Like