Hello guys,
i have a script wich will work throught a scheduled task.
I now face the problem, when i run the script two times within a short time period it will work the first time but the second time i run it i get this error:
pymongo.errors.ServerSelectionTimeoutError: No <class 'cryptography.x509.extensions.TLSFeature'> extension was found,No <class 'cryptography.x509.extensions.TLSFeature'> extension was found,No <class 'cryptog raphy.x509.extensions.TLSFeature'> extension was found, Timeout: 30s, Topology Description: <TopologyDescription id: 6691b36b997e6ebfade6271e, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('ac-orsgag8-shard-00-00.t1swjlc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=ExtensionNotFound("No <class 'cryptography.x509.extensions.TLSFeature'> extension was found")>, <ServerDescription ('ac-orsgag8-shard-00-01.t1swjlc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=ExtensionNotFound("No <class 'cryptography.x509.extensions.TLSFeature'> extension was found")>, <ServerDescription ('ac-orsgag8-shard-00-02.t1swjlc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=ExtensionNotFound("No <class 'cryptography.x509.extensions.TLSFeature'> extension was found")>]>
Im not sure and this is my first script that i create for this purpose. Maybe somebody can help me and tell me what im doing wrong.
Thanks!