#fatima_api

1 messages ¡ Page 1 of 1 (latest)

fierce stormBOT
#

👋 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.

loud kite
#
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)'))))
fierce stormBOT
little slate
#

Hello
Are you able to update to the latest version to see if that helps with this?

loud kite
#

12.2.0?

#

i get the same error

little slate
#

Hmm Are you able to hit Stripe endpoints without using the SDK?

Try curl -v https://api.stripe.com

loud kite
#

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

little slate
#

I see. Hmm, let me think!

#

Try using requests lib directly to see if your python install is able to talk to Stripe's backend

loud kite
#

ok i will try that

loud kite
#

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)

little slate
#

Yeah it might be something with your python install or local system config..