christoph03/10/2022, 9:37 AM
configured in my developer OS (needed for allowing a custom Root CA certificate for Security filtering), which works great every time that I use the
library in python and make HTTPS calls to the Internet.
Now I have just found that this seems to not work when launching
and the tap (custom tap built with the Meltano SDK) uses the Python
module is seemingly ignoring the
OS environment variable when running
and the custom tap fails with an exception caused by the
I was hoping I can configure meltano to somehow tell it to use the
requests.exceptions.SSLError: (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
environment variable and pass it to the virtualenv when the plugin invoker launches the tap. Am I on the right path?
A bit of
debugging seems to indicate that I am on the wrong path with the OS environment variables. the
OS env variable value does make it all the way into the
class in the singer-sdk .... It must be something else afoot ...
Oh. Turns out I was on the right track indeed!
There is a
API that handles environment variables when using prepared requests in
. Looks like by default, the behaviour of prepared requests (like the singer sdk uses it in the RESTStream) is different from "normal" requests in