Advertisement
Guest User

Untitled

a guest
Nov 27th, 2022
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 9.56 KB | None | 0 0
  1. Error System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/ac-cbvexv2-shard-00-00.k6np9ir.mongodb.net:27017" }", EndPoint: "Unspecified/ac-cbvexv2-shard-00-00.k6np9ir.mongodb.net:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
  2.  ---> MongoDB.Driver.MongoConnectionException: An exception occurred while receiving a message from the server.
  3.  ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
  4.    at MongoDB.Driver.Core.Misc.StreamExtensionMethods.ReadBytes(Stream stream, Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
  5.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(CancellationToken cancellationToken)
  6.    --- End of inner exception stack trace ---
  7.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(CancellationToken cancellationToken)
  8.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(Int32 responseTo, CancellationToken cancellationToken)
  9. --- End of stack trace from previous location ---
  10.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(Int32 responseTo, CancellationToken cancellationToken)
  11.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveMessage(Int32 responseTo, IMessageEncoderSelector encoderSelector, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken)
  12.    at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken)
  13.    at MongoDB.Driver.Core.Connections.HelloHelper.GetResult(IConnection connection, CommandWireProtocol`1 helloProtocol, CancellationToken cancellationToken)
  14.    at MongoDB.Driver.Core.Connections.ConnectionInitializer.SendHello(IConnection connection, CancellationToken cancellationToken)
  15.    at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
  16.    --- End of inner exception stack trace ---
  17.    at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
  18.    at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
  19.    at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
  20.    at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2022-11-27T17:12:02.7393957Z", LastUpdateTimestamp: "2022-11-27T17:12:02.7393958Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/ac-cbvexv2-shard-00-01.k6np9ir.mongodb.net:27017" }", EndPoint: "Unspecified/ac-cbvexv2-shard-00-01.k6np9ir.mongodb.net:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
  21.  ---> MongoDB.Driver.MongoConnectionException: An exception occurred while receiving a message from the server.
  22.  ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
  23.    at MongoDB.Driver.Core.Misc.StreamExtensionMethods.ReadBytes(Stream stream, Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
  24.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(CancellationToken cancellationToken)
  25.    --- End of inner exception stack trace ---
  26.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(CancellationToken cancellationToken)
  27.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(Int32 responseTo, CancellationToken cancellationToken)
  28. --- End of stack trace from previous location ---
  29.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(Int32 responseTo, CancellationToken cancellationToken)
  30.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveMessage(Int32 responseTo, IMessageEncoderSelector encoderSelector, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken)
  31.    at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken)
  32.    at MongoDB.Driver.Core.Connections.HelloHelper.GetResult(IConnection connection, CommandWireProtocol`1 helloProtocol, CancellationToken cancellationToken)
  33.    at MongoDB.Driver.Core.Connections.ConnectionInitializer.SendHello(IConnection connection, CancellationToken cancellationToken)
  34.    at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
  35.    --- End of inner exception stack trace ---
  36.    at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
  37.    at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
  38.    at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
  39.    at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2022-11-27T17:12:03.0467993Z", LastUpdateTimestamp: "2022-11-27T17:12:03.0467994Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/ac-cbvexv2-shard-00-02.k6np9ir.mongodb.net:27017" }", EndPoint: "Unspecified/ac-cbvexv2-shard-00-02.k6np9ir.mongodb.net:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
  40.  ---> MongoDB.Driver.MongoConnectionException: An exception occurred while receiving a message from the server.
  41.  ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
  42.    at MongoDB.Driver.Core.Misc.StreamExtensionMethods.ReadBytes(Stream stream, Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
  43.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(CancellationToken cancellationToken)
  44.    --- End of inner exception stack trace ---
  45.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(CancellationToken cancellationToken)
  46.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(Int32 responseTo, CancellationToken cancellationToken)
  47. --- End of stack trace from previous location ---
  48.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(Int32 responseTo, CancellationToken cancellationToken)
  49.    at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveMessage(Int32 responseTo, IMessageEncoderSelector encoderSelector, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken)
  50.    at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken)
  51.    at MongoDB.Driver.Core.Connections.HelloHelper.GetResult(IConnection connection, CommandWireProtocol`1 helloProtocol, CancellationToken cancellationToken)
  52.    at MongoDB.Driver.Core.Connections.ConnectionInitializer.SendHello(IConnection connection, CancellationToken cancellationToken)
  53.    at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
  54.    --- End of inner exception stack trace ---
  55.    at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
  56.    at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
  57.    at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
  58.    at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2022-11-27T17:12:03.0333343Z", LastUpdateTimestamp: "2022-11-27T17:12:03.0333345Z" }] }.
  59.    at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
  60.    at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
  61.    at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
  62.    at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
  63.    at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken)
  64.    at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken)
  65.    at MongoDB.Driver.MongoClient.StartImplicitSession(CancellationToken cancellationToken)
  66.    at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken)
  67.    at MongoDB.Driver.MongoDatabaseImpl.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
  68.    at MongoDB.Driver.MongoDatabaseImpl.ListCollections(ListCollectionsOptions options, CancellationToken cancellationToken)
  69.    at Bismuth.Controllers.BismuthController.GetRoles() in C:\Users\Justs\OneDrive\Documents\Visual Studio 2022\Projects\Calendarium\Bismuth\Controllers\BismuthController.cs:line 36
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement