Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

SignalR messages not received by client when IdentityServer is enabled #11569


User avatar
0
pankajminda created

Hi,

We are experiencing an issue with the chat feature when IdentityServer is enabled in our *.Web.MVC project, the SignalR messages are not delivered and some contain the payload as undefined. The same works in your standard application. Attached screenshot of the app. with chrome dev tools when SignalR messages go from client to Server, but do not receive anything.

When we disable IdentityServer all SignalR messages get delivered without any issues.

Please advise us on how we can proceed further. Thank you in advance for your cooperation.

-Pankaj


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

    Hi @pankajminda

    There might be several reasons for this.

    1. If you are hosting your app on IIS, SignalR URL might be longer than allowed URL lenght. You can increase allowed URL and Query String lenght on your IIS.
    2. The order of SignalR might be added in a wrong way, could you cehck if it is added as shown below ?

  • User Avatar
    0
    pankajminda created

    Hi,

    Verified the order its correct. Regarding url length, does it change if IdentityServer is enabled ? since it works when disabled.

    Note: We are using Asp.Net Core + MVC project

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @pankajminda

    I assume yes. But, before configuring the URL lenght, is there any error logs on the server side ? If not, you can check IIS logs.