SignalR not working from Hangfire

Tags: #<Tag:0x00007fe1d8a0fac0>

I’m using SignalR to send messages from the server to the client. In a normal situation this works well, except when sending a message from a Hangfire backgroundjob. I’m using IHubContext to send the messages and if I check out the lifetimemanager of that, I can see that when running from Hangfire it doesn’t have any connections.

Has anyone ran into this issue before, I’m really interested in the solution!