-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.2.3
-
Component/s: Connectivity
-
None
-
Environment:windows server 2008r2
-
None
-
None
-
None
-
None
-
None
-
None
-
None
the stack trace is :
System.AggregateException: One or more errors occurred. ---> MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Sockets.SocketException: 提供了一个无效的参数。 at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent) at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue) at MongoDB.Driver.Core.Connections.TcpStreamFactory.ConfigureConnectedSocket(Socket socket) in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver.Core\Core\Connections\TcpStreamFactory.cs:line 65 at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateNetworkStream(Socket socket) in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver.Core\Core\Connections\TcpStreamFactory.cs:line 171 at MongoDB.Driver.Core.Connections.TcpStreamFactory.d_4.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver.Core\Core\Connections\TcpStreamFactory.cs:line 58 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at MongoDB.Driver.Core.Connections.BinaryConnection.d47.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 285 — End of inner exception stack trace — at MongoDB.Driver.Core.Connections.BinaryConnection.d47.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 296 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Servers.ClusterableServer.d40.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver.Core\Core\Servers\ClusterableServer.cs:line 242 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at MongoDB.Driver.Core.Operations.BulkMixedWriteOperation.d39.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver.Core\Core\Operations\BulkMixedWriteOperation.cs:line 204 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.OperationExecutor.d3`1.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver\OperationExecutor.cs:line 46 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.d61`1.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver\MongoCollectionImpl.cs:line 759 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionImpl`1.d22.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver\MongoCollectionImpl.cs:line 180 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.MongoCollectionBase`1.d39.MoveNext() in D:\jenkins\workspace\mongo-csharp-driver-2.2.x-build\src\MongoDB.Driver\MongoCollectionBase.cs:line 323 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Framework.Zhaogang.Job.Infrastructure.Data.MongoDB.Dao`1.d_a.MoveNext() in d:\VS Projects\git\JobCenter2\jobcenter\Framework.Zhaogang.Job.Infrastructure\Data\MongoDB\Dao.cs:line 137 — End of inner exception stack trace
- related to
-
CSHARP-2011 ObjectDisposedException on new connection
-
- Closed
-