8
我有signalR的WebSocket显示通知未能在WebSocket的握手代码连接signalR错误:400
代码连接,如:部署到生产服务器signalR后
$.connection.hub.start().done(function(){
console.log("connected");
});
var notif = $.connection.notificationHub;
console.log(notif);
生产服务器使用的是IIS 8.5 是什么让这个错误?谢谢。
[SignalR:WebSocket握手期间的错误:意外的响应代码:400]的可能的重复(http://stackoverflow.com/questions/23130152/signalr-error-during-websocket-handshake-unexpected-response-code-400 ) –
你在使用.netcore吗? – jeanfrg