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

Orleans Streams throws: Operation is not valid due to the current state of the object. in .NET5 host #7057

Closed
rjygraham opened this issue Apr 15, 2021 · 1 comment
Assignees
Labels
stale Issues with no activity for the past 6 months
Milestone

Comments

@rjygraham
Copy link

The current Microsoft.Orleans.OrleansServiceBus package has a dependency on an older version of Microsoft.Azure.EventHubs which is incompatible with .NET5.

When running the SiloHost, you will encounter an exception similar to:

System.InvalidOperationException
  HResult=0x80131509
  Message=Operation is not valid due to the current state of the object.
  Source=Microsoft.Azure.Amqp
  StackTrace:
   at Microsoft.Azure.Amqp.Transport.TransportStream.Flush()

This has been detailed in another GH issue:
Azure/azure-amqp#165

Explicitly adding the latest version (currently 4.3.1) of Microsoft.Azure.EventHubs package resolves this exception.

@ReubenBond
Copy link
Member

Fixed by #7255. Thanks for reporting & investigating, @rjygraham! I expect 3.5.0 to be released within the next day.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 3, 2021
@ghost ghost added the stale Issues with no activity for the past 6 months label Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale Issues with no activity for the past 6 months
Projects
None yet
Development

No branches or pull requests

3 participants