python - Stripe 支付 APIConnection 错误

标签 python django stripe-payments

我正在使用 stripe 和 django/python。

但是,我不断收到间歇性的 APIConnection 错误:

Network error: ConnectionError: HTTPSConnectionPool(host='api.stripe.com', port=443): 
Max retries exceeded with url: /v1/customers/cus_4vxaUg0FRgH5Ll (Caused by <class 
'socket.gaierror'>: [Errno -3] Temporary failure in name resolution))

完整报告请见此处:http://dpaste.com/0KMVZ92

有人见过这个吗?

最佳答案

名称解析错误意味着您有 DNS 名称解析错误。

关于python - Stripe 支付 APIConnection 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26317362/

相关文章:

python - 使用 django-social-auth 出现导入错误

typescript - 如何修复 Typescript 错误 "Object is possibly ' 未定义'”

paypal - 按用户/按数量定期计费。什么是 Stripe 的替代品?

Python RSA 暴力破解

python - 根据Python中的条件从两个数组中随机选择

python - 与另一个模型相关的 Many2many 字段

python - 如何从多索引数据框中删除索引列

django - 易于使用的 django 验证码或带有验证码的注册应用程序?

python - QuerySEt 中的日期字段到字符串格式

javascript - Stripe.js 未正确加载