VyacheslavPritykin / Sitecore-SignalR

SignalR support for Sitecore prior to SXP 9.0
MIT License
2 stars 1 forks source link

/signalr/hubs net::ERR_ABORTED 404 (Not Found) #1

Open eriansuwandi opened 5 years ago

eriansuwandi commented 5 years ago

Hi cheers,

I'm using sitecore 9.1 and i got 404 errors when load the /signalr/hubs.

image

I already tried with many approach but the result still same. Hope someone can help me..

Thanks in advance!!

VyacheslavPritykin commented 5 years ago

Hi Erian. Unfortunately for this project, I'm not working in Sitecore anymore and I don't have access to any Sitecore instances to freshen my memories and help you. I will archive this repository soon as I don't expect to work on it.

azamshaikh commented 3 years ago

@eriansuwandi

Hi Erian, Not sure if you are still looking for this solution. This repo was really helpful and this fix might help someone.

You are getting this error because SignalR is not initialized. Patch SignalR initialization after first Sitecore processor, something similar to the below given example.

Note: Replace xxx below with your assembly.

<owin.initialize>
        <processor type="xxx.xxx.xxx.InitializeSignalR, xxx.xxx" 
                    patch:after="processor[@type='Sitecore.Owin.Pipelines.Initialize.SetGlobalExceptionHandler, Sitecore.Owin']"/>
      </owin.initialize>