Connection attempt failed / timeout exception with Cloud and .NET SDK 3.0.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 . . .

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Jeffry Morris May 21, 2020 at 8:10 PM

I believe this a duplicate of NCBC-2508; if not we can re-open.

Jeffry Morris May 18, 2020 at 3:32 PM

Alternate Addresses is not fully supported by sdk3, this needs to be done.

Duplicate
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 15, 2020 at 8:00 PM
Updated May 21, 2020 at 8:10 PM
Resolved May 21, 2020 at 8:10 PM
Instabug