In my case, it was a proxy issue. I'm using Fiddler to intercept requests, and once I launched Fiddler, the problem disappeared.