You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rejected WebSocket upgrades get an empty reply in vp dev and vp preview #940
When a WebSocket upgrade is rejected with an HTTP response, such as a 401 from onBeforeConnect or from middleware, vp dev and vp preview close the connection without sending it, and curl reports Empty reply from server.
Void returns the 401, and wrangler dev sends it to the client.
The response is dropped by Cloudflare's Vite plugin, which Void's dev and preview servers run on: cloudflare/workers-sdk#15170.
The fix, cloudflare/workers-sdk#17213, was closed automatically because only registered collaborators can open pull requests there.
Activity