{"action":"created","issue":{"url":"https://api.github.com/repos/houtianze/bypy/issues/116","labels_url":"https://api.github.com/repos/houtianze/bypy/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/houtianze/bypy/issues/116/comments","events_url":"https://api.github.com/repos/houtianze/bypy/issues/116/events","html_url":"https://github.com/houtianze/bypy/issues/116","id":56916320,"number":116,"title":"可以授权两个电脑设备么？","user":{"login":"GoldCome","id":2740261,"avatar_url":"https://avatars.githubusercontent.com/u/2740261?v=3","gravatar_id":"","url":"https://api.github.com/users/GoldCome","html_url":"https://github.com/GoldCome","followers_url":"https://api.github.com/users/GoldCome/followers","following_url":"https://api.github.com/users/GoldCome/following{/other_user}","gists_url":"https://api.github.com/users/GoldCome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoldCome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoldCome/subscriptions","organizations_url":"https://api.github.com/users/GoldCome/orgs","repos_url":"https://api.github.com/users/GoldCome/repos","events_url":"https://api.github.com/users/GoldCome/events{/privacy}","received_events_url":"https://api.github.com/users/GoldCome/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/houtianze/bypy/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-02-07T16:22:03Z","updated_at":"2015-02-09T14:29:59Z","closed_at":"2015-02-09T13:00:09Z","body":"本人尝试在一台电脑哦上授权使用没问题，但在另一个服务器上也想用这个百度帐号，授权成功了，但总是上传不了文件，错误代码如下：\r\n```\r\nDone\r\nComparing ...\r\nDone\r\n<D> 'why' is small and being non-slicing uploaded.\r\n<D> POST https://c.pcs.baidu.com/rest/2.0/pcs/file\r\n<D> actargs: /apps/bypy/why\r\n<D> Params: {u'path': u'/apps/bypy/why', u'ondup': u'overwrite', u'method': u'uplo\r\nad'}\r\n<E> [23:49:49] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file'\r\n<E> [23:49:49] Exception: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify fail\r\ned (_ssl.c:581)\r\nTraceback (most recent call last):\r\n  File \"/home/goldcome/bin/bypy\", line 1027, in __request_work\r\n    params = parsnew, timeout = self.__timeout, verify = self.__checkssl, **kwargs\r\n)\r\n  File \"/home/goldcome/.pyenv/versions/2.7.9/lib/python2.7/site-packages/requests/\r\napi.py\", line 99, in post\r\n    return request('post', url, data=data, json=json, **kwargs)\r\n  File \"/home/goldcome/.pyenv/versions/2.7.9/lib/python2.7/site-packages/requests/\r\napi.py\", line 49, in request\r\n    response = session.request(method=method, url=url, **kwargs)\r\n  File \"/home/goldcome/.pyenv/versions/2.7.9/lib/python2.7/site-packages/requests/\r\nsessions.py\", line 461, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/home/goldcome/.pyenv/versions/2.7.9/lib/python2.7/site-packages/requests/\r\nsessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/home/goldcome/.pyenv/versions/2.7.9/lib/python2.7/site-packages/requests/\r\nadapters.py\", line 431, in send\r\n    raise SSLError(e, request=request)\r\nSSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)\r\n\r\n<E> [23:49:49] Function: __upload_one_file_act\r\n<E> [23:49:49] Website parameters: {u'path': u'/apps/bypy/why', u'ondup': u'overwr\r\nite', u'method': u'upload'}\r\n<E> [23:49:49] Waiting 10 seconds before retrying...\r\n```"},"comment":{"url":"https://api.github.com/repos/houtianze/bypy/issues/comments/73516945","html_url":"https://github.com/houtianze/bypy/issues/116#issuecomment-73516945","issue_url":"https://api.github.com/repos/houtianze/bypy/issues/116","id":73516945,"user":{"login":"houtianze","id":99046,"avatar_url":"https://avatars.githubusercontent.com/u/99046?v=3","gravatar_id":"","url":"https://api.github.com/users/houtianze","html_url":"https://github.com/houtianze","followers_url":"https://api.github.com/users/houtianze/followers","following_url":"https://api.github.com/users/houtianze/following{/other_user}","gists_url":"https://api.github.com/users/houtianze/gists{/gist_id}","starred_url":"https://api.github.com/users/houtianze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houtianze/subscriptions","organizations_url":"https://api.github.com/users/houtianze/orgs","repos_url":"https://api.github.com/users/houtianze/repos","events_url":"https://api.github.com/users/houtianze/events{/privacy}","received_events_url":"https://api.github.com/users/houtianze/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T14:29:59Z","updated_at":"2015-02-09T14:29:59Z","body":"好:)"}}