无法从Azure Synapse连接到MongoDB

vc6uscn9  于 2022-11-22  发布在  Go
关注(0)|答案(1)|浏览(142)

无法从复制活动连接到MongoDB,因为在30秒内发生超时错误。MongoDB似乎处于联机状态。我可以在复制活动中成功测试连接。但是,当我运行管道时,发生以下错误:

A timeout occurred 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/**serveraddress**:27017" }", 
EndPoint: "Unspecified/**serveraddress**:27017", State: "Disconnected", Type: "Unknown", LastUpdateTimestamp: 
"2022-11-18T10:51:01.9853437Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/**serveraddress**:27017" }", EndPoint: 
"Unspecified/**serveraddress**:27017", State: "Disconnected", Type: "Unknown", LastUpdateTimestamp: "2022-11-18T10:51:01.9913438Z" }

可能是什么问题?

kpbwa7wx

kpbwa7wx1#

您是否尝试过将超时时间增加到更高的值?

相关问题