Fix SOCKET.IO errors behind Cloudflare

Publié le: 04 février 2023
sur la chaîne: RTHD
2,844
30

I had this issue when I placed my Socket.IO server behind cloudflare. Cloudflare is used to protect servers from attacks and acts like a proxy between the user and your server. The problem here seems that cloudflare was having issues proxying to the socket.io. My guess is that cloudflare was trying to connecto the socket.io server using http and not https and this is why these 404 not found errors were happening. This video explains how to fix this issue. Maybe most people are not implementing SSL on their socket.io servers and not experiencing this problem but it's safer to implement SSL on both cloudflare AND your Socket.IO server.

Please like and subscribe if this helped you out! Thanks so much!

Please support my channel via Patreon and get exclusive items!   / risharde  


Sur cette page du site, vous pouvez voir la vidéo en ligne Fix SOCKET.IO errors behind Cloudflare durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur RTHD 04 février 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,844 fois et il a aimé 30 téléspectateurs. Bon visionnage!