Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2506

Connection attempt failed / timeout exception with Cloud and .NET SDK 3.0.1

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.1
    • 3.0.2
    • None
    • None
    • 1

    Description

      Follow-on from our call today.

      Stack trace:

      2020-05-15 15:53:30.7499|INFO|Couchbase.Core.ClusterContext|Successfully retrieved DNS SRV entries: [cb-0001.cb.4e4a5728-654b-4868-86d0-2327f7776464.dp.cloud.couchbase.com:11207,cb-0002.cb.4e4a5728-654b-4868-86d0-2327f7776464.dp.cloud.couchbase.com:11207,cb-0000.cb.4e4a5728-654b-4868-86d0-2327f7776464.dp.cloud.couchbase.com:11207]
      00:00:21.4411108
      Unhandled exception. System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 3.226.211.80:11207
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
      at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
      at System.Net.Sockets.Socket.<>c.<ConnectAsync>b__274_0(IAsyncResult iar)
      — End of stack trace from previous location where exception was thrown —
      at Couchbase.Core.IO.Connections.ConnectionFactory.CreateAndConnectAsync(IPEndPoint endPoint, CancellationToken cancellationToken) in C:\zproj\couchbase-net-client\src\Couchbase\Core\IO\Connections\ConnectionFactory.cs:line 50
      at Couchbase.Core.IO.Connections.ConnectionPoolBase.CreateConnectionAsync(CancellationToken cancellationToken) in C:\zproj\couchbase-net-client\src\Couchbase\Core\IO\Connections\ConnectionPoolBase.cs:line 65
      at Couchbase.Core.IO.Connections.DataFlow.DataFlowConnectionPool.<>c_DisplayClass28_0.<<AddConnectionsAsync>g_StartConnection|0>d.MoveNext() in C:\zproj\couchbase-net-client\src\Couchbase\Core\IO\Connections\DataFlow\DataFlowConnectionPool.cs:line 251
      — End of stack trace from previous location where exception was thrown —
      at Couchbase.Core.IO.Connections.DataFlow.DataFlowConnectionPool.AddConnectionsAsync(Int32 count, CancellationToken cancellationToken) in C:\zproj\couchbase-net-client\src\Couchbase\Core\IO\Connections\DataFlow\DataFlowConnectionPool.cs:line 287
      at Couchbase.Core.IO.Connections.DataFlow.DataFlowConnectionPool.InitializeAsync(CancellationToken cancellationToken) in C:\zproj\couchbase-net-client\src\Couchbase\Core\IO\Connections\DataFlow\DataFlowConnectionPool.cs:line 80
      at Couchbase.Core.ClusterNode.InitializeAsync() in C:\zproj\couchbase-net-client\src\Couchbase\Core\ClusterNode.cs:line 174
      at Couchbase.Core.DI.ClusterNodeFactory.CreateAndConnectAsync(HostEndpoint endPoint, CancellationToken cancellationToken) in C:\zproj\couchbase-net-client\src\Couchbase\Core\DI\ClusterNodeFactory.cs:line 55
      at Couchbase.Core.ClusterContext.BootstrapGlobalAsync() in C:\zproj\couchbase-net-client\src\Couchbase\Core\ClusterContext.cs:line 231
      at Couchbase.Cluster.Couchbase.Core.Bootstrapping.IBootstrappable.BootStrapAsync() in C:\zproj\couchbase-net-client\src\Couchbase\Cluster.cs:line 397
      at Couchbase.Cluster.ConnectAsync(ClusterOptions options) in C:\zproj\couchbase-net-client\src\Couchbase\Cluster.cs:line 121
      at CloudValidation.Program.Main(String[] args) in c:\zproj\CloudValidation\CloudValidation\Program.cs:line 43
      at CloudValidation.Program.<Main>(String[] args)

      c:\zproj\CloudValidation\CloudValidation\bin\Debug\netcoreapp3.1\CloudValidation.exe (process 29284) exited with code -532462766.
      Press any key to close this window . . .

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          No work has yet been logged on this issue.

          People

            jmorris Jeff Morris
            matthew.groves Matthew Groves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty