{"action":"created","issue":{"url":"https://api.github.com/repos/houtianze/bypy/issues/430","repository_url":"https://api.github.com/repos/houtianze/bypy","labels_url":"https://api.github.com/repos/houtianze/bypy/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/houtianze/bypy/issues/430/comments","events_url":"https://api.github.com/repos/houtianze/bypy/issues/430/events","html_url":"https://github.com/houtianze/bypy/issues/430","id":294123748,"number":430,"title":"授权失败","user":{"login":"wjfriend","id":6923028,"avatar_url":"https://avatars1.githubusercontent.com/u/6923028?v=4","gravatar_id":"","url":"https://api.github.com/users/wjfriend","html_url":"https://github.com/wjfriend","followers_url":"https://api.github.com/users/wjfriend/followers","following_url":"https://api.github.com/users/wjfriend/following{/other_user}","gists_url":"https://api.github.com/users/wjfriend/gists{/gist_id}","starred_url":"https://api.github.com/users/wjfriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjfriend/subscriptions","organizations_url":"https://api.github.com/users/wjfriend/orgs","repos_url":"https://api.github.com/users/wjfriend/repos","events_url":"https://api.github.com/users/wjfriend/events{/privacy}","received_events_url":"https://api.github.com/users/wjfriend/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-03T16:23:55Z","updated_at":"2018-03-05T19:38:37Z","closed_at":"2018-03-05T19:38:37Z","author_association":"NONE","body":"If you are confident that your CA Bundle can verify Baidu PCS's certs, you can run the prog with the '--cacerts <your ca cert path>' argument to enable SSL cert verification.\r\n\r\nHowever, most of the time, you can ignore this warning, you are not going to send sensitive data to the cloud plainly right?\r\nPlease visit:\r\nhttps://openapi.baidu.com/oauth/2.0/authorize?scope=basic+netdisk&redirect_uri=oob&response_type=code&client_id=q8WE4EpCsau1oS0MplgMKNBn\r\nAnd authorize this app\r\nPaste the Authorization Code here within 10 minutes.\r\nPress [Enter] when you are done\r\naa38d789e5ce8d21bce14ebb9720166b\r\nAuthorizing, please be patient, it may take upto 60.0 seconds...\r\nAuthorizing/refreshing with the OpenShift server ...\r\n<E> [00:16:18] Maximum number (1) of tries failed.\r\nOpenShift server failed, authorizing/refreshing with the Heroku server ...\r\n/tmp/python/lib/python2.7/site-packages/urllib3-1.22-py2.7.egg/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\r\n/tmp/python/lib/python2.7/site-packages/urllib3-1.22-py2.7.egg/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\r\n/tmp/python/lib/python2.7/site-packages/urllib3-1.22-py2.7.egg/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\r\nHeroku server failed. Last resort: authorizing/refreshing with the GAE server ...\r\n<E> [00:17:21] Maximum number (1) of tries failed.\r\n<E> [00:17:21] Fatal: All server authorizations failed.\r\n<I> [00:17:21] ----------------------------------------------------------------\r\n<I> [00:17:21] This is most likely caused by authorization errors.\r\nPossible causes:\r\n - You didn't run this program for a long time (more than a month).\r\n - You changed your Baidu password after authorizing this program.\r\n - You didn't give this program the 'netdisk' access while authorizing.\r\n - ...\r\nPossible fixes:\r\n 1. Remove the authorization token by running with the parameter '-c', and then re-run this program.\r\n 2. If (1) still doesn't solve the problem, you may have to go to:\r\n    https://passport.baidu.com/accountbind\r\n    and remove the authorization of this program, and then re-run this program.\r\n<E> [00:17:21] Program authorization FAILED.\r\nYou need to authorize this program before using any PCS functions.\r\nQuitting..."},"comment":{"url":"https://api.github.com/repos/houtianze/bypy/issues/comments/370538077","html_url":"https://github.com/houtianze/bypy/issues/430#issuecomment-370538077","issue_url":"https://api.github.com/repos/houtianze/bypy/issues/430","id":370538077,"user":{"login":"houtianze","id":99046,"avatar_url":"https://avatars0.githubusercontent.com/u/99046?v=4","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":"2018-03-05T19:38:37Z","updated_at":"2018-03-05T19:38:37Z","author_association":"OWNER","body":"感谢反馈。\r\n\r\n这种情况去 https://passport.baidu.com/accountbind 删除这个授权重头再来一次应该可以解决。"}}
{"actor":{"display_login":"houtianze"}}