[CSHARP-3110] Recurring Exceptions after first connection Created: 26/May/20  Updated: 27/Oct/23  Resolved: 22/Jun/20

Status: Closed
Project: C# Driver
Component/s: Error Handling
Affects Version/s: 2.7.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Tobias Stüker Assignee: Dmitry Lukyanov (Inactive)
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Win10 x64



 Description   

After first connection established and or writing and reading to the database by the csharp driver my backgroundservice throws recurring MongoDB.Driver.MongoCommandExceptions. The connection is not active anymore but the exceptions are thrown in the dependet Libraries. The Service itself does nothing. 
The connection works fine, connection is established, reading and writing is possible.

Recurring Debug Output:
Exception thrown: 'MongoDB.Driver.MongoCommandException' in MongoDB.Driver.Core.dll
Exception thrown: 'MongoDB.Driver.MongoCommandException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in MongoDB.Driver.Core.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoConnectionException' in MongoDB.Driver.Core.dll
Exception thrown: 'MongoDB.Driver.MongoConnectionException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoCommandException' in MongoDB.Driver.Core.dll
Exception thrown: 'MongoDB.Driver.MongoCommandException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in MongoDB.Driver.Core.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoAuthenticationException' in mscorlib.dll
Exception thrown: 'MongoDB.Driver.MongoConnectionException' in MongoDB.Driver.Core.dll
Exception thrown: 'MongoDB.Driver.MongoConnectionException' in mscorlib.dll

 

 



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 26/May/20 ]

Hey t.stueker@beckhoff.com, can you additionally provide the following:
1. the whole error messages.
2. It will be great if you can provide a small repro application(console) with this behavior?

Generated at Wed Feb 07 21:44:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.