I have signalR v2 installed and referenced on my page
<script src="~/Scripts/jquery-1.10.2.min.js"></script>
<script src="~/Scripts/jquery.signalR-2.2.0.min.js"></script>
<script src="~/signalr/hubs"></script>
But somewhy I get error message in browser debugger:
Error: You are using a version of the client that isn't compatible with the server. Client version 1.5, server version undefined.
I guess the problem is that client appears to be 1.5 version. There are other packages installed in the project such as Autofac SignalR 2 Integration but I guess they do not influence on client version.
The problem occurred because all the strings in camel case were transferred to snake case by the component of another developer. The version of the signalR was stored in one of the variables with changed case and script didn't manage to find out the version cuz the variable with version was undefined. Hope this'll help someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With