PyMongo MongoDB Cloud Atlas and Python 2.7.2 can't connect
309 views
Skip to first unread message
Benoît HERVIER
unread,
Mar 29, 2017, 4:18:52 PM3/29/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Hi,
I'm currently trying to connect to a mongodb cloud Atlas instance, while the code is working fine on desktop with py2.7.12. I can't auth with Python 2.7.2 on iOS or Android, I got a ServerSelectionTimeoutError.
1/ how can I get details of this error to understand what happen really in background ?
2/ Does pymongo3.4 support Python 2.7.2 ?
Thanks
Bernie Hackett
unread,
Mar 30, 2017, 11:12:42 AM3/30/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Python versions before 2.7.9 have various problems with TLS/SSL that have to be solved through third party packages. Assuming you are using PyMongo 3.3 or later, you can install any necessary dependencies like this: