Forums

pymongo Error

I am currently on the hacker plan, but when I try to connect to my mongodb instance using pymongo getting the following error:

File "*/python3.8/site-packages/pymongo/topology.py", line 238, in _select_servers_loop
    raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: No replica set members found yet, Timeout: 30s, Topology Description: <TopologyDescription id: 64517ff5c2a9ba45d7cee2ab, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('ac-nyggrpc-shard-00-00.upzwz7f.mongodb.net', 27017) server_type: Unknown, rtt: None>, <ServerDescription ('ac-nyggrpc-shard-00-01.upzwz7f.mongodb.net', 27017) server_type: Unknown, rtt: None>, <ServerDescription ('ac-nyggrpc-shard-00-02.upzwz7f.mongodb.net', 27017) server_type: Unknown, rtt: None>]>

Some help please? I thought that by upgrading to a hacker plan this would be resolved?

Thanks

Resolved. Thanks!

Great, glad you were able to fix it!

how did you resolve it i am having the same issue

To use an external database, you need to upgrade your account first, @charles444500.