title: Getting 401 Error with SignalR Owin Host 2.0.3
body: <p>I am trying to setup a load test exercising as much of the code base as possible. I am running the server and client in the same process:</p>
  
  <pre><code>class Program 
  {
      class Startup
      {
          public void Configuration(IAppBuilder app)
          {
              app.MapSignalR(new HubConfiguration
              {
                  EnableDetailedErrors = true
              });
          }
      }
      public static void Main(string[] args)
      {
          var signalr = "http://localhost:21337/";
  
          using (WebApp.Start&lt;Startup&gt;(signalr))
          {
              var connection = new HubConnection(signalr) {Credentials = CredentialCache.DefaultNetworkCredentials};
  
              var catalog = connection.CreateHubProxy("CatalogHub");
  
              connection.Start().Wait();
  
              catalog.Invoke("SendChat", String.Empty, String.Empty, String.Empty);
  
              Console.ReadLine();
          }
      }
  }
  </code></pre>
  
  <p>However, on <code>connection.Start.Wait()</code> I get a 401 Unauthorized error. I am not sure why because IIS is nowhere in the pipeline.</p>