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

对于科研工做者来讲,Github 是不可多得的利器,那么Octotree 插件的使用将会让用户在使用 Github 时拥有更好的体验,提升学习工做的效率。可是笔者在使用的过程当中遇到如下这样的问题,下面将介绍遇到的问题以及解决办法。web

1. 问题描述

Github 中使用 Octotree遇到如下两个问题:ide

问题一:

出现 "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)"报错。学习

在这里插入图片描述

问题二:

出现"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)"this

在这里插入图片描述
出现这两种问题的缘由都是因为API的限制,问题的解决方法以下:
spa

2. 解决办法

以问题一为例,两个问题的解决办法是同样的,操做也同样。步骤以下:插件

(1) 点击右上角的设置。3d

在这里插入图片描述
(2) 进入以下界面,点击图中的小钥匙。
blog

在这里插入图片描述
(3) 进入以下界面,点击 Generate token。
token

在这里插入图片描述
(4) 进入以下界面,复制图中代码。
图片

在这里插入图片描述
(5) 进入以下界面,将上面复制的代码粘贴到图中位置,并点击 Apply Settings。

在这里插入图片描述
(6) 刷新当前 Github 界面,目录信息便可显示

在这里插入图片描述

谢谢您的阅读,若是您有什么问题,欢迎在下方留言评论,若是本文对您有帮助,不要忘了在下面点赞哟!!!

相关文章
相关标签/搜索