mongodb / mongo-perf

performance tools for mongodb
351 stars 140 forks source link

Script throwing error with mongo db atlas #68

Closed himanshu219 closed 5 years ago

himanshu219 commented 5 years ago

python benchrun.py -f testcases/* -t 1 2 4 --includeFilter insert update --includeFilter core --trialTime 10 -u -p --host M10AWSTestCluster-shard-0/m10awstestcluster-shard-00-00-abcd.mongodb.net:27017,m10awstestcluster-shard-00-01-abcd.mongodb.net:27017,m10awstestcluster-shard-00-02-abcd.mongodb.net:27017

Exception MongoDB shell version v4.0.10 connecting to: mongodb://m10awstestcluster-shard-00-00-snvkl.mongodb.net:27017,m10awstestcluster-shard-00-01-snvkl.mongodb.net:27017,m10awstestcluster-shard-00-02-snvkl.mongodb.net:27017/?authSource=admin&gssapiServiceName=mongodb&replicaSet=M10AWSTestCluster-shard-0 2019-06-10T13:27:20.873+0530 I NETWORK [js] Starting new replica set monitor for M10AWSTestCluster-shard-0/m10awstestcluster-shard-00-00-snvkl.mongodb.net:27017,m10awstestcluster-shard-00-01-snvkl.mongodb.net:27017,m10awstestcluster-shard-00-02-snvkl.mongodb.net:27017 2019-06-10T13:27:22.233+0530 W NETWORK [js] Unable to reach primary for set M10AWSTestCluster-shard-0 2019-06-10T13:27:22.233+0530 I NETWORK [js] Cannot reach any nodes for set M10AWSTestCluster-shard-0. Please check network connectivity and the status of the set. This has happened for 1 checks in a row. 2019-06-10T13:27:24.690+0530 W NETWORK [js] Unable to reach primary for set M10AWSTestCluster-shard-0 2019-06-10T13:27:24.690+0530 I NETWORK [js] Cannot reach any nodes for set M10AWSTestCluster-shard-0. Please check network connectivity and the status of the set. This has happened for 2 checks in a row. 2019-06-10T13:27:26.774+0530 W NETWORK [js] Unable to reach primary for set M10AWSTestCluster-shard-0 2019-06-10T13:27:26.774+0530 I NETWORK [js] Cannot reach any nodes for set M10AWSTestCluster-shard-0. Please check network connectivity and the status of the set. This has happened for 3 checks in a row

himanshu219 commented 5 years ago

solved it one needs to pass --ssl parameter as well.