Laravel echo dont work with cloudflare

Has anyone managed to work with the laravel echo (laravel websocket) along with the cloudflare?

I have a project that I’m not able to put into production because it doesn’t connect the websocket when using cloudflare, but in a local environment and in a very safe environment (public dns ec2) it works.