Francisco Goldenstein
Francisco Goldenstein

Reputation: 13767

SignalR Core sending messages but not receiving messages

Im using SignalR Core and ASPNET Core 2.1 and in some computers messages are not received. Those computers can send msgs so I think something is blocking the incoming msgs.

I have already disabled the firewall but the problem persisted.

Any ideas what could be blocking them? Tomorrow I will use Fiddler to try to get more info.

Upvotes: 1

Views: 741

Answers (1)

Francisco Goldenstein
Francisco Goldenstein

Reputation: 13767

I realized that some messages were delivered and others not and the ones that were not working were the ones that were meant for specific users. It ended up being a case-sensitive issue :(

SignalR uses the user identifier that is saved, in my case, in a cookie and it is case sensitive. So, setting it always in lower case and lowercasing the user names fixed the issue.

SignalR users and groups are case-sensitive.

Upvotes: 4

Related Questions