Base solution for your next web application
Open Closed

SignalR with ABP 3.6.2 #5177


User avatar
0
pankajmathur created

Hi,

In ABP version 3.6.1, the following Javascript Client was working perfectly fine. But, since when we update the ABP to 3.6.2, it is not working.... In the following code, it throws the error: "signalr.min.js:15 Uncaught (in promise) WebSocket is not in the OPEN state"

Is there a new signalr.min.js file for ABP 3.6.2, If yes, please let me know the path from where I can download the same.

<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body>

&lt;script src=&quot;Scripts/jquery-1.6.4.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;Scripts/jquery.signalR-2.2.2.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;http://localhost:62114/lib/signalr-client/signalr.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
    
    var connection = new signalR.HubConnection('http://localhost:62114/signalr', { transport: signalR.TransportType.WebSockets });
    connection.start().then(function () {
        connection.send("RegisterPOS", 1018, "418307399342882834");
    });
   
&lt;/script&gt;

</body> </html>

Please advise... Regards, Mahendra


1 Answer(s)