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)
-
0
Hi @pankajminda
There might be several reasons for this.
- 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.
- The order of SignalR might be added in a wrong way, could you cehck if it is added as shown below ?
-
0
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
-
0
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.