I had this problem, after trolling through the internet for about six hours, I found a solution.
Open your cmd.exe (by typing cmd into the run box) then type ‘netsh winsock reset catalog’ without the quotes, fixed the issue straight away.
You will likely need to reauthenticate your login, though.
Thank you this worked like a charm. Finally fixed my issues. This post needs to be moved to the top.