
Mongodb サーバーを Azure Cosmos に移行しようとしています。Azure Database Migration Services で移行サービスを作成し、次の設定でプロジェクトを作成しようとしています。
Source server name: my server
Server port: 27017
User Name: user
Password: password
エラーが発生しています。接続に関するエラーのようです。私の設定では接続の問題はないはずですが、移行サービスで情報が不足していることがエラーの原因ではないかと思います。
エラー トレースは次のような問題から始まります。
Error type
Failed to connect, please check error details
Error Detail
The connection timed out. Possible reasons for this include
the address and/or port was not correct or the server is not running.
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 : "2", ConnectionMode : "Automatic",
Type : "Unknown", State : "Disconnected", Servers :
[{ ServerId:
"{ ClusterId : 2, EndPoint : "Unspecified/<my server>:27017" }",
EndPoint: "Unspecified/<my server>:27017"
それがどこから来るのか分かりませんUnspecified
。おそらく私が設定していない何かだと思いますが、このエラーを解消するには何を設定する必要があるのか分かりません。
Azure に送信されたリクエストのネットワーク トラフィックを確認したところ、 へのリクエストで、 が適切に入力されている/services/MigrationServiceMongo/projects/MigrationMongoTest/tasks/SqlConnect...
ものを入力として受信しているのに、 が空であることがわかりました。これも関連していると思います。dataSource
serverName
何か案は?