#fatima_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1386778716809465986
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
stripe._error.APIConnectionError: Could not verify Stripe's SSL certificate. Please make sure that your
network is not intercepting certificates. If this problem persists,
let us know at support@stripe.com.
(Network error: SSLError: HTTPSConnectionPool(host='api.stripe.com', port=443): Max retries exceeded with url: /v1/customers?limit=100 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1010)'))))
Hello
Are you able to update to the latest version to see if that helps with this?
Hmm Are you able to hit Stripe endpoints without using the SDK?
Try curl -v https://api.stripe.com
yea the connection looks ok
when i hit the exact endpoint i am testing in my script with a curl, i get the expected resules
I see. Hmm, let me think!
A colleague just tested the SDKs and it works fine for them so this issue might be related to something local on your system.
One suggestion is - https://github.com/stripe/stripe-python/issues/1064#:~:text=Some debugging suggestions%3A
Try using requests lib directly to see if your python install is able to talk to Stripe's backend
ok i will try that
it seems intermittent. I happened to get 1 successful request through. but 99% SSL errors (still using the SDK, haven't yet tested with the requests lib)
Yeah it might be something with your python install or local system config..