Search code examples
reactjs.netsignalrazure-cloud-servicesazure-signalr

Can't invoke server's method from client - Error: An unexpected error occurred invoking 'SignIn' on the server


I'm build a project using SignalR. As Front I'm using .Net Core, as Back I'm using React. So in my localhost the project is working, but when i deploy this project i get an error. In azure I have created: 2 web application - one used for cliend, and the other one for server. 1 Azure SignalR service (i tested it online and it worked) 1 Azure SQL Database

So when i try to invoke Method it now working and show me this error. Someone know how to solve this problem?

enter image description here


Solution

  • So the problem was that my Database was empty... the migration did not upload, Update the database solved it.