Python SDK 接入报错:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

更新于:2017年08月07日 14:40:20

报错信息:

(Network error: SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed)

ERROR 2017-07-24 12:29:35,083 base 31348 139758622844736 Internal Server Error: /ping_charge

Traceback (most recent call last):

File "/home/pay/WhiteAlbum2/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response

    response = self.process_exception_by_middleware(e, request)

File "/home/pay/WhiteAlbum2/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response

    response = wrapped_callback(request, *callback_args, **callback_kwargs)


报错原因:

Python 版本过低。


解决方法:

升级 Python 版本,2.7.9 或以上版本。

    您需要登录后才可以回复