Would you be able to share some additional details on this?
In most cases, network connectivity is the biggest culprit of these issues. Depending on your device, the fixes may be as simple as ensuring your wifi connection is stable or as complex as having to configure your firewall/router.