SignalR“signalr / hubs”在连接时显示404错误

时间:2016-12-01 02:17:09

标签: jquery angularjs signalr

我正在使用基于example over here.的AngularJS实现SignalR股票代码。但在连接信号器时,我在控制台中收到此错误。 GET http://localhost:9000/signalr/negotiate?clientProtocol=1.5&connectionData=%5B%7B%22name%22%3A%22stockticker%22%7D%5D&_=1480557137118 404 (Not Found) jquery.js:9536

让我用图像显示输出,以便更清晰。

enter image description here

这是我的jquery.js文件中显示的错误。

try {

     // Do send the request (this may raise an exception)
     xhr.send( options.hasContent && options.data || null );
     } catch ( e ) {

    // #14683: Only rethrow if this hasn't been notified as an error yet
    if ( callback ) {
    throw e;
     }
     }

如图所示,数据仅加载但无法找到任何响应或输出。

由于我是信号概念的新手,因此在其中有很多困惑。所以,有人可以帮我解决这个问题吗?

0 个答案:

没有答案
相关问题