The following guide provides a systematic approach to resolving the issue, moving from simple to more complex solutions.
If you're still having trouble, it might be helpful to check if: You're using a virtual machine or a dedicated laptop. The PC is disconnected from the internet often.