title: WebClient hangs until timeout
body: <p>I try do download a web page using the WebClient, but it hangs until the timeout in WebClient is reached, and then fails with an Exception.</p>
  
  <p>The following code will not work</p>
  
  <pre><code>WebClient client = new WebClient();
  string url = "https://www.nasdaq.com/de/symbol/aapl/dividend-history";
  string page = client.DownloadString(url);
  </code></pre>
  
  <p>Using a different URL, the transfer works fine. For example</p>
  
  <pre><code>WebClient client = new WebClient();
  string url = "https://www.ariva.de/apple-aktie";
  string page = client.DownloadString(url);
  </code></pre>
  
  <p>completes very quick and has the whole html in the page variable.</p>
  
  <p>Using a HttpClient or WebRequest/WebResponse gives the same result on the first URL: block until timeout exception.</p>
  
  <p>Both URLs load fine in a browser, in roughly 2-5 seconds.
  Any idea what the problem is, and what solution is available?</p>
  
  <p>I noticed that when using a WebBrowser control on a Windows Forms dialog, the first URL loads with 20+ javascript errors that need to be confirm-clicked. Same can be observed when developer tools are open in a browser when accessing the first URL.</p>
  
  <p>However, WebClient does NOT act on the return it gets. It does not run the javascript, and does not load referenced pictures, css or other scripts, so this should not be a problem.</p>
  
  <p>Thanks!</p>
  
  <p>Ralf</p>