I have a lambda function written in python. Through some testing, I am able to make http calls via the request library but not HTTPS calls. I need this because this function needs to call a rest-api. Does anyone have anything similar that has happened in the past that may be the cause of this? Below is the beginning of the error trace from requests. I see that it has something to do with the ssl library but searching in this area has not provided any useful results.
File “/var/task/OpenSSL/SSL.py”, line 309, in wrapper
AttributeError: module ‘lib’ has no attribute ‘X509_up_ref’