Cloudflare Worker reverse proxy for Websockets

I am using a Cloudflare worker to reverse proxy to my game server, which is a Websocket connection built on another platform. But the proxy refuses to work, no mater what i try. What can I do?