-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.3
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We need to set proxy setting when connecting via:
uri = ("mongodb://{}:{}@{}:{}").format(info['username'],
info['password'],
info['host1'],
info['port'],
info['host2'],
info['port'])
print("Connecting... ")
print(uri)
self.client = MongoClient(uri)
self.db = self.client.get_database(info['database'])
Is there support for this in MongoDB/PyMongo or we have to hack it someway?
Thanks in advance.
- related to
-
DRIVERS-345 MongoClient socks proxy support
-
- Closed
-