The only time I have gotten the "connection error" message was when something on my network was blocking the internet communication from the software. So if you have a proxy or firewall, you should check that first. That's also how others in this thread solved the problem.
If you're on a corporate network, you probably need to talk to your IT team about it
