HA Core + Synology + Kemp Loadbalancer + Cloudfare - 522 Error

Yes, if you have not setup websocket on the reverse proxy it will fail to connect.

Look here for some guidance: