OrleansContrib / SignalR.Orleans

SignalR backend based on Orleans.
MIT License
295 stars 64 forks source link

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

Open chandruchiku opened 1 year ago

chandruchiku commented 1 year ago

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