title: Blazor An error has occurred. This application may no longer respond until reloaded. Reload
body: <p>I am hosting a Blazor Application and the web api on the same server but on tablet browsers it keeps give the users this message
  An error has occurred. This application may no longer respond until reloaded. Reload
  so please how I can know what is the problem exactly and how to avoid it.
  I search in internet and found some said I have to write in _Host.cshtml but the problem still exist.</p>
  <pre><code> &lt;script src=&quot;_framework/blazor.server.js&quot;&gt;&lt;/script&gt;
      &lt;script&gt;
          Blazor.defaultReconnectionHandler._reconnectCallback = function (d) {
              document.location.reload();
          }
      &lt;/script&gt; 
  </code></pre>