We are trying to use
socket.io for our websocket.
It seems that everything is working perfect when I’m not using cloudflare edge proxy.
When I’m starting the edge proxy on my websocket url above, it disconnects every 1 second and I have wired issues with my websocket:
websocket client (my chrome browser) show wired failed error without any error message (see pics).
websocket server (my nodejs
socket.io webserver) has the following error: “client close with reason transport close”.
I’m 100% sure that the problem is on your side, because when I disable the edge proxy the socket is working just fine. In addition, if I’m testing it on my other domain with edge proxy not sure why (you need to tell me why) the socket will work as expected.