-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
ObjectDisposedException in Gremlinq After Service Inactivity #1488
Comments
Version 12.3.0-preview.7 (on GitHub packages) aims to provide a fix. Could you give it a try? |
I tried version 12.3.0-preview.13 and still encountered the same error. |
@EliorGigi I'd be surprised if it was the same stack trace though. Can you provide a stack trace for the latest stable version (12.3.0) ? |
We updated to version 12.6.0 and saw a large reduction in timeout exceptions with this and similar stack traces. However, we started seeing a few that looked like this: Message : The CancellationTokenSource has been disposed. Stack Trace:
|
Regarding as fixed, later issue tracked here |
Discussed in #1487
Originally posted by EliorGigi February 23, 2024
Description:
I have developed an ASP.NET Core Web API utilizing Gremlinq for CosmosDB graph data access. The service, injected with IGremlinQuerySource, is registered as a singleton.
The issue arises after the service has been inactive for a few hours. Subsequently, the first Gremlin query results in a System.ObjectDisposedException associated with the semaphore.
Error log:
Any idea what could be going wrong? It occurs for every Gremlin query and not for a specific one.
The text was updated successfully, but these errors were encountered: