Giter VIP home page Giter VIP logo

Comments (4)

mozillazg avatar mozillazg commented on June 14, 2024

@jameswnzrf 你好,请问你测试的是哪个 api?我这边上传 api 100% 会有错误:
SSLError: hostname 'c.pcs.baidu.com' doesn't match u'pcs.baidu.com'
方便的话,能否麻烦你修改 verify=True 后在项目根目录下执行一下 py.test 看看会不会报错?
谢谢!

from baidu-pcs-python-sdk.

jameswnzrf avatar jameswnzrf commented on June 14, 2024

你好,我试了一下,改了verify=True之后,py.test通过:31 passed in 130.58 seconds
我用的是:platform linux -- Python 3.3.2 -- pytest-2.4.2 -- /usr/bin/python

from baidu-pcs-python-sdk.

mozillazg avatar mozillazg commented on June 14, 2024

@jameswnzrf 可能是我系统中的证书问题。
那就去掉 verify 参数,将 SSLError 加入到 FAQ 中。

from baidu-pcs-python-sdk.

mozillazg avatar mozillazg commented on June 14, 2024

Closed via 85b9105.

from baidu-pcs-python-sdk.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.