A common issue related to your internet connection. Until now, I can't find a permanent solution but Pilovali mentioned that re-starting your router will fix it. In case it didn't, completely remove your router port and then re-start your whole PC. I'm a hundred percent sure that your issue will be fixed by following the steps provided, let me know if it's not fixed.
Thanks for the fast reply. I couldn't edit the post to add a screenshot of the error. Here it is Show content
(https://imgur.com/a/wGqjNvq)[/spoiller]
I'll try what you said above right now ^