{"action":"created","issue":{"url":"https://api.github.com/repos/qiniu/python-sdk/issues/242","repository_url":"https://api.github.com/repos/qiniu/python-sdk","labels_url":"https://api.github.com/repos/qiniu/python-sdk/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/qiniu/python-sdk/issues/242/comments","events_url":"https://api.github.com/repos/qiniu/python-sdk/issues/242/events","html_url":"https://github.com/qiniu/python-sdk/issues/242","id":196401119,"number":242,"title":"执行测试脚本提示SSL认证失败","user":{"login":"onewesong","id":17920822,"avatar_url":"https://avatars.githubusercontent.com/u/17920822?v=3","gravatar_id":"","url":"https://api.github.com/users/onewesong","html_url":"https://github.com/onewesong","followers_url":"https://api.github.com/users/onewesong/followers","following_url":"https://api.github.com/users/onewesong/following{/other_user}","gists_url":"https://api.github.com/users/onewesong/gists{/gist_id}","starred_url":"https://api.github.com/users/onewesong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onewesong/subscriptions","organizations_url":"https://api.github.com/users/onewesong/orgs","repos_url":"https://api.github.com/users/onewesong/repos","events_url":"https://api.github.com/users/onewesong/events{/privacy}","received_events_url":"https://api.github.com/users/onewesong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-19T12:21:49Z","updated_at":"2016-12-27T09:57:37Z","closed_at":null,"body":"Traceback (most recent call last):\r\n  File \"test11.py\", line 26, in <module>\r\n    ret, info = put_file(token, key, localfile)\r\n  File \"/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py\", line 64, in put_file\r\n    ret, info = _form_put(up_token, key, input_stream, params, mime_type, crc, progress_handler, file_name)\r\n  File \"/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py\", line 80, in _form_put\r\n    url = config.get_default('default_zone').get_up_host_by_token(up_token) + '/'\r\n  File \"/usr/lib/python2.7/site-packages/qiniu/zone.py\", line 31, in get_up_host_by_token\r\n    up_hosts = self.get_up_host(ak, bucket)\r\n  File \"/usr/lib/python2.7/site-packages/qiniu/zone.py\", line 50, in get_up_host\r\n    bucket_hosts = self.get_bucket_hosts(ak, bucket)\r\n  File \"/usr/lib/python2.7/site-packages/qiniu/zone.py\", line 76, in get_bucket_hosts\r\n    hosts = compat.json.loads(self.bucket_hosts(ak, bucket))\r\n  File \"/usr/lib/python2.7/site-packages/qiniu/zone.py\", line 128, in bucket_hosts\r\n    ret = requests.get(url)\r\n  File \"/usr/lib/python2.7/site-packages/requests/api.py\", line 70, in get\r\n    return request('get', url, params=params, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/api.py\", line 56, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 488, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 609, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/adapters.py\", line 497, in send\r\n    raise SSLError(e, request=request)\r\nrequests.exceptions.SSLError: (\"bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)\",)\r\n"},"comment":{"url":"https://api.github.com/repos/qiniu/python-sdk/issues/comments/269303899","html_url":"https://github.com/qiniu/python-sdk/issues/242#issuecomment-269303899","issue_url":"https://api.github.com/repos/qiniu/python-sdk/issues/242","id":269303899,"user":{"login":"kongminhao","id":17331130,"avatar_url":"https://avatars.githubusercontent.com/u/17331130?v=3","gravatar_id":"","url":"https://api.github.com/users/kongminhao","html_url":"https://github.com/kongminhao","followers_url":"https://api.github.com/users/kongminhao/followers","following_url":"https://api.github.com/users/kongminhao/following{/other_user}","gists_url":"https://api.github.com/users/kongminhao/gists{/gist_id}","starred_url":"https://api.github.com/users/kongminhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kongminhao/subscriptions","organizations_url":"https://api.github.com/users/kongminhao/orgs","repos_url":"https://api.github.com/users/kongminhao/repos","events_url":"https://api.github.com/users/kongminhao/events{/privacy}","received_events_url":"https://api.github.com/users/kongminhao/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T09:57:37Z","updated_at":"2016-12-27T09:57:37Z","body":"阿里云，但是我在阿里云上搭建了一个ss做测试，发现应该不是qiniu禁用了阿里的ip。"}}
{"actor":{"display_login":"kongminhao"}}