Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My signalR connection is established but can not invoke the hub function. #110

Open
SFareedi opened this issue Mar 27, 2018 · 0 comments
Open

Comments

@SFareedi
Copy link

After establishing the signalR hub connection, when i try to invoke the Hub function as following

domElement.btnConnect.click(function () {
objHub.server.adminConnect();
});

I got the following error.

There was an error invoking Hub method 'signalrhub.AdminConnect'.
at Object.error (jquery.signalR-2.2.2.min.js:9)
at init.l (jquery.signalR-2.2.2.min.js:9)
at t.fn.init. (jquery.signalR-2.2.2.min.js:9)
at t.fn.init. (jquery.signalR-2.2.2.min.js:9)
at t.fn.init.dispatch (jquery-1.10.2.js:5109)
at t.fn.init.elemData.handle (jquery-1.10.2.js:4780)
at Object.trigger (jquery-1.10.2.js:5021)
at init.triggerHandler (jquery-1.10.2.js:5711)
at Object.triggerReceived (jquery.signalR-2.2.2.min.js:9)
at WebSocket.e.socket.e.socket.onmessage (jquery.signalR-2.2.2.min.js:9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant