Base solution for your next web application
Open Closed

SignalR on Azure - outlying requests #8024


User avatar
0
BobIngham created

When I go to Application Insights for my API (dotnet core2.2 on framework 4.6.1 - Zero 6.8.1) I see outliers in my operations chart. When I drill down I see that they are GET / signalr requests: Here's another image of top 3 operations, the third is my own implementation of signalr which is currently on test in the host with one or two connected clients. The ten failures are inline with a auto-scale out operation today. My log is empty of errors. However, when I go to my tenant home page I notice that the chat functionality is gone. . There are no errors in my console and signalr connects ok:

Where do I start looking?


9 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bobingham

    SignalR Connection seems fine. Is it possible that someone disabled Chat Feature for tenant named "LINDSEY" ?

  • User Avatar
    0
    BobIngham created

    Hi @ismcagdas, how does one turn on/off Chat Feature? I don't understand why it's no longer showing on the IU.

  • User Avatar
    0
    BobIngham created

    Hi @ismcagdas, a quick reminder, I am no longer getting the chat functionality in my tenants: Where do I start looking to fix this?

  • User Avatar
    0
    maliming created
    Support Team

    how does one turn on/off Chat Feature?

    see https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Chat

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.

  • User Avatar
    0
    BobIngham created

    Sorry, @ismcagdas, I know you're doing your very best to clear the forum in readiness for 8.2 but: My csproj file: My AppFeatureProvider: My AppFeatures: And when I go to set the chat feature for any of my tenants: Where is the chat feature? My Startup: Is there something obvious I'm doing wrong or should I just comment out this line - #if FEATURE_SIGNALR - in AppFeatureProvider? And my start

  • User Avatar
    0
    BobIngham created

    Adding another answer because of current sort problem....

  • User Avatar
    0
    BobIngham created

    By commenting out the two lines as mentioned above the features now appear. I don't understand why I would have to comment out "#if FEATURE_SIGNALR" but I think you have more important things to do than investigate this. Closing this issue and marking as answered, if you have comments please open and make them!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bobingham

    Actually it was a temporary solution when SignalR was not available in .NET Core. Latest version of AspNet Zero doesn't have this variable anymore. So, deleting it is a good solution in your case.