I see multiple options, but in my case due to proxy I was facing this issue, most of company needs proxy, as per your org setup here: File>>Settings>>Search for "HTTP Proxy"