Issue with php websockets

Hello! I have issue with php websockets. We use ‘ws: //’ protocol, when connecting to the server via socket in logs I see that the request received, but there is no response on client side.
If i remove proxying and leave only dns, then everything works. Looks like some setting is missed on cloudflare side. I have another implementation with nodejs socketio which using WebSocket transport and they working fine without any changes. The only dfifference that socketio used wss: // protocol

wss:// means connecting via HTTPS. If you use Cloudflare with HTTPS, ws:// won’t work since it’s trying to connect over the non-secure protocol. Try using the secure protocol for your php application as well.

we are using port that allowed with http protocol and it’s must work i think. as i mentioned, server receive request but didn’t return the answer