Hi @Andrew_Davidson, thanks for the prompt reply.
I’m probably misunderstanding something, but in practice, I’m not able to get an ATLAS connection from a second app tier VPC created in the same region as the first (which has a working vpce/PrivateLink connection). Each app tier has its own AWS vpce connected to its own ATLAS Private Endpoint (PrivateLink connection).
The ATLAS cluster is a single region cluster, each app tier is using an identical connection string.
The following exception is thrown from the second app tier -
System.TimeoutException:
A timeout occured after 30000ms selecting a server using CompositeServerSelector
{
Selectors =
MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector,
LatencyLimitingServerSelector { AllowedLatencyRange = 00:00:00.0150000 }
}
Client view of cluster state is
{
ClusterId : "1",
ConnectionMode : "ReplicaSet",
Type : "ReplicaSet",
State : "Disconnected",
Servers : [
{
ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/pl-0-eu-west-2.uagzl.mongodb.net:1024" }",
EndPoint: "Unspecified/pl-0-eu-west-2.uagzl.mongodb.net:1024",
State: "Disconnected",
Type: "Unknown",
LastUpdateTimestamp: "2020-07-01T13:30:51.2980600Z"
},
{
ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/pl-0-eu-west-2.uagzl.mongodb.net:1025" }",
EndPoint: "Unspecified/pl-0-eu-west-2.uagzl.mongodb.net:1025",
State: "Disconnected",
Type: "Unknown",
LastUpdateTimestamp: "2020-07-01T13:30:51.2983032Z"
},
{
ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/pl-0-eu-west-2.uagzl.mongodb.net:1026" }",
EndPoint: "Unspecified/pl-0-eu-west-2.uagzl.mongodb.net:1026",
State: "Disconnected",
Type: "Unknown",
LastUpdateTimestamp: "2020-07-01T13:30:51.2774193Z"
}
]
}
Any further help much appreciated.