解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题


1、在 Github 中使用 Octotree遇到以下两个问题:

问题一:


出现 "Error: API limit exceeded(You have exceeded the Github API rate limit. To continue using Octotree, you need to provide a Github access token. Please go to Setting and enter a token)"报错。
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题

问题二 :


出现"Error: Connection error(Cannot connect to website. If your network connection to this website is fine, maybe there is an outage of the API.Please try again later)"
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题

2、解决办法


以问题一为例,两个问题的解决办法是一样的,操作也一样。步骤如下:

(1) 点击右上角的设置。
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题
(2) 进入如下界面,点击图中的小钥匙
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题
(3) 进入如下界面,点击 Generate token。
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题
(4) 进入如下界面,复制图中代码
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题
(5) 进入如下界面,将上面复制的代码粘贴到图中位置,并点击 Apply Settings。
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题
(6) 刷新当前 Github 界面,目录信息即可显示
解决Github中使用Octotree时,出现 Error: API limit exceeded 报错 或者 Error: Connection error报错的问题

转载 : https://www.icode9.com/content-4-697028.html