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
Not reciving messages with Microsoft.AspNet.SignalR.Client in client .Net Core 2.0 #4103
Comments
Hello @georginacm Try to do the question here https://github.com/aspnet/SignalR this repository is the one related to signalR net core. Regards. |
Hi! I already did it: aspnet/SignalR#2156 and they redirected me here... |
You are in the correct repo. So to clarify, since you brought up .NET Core, does this only fail when the SignalR client is used from a .NET Core application? I.e. does the same code work in .NET Framework? Can you post an example that reproduces the issue? |
Closing this as we haven't heard from you. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue if we're able to identify the problem. |
I would like to re-open this issue, as I nearly the exact scenario and "probably" the same failure. net461 server running Microsoft.AspNet.SignalR" Version="2.2.3" all is wonderful, connected with websockets, does a invoke ( but if I change the client project from I can get connected, but only with SSE, and I mostly get InvalidOperation exceptions when |
Can you enable the client-side logging described in our documentation and attach the logs here? (Please do not just copy-paste them in, please drag and drop the file on to the comment to attach it as a separate file, the logs are large and putting them in the comment body makes it very difficult to review). Also, if you can post a sample application that reproduces the issue that would help. |
looks like I had a load balancer issue. The connection was being made to one server, but invoke was going to a different server. LB in question was an F5 big-ip, it needed default persistence setup. |
This should be fine in ASP.NET SignalR as long as you have a backplane registered. See the scale-out documentation here: https://docs.microsoft.com/en-us/aspnet/signalr/overview/performance/scaleout-in-signalr |
I dont have a backplane, and dont want one. Each Server was supplied with a eventsource of equal data. the group membership was the key I am pretty sure I can leave this closed. the dotnet core client using the framework signalr.client is working properly for me with 3 servers after the load balancer persistence change. |
Hi,
I have a SingalR server with .Net Framework 4.5.2, and a SignalR Client ( Console Application) with .Net Framework 4.5.2 using:
Server:
Client:
All of them are working fine since months ago.
But currently I have another SignalR client in a .Net Core 2.0 Console Application using the same version of Microsoft.AspNet.SignalR.Client. It is connecting fine, but is not reciving messages from the hub connection. Is there any issue with this nuget in .Net Core?
This is the code:
Thanks!
The text was updated successfully, but these errors were encountered: