python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

ssl error update

Open jinji-hanbin opened this issue 3 years ago • 5 comments

我一直在使用七牛的产品,最近有2个网站出现了这个报错。我依据这个网站的描述,更新了代码https://ijg.io/r/words/python-requests-tls-sslError.html?ref=support.qiniu.com 。 image

jinji-hanbin avatar Mar 02 '21 09:03 jinji-hanbin

挺常见的一个requests错误

jinji-hanbin avatar Mar 02 '21 09:03 jinji-hanbin

@yangjunren @qiniu-bot

jinji-hanbin avatar Mar 02 '21 09:03 jinji-hanbin

@Mei-Zhao

jinji-hanbin avatar Mar 08 '21 10:03 jinji-hanbin

这个应该是你这边python版本太低,不支持sni的部署模式,建议可以升级下python版本,另外我们这边评估下是否跳过证书校验来做下兼容


宋菲   客户成功部 

上海七牛信息技术有限公司   

电话:13468670708 邮箱:[email protected] 网址:www.qiniu.com 地址:上海市浦东新区博霞路66号(张江浦东软件园Q座)

    本电子邮件及其附件含有七牛公司的保密信息。任何人未经授权或非本邮件预期的收信人不得以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您并非本邮件预期的收信人,但却错收了本邮件,请立即永久删除并销毁本邮件、附件及所有备份,并烦请通知本邮件的发件人。谢谢!  
This e-mail and its attachments contain confidential or privileged information from    QINIU. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons without authority or other than the intended recipient(s) is prohibited. If you have received this e-mail in error, please delete and destroy all copies, including any attachments, of this e-mail immediately, and kindly notify the sender by phone or email. Thanks for your cooperation!     

      ------------------ Original ------------------ From:  "jinji-hanbin"<[email protected]>; Date:  Tue, Mar 2, 2021 05:56 PM To:  "qiniu/python-sdk"<[email protected]>; Cc:  "Subscribed"<[email protected]>; Subject:  [qiniu/python-sdk] ssl error update (#389)

 

我一直在使用七牛的产品,最近有2个网站出现了这个报错。我依据这个网站的描述,更新了代码https://ijg.io/r/words/python-requests-tls-sslError.html?ref=support.qiniu.com 。

You can view, comment on, or merge this pull request online at:

  https://github.com/qiniu/python-sdk/pull/389

Commit Summary

ssl error update

File Changes

 M     qiniu/region.py     (2)   

Patch Links:

https://github.com/qiniu/python-sdk/pull/389.patch

https://github.com/qiniu/python-sdk/pull/389.diff

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

songfei9315 avatar Mar 08 '21 15:03 songfei9315

这个应该是你这边python版本太低,不支持sni的部署模式,建议可以升级下python版本,另外我们这边评估下是否跳过证书校验来做下兼容 ------------------ 宋菲   客户成功部 上海七牛信息技术有限公司 电话:13468670708 邮箱:[email protected] 网址:www.qiniu.com 地址:上海市浦东新区博霞路66号(张江浦东软件园Q座) 本电子邮件及其附件含有七牛公司的保密信息。任何人未经授权或非本邮件预期的收信人不得以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您并非本邮件预期的收信人,但却错收了本邮件,请立即永久删除并销毁本邮件、附件及所有备份,并烦请通知本邮件的发件人。谢谢! This e-mail and its attachments contain confidential or privileged information from  QINIU. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons without authority or other than the intended recipient(s) is prohibited. If you have received this e-mail in error, please delete and destroy all copies, including any attachments, of this e-mail immediately, and kindly notify the sender by phone or email. Thanks for your cooperation!         ------------------ Original ------------------ From:  "jinji-hanbin"<[email protected]>; Date:  Tue, Mar 2, 2021 05:56 PM To:  "qiniu/python-sdk"<[email protected]>; Cc:  "Subscribed"<[email protected]>; Subject:  [qiniu/python-sdk] ssl error update (#389)   我一直在使用七牛的产品,最近有2个网站出现了这个报错。我依据这个网站的描述,更新了代码https://ijg.io/r/words/python-requests-tls-sslError.html?ref=support.qiniu.com 。 You can view, comment on, or merge this pull request online at:   #389 Commit Summary ssl error update File Changes M qiniu/region.py (2) Patch Links: https://github.com/qiniu/python-sdk/pull/389.patch https://github.com/qiniu/python-sdk/pull/389.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

我们在好几年前就开始用七牛了,新项目的代码是没有问题。但是老项目因为七牛代码库的问题,要把python2.7搞到python3,这就麻烦了。

jinji-hanbin avatar Mar 09 '21 06:03 jinji-hanbin