Crash in DiscoveryClient.GetAsync("http://localhost:5000")
<p>As in title: the console app crashes while executing following line</p>

<pre><code>disco = await DiscoveryClient.GetAsync("http://localhost:5000");
</code></pre>

<p>No exception thrown, even when I wrap it in <code>try catch</code> debug just brokes on the line; no related info in Output. Visual Studio just stops debuging the app and returns to edit mode.</p>

<p>Has anyone met with something similar? :( What can I try to do?</p>

<p>I'm using VS2015, console app is a .NETCoreApp v1.0, uses "IdentityModel": "2.0.0-rc6";.
Identity Server 4 runs on localhost:5000, .NETCoreApp v1.0.</p>

<p>Invoking <code>GetAsync</code> method with <a href="https://demo.identityserver.io" rel="nofollow">https://demo.identityserver.io</a> parameter results in error descripted as well.</p>

<p>I'm following this tutorial: <a href="https://identityserver4.readthedocs.io/en/dev/quickstarts/1_client_credentials.html" rel="nofollow">https://identityserver4.readthedocs.io/en/dev/quickstarts/1_client_credentials.html</a></p>