-
Notifications
You must be signed in to change notification settings - Fork 711
System.InvalidOperationException at System.ThrowHelper.ThrowInvalidOperationException_ConcurrentOperationsNotSupported #311
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
Comments
I believe this is related to #306. Prior to 2.3.0, the design internally mutated the property bag associated with an action. In edge cases, this could result in various concurrency problems ranging from a pegged CPU to the error you're seeing. This only happens - sometimes, which is why it has taken so long for this to be detected. The latest package (v2.3.0) addresses this issue and pre-aggregates all of the API version information such that the property bag is fully read-only in the pipeline. My recommendation would be to update to 2.3.0. Let me know if this issue persists post 2.3.0+ or you encounter another issue. Thanks. |
Ok, great! I remember seeing a thread around this one. |
I can confirm that this is fixed now. Got the same exception with 2.2.0 in my logs. It disappeared completly after upgrading to 2.3.0. |
Great! Is this issue safe to close out now? |
I haven't seen this either after the upgrade 🙂 |
It seems that this issue has been mitigated. Feel free to re-open the issue or create a new issue if you continue to run into problems. Thanks. |
Added an issue to corefx so its easier to find information about this exception in search https://github.com/dotnet/corefx/issues/31186 |
I'm using
Microsoft.AspNetCore.Mvc.Versioning
version 2.2.0 and recently started seeing this in my service logs:Stack trace:
Any ideas what could be causing this?
The text was updated successfully, but these errors were encountered: