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

SingalR Clients fail to connect when using Orleans Server V-7.2.1 #154

Open
chandruchiku opened this issue Jul 12, 2023 · 0 comments
Open

Comments

@chandruchiku
Copy link

chandruchiku commented Jul 12, 2023

I am using the package version as below.

    <PackageReference Include="Microsoft.Orleans.Streaming" Version="7.2.1" />
    <PackageReference Include="Microsoft.Orleans.Server" Version="7.2.1" />
    <PackageReference Include="SignalR.Orleans" Version="7.1.0" />

When I connect a SignalR client from front end, server throws error and client is unable to recieve any messsages.

Error:
fail: SignalR.Orleans.OrleansHubLifetimeManager[0]
An error has occurred 'OnConnectedAsync' while adding connection snI4GUTd8dlngtX6C7289A [hub: ContactLensHub (serverId: 286d4169-dc6e-407c-8f93-b3d8eef595e7)]
System.MissingMethodException: Method not found: 'System.Threading.Tasks.ValueTask Orleans.Runtime.GrainReference.InvokeAsync(Orleans.Serialization.Invocation.IInvokable)'.
at OrleansCodeGen.SignalR.Orleans.Clients.Proxy_IClientGrain.global::SignalR.Orleans.Clients.IClientGrain.OnConnect(Guid arg0)
at SignalR.Orleans.OrleansHubLifetimeManager`1.OnConnectedAsync(HubConnectionContext connection)

It works fine if I rollback Orleans Server and Streaming to 7.1.0

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