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?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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" ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    BobIngham created

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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!

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)