--------------------------------------------------- EDIT ---------------------------------------------------Answer: My requests library version is too old. The SSLError exception was not added to requests.exceptions until version 0.8.8, in revision 9a1a413.