Almost always a Wi-Fi issue. Move closer to your router, or use a 5GHz network if available. If it's recurring, try downloading the class and casting from the downloaded version (premium).