Search code examples
c#asp.netsignalrsignalr-hubepiserver

SignalR/EPiServer "/signalr/hubs?" 404 on IIS when trying to use Live Monitor


I'm trying to get Live Monitor with EPiServer to work.

However, when the page loads,it returns a 302 on /signalr/hubs?, which is just a redirect to our 404 page.

See this screenshot: enter image description here

This is my startup class:

using Microsoft.Owin;
using Owin;

[assembly: OwinStartup(typeof(MyWebApp.Web.Plumbing.OwinStartup))]

namespace MyWebApp.Web.Plumbing
{
    public class OwinStartup
    {
        public void Configuration(IAppBuilder app)
        {
            app.MapSignalR();
        }
    }
}

I have installed these NuGet packages:

  • Microsoft.Owin
  • Microsoft.Owin.Security
  • Microsoft.AspNet.SignalR.Core
  • Microsoft.AspNet.SignalR.SystemWeb
  • EPiServer.LiveMonitor

I don't have any experience working with this; can anyone help?


Solution

  • I did a reinstall of the EPiServer.LiveMonitor package, which pulled all dependecies, including signalr. After that I set up live monitor again, and then tried to load the page. I still got the same result, but this time totally emptying the asp.net cache worked, as oppsed to last time.