Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make the Mylyn GitHub Connector for Eclipse run authenticated requests?

I'm using the very cool Github Mylyn Connector for Eclipse Indigo. However, since I use it for many projects on GitHub, I run very quickly into the 60 requests per second rate limit enforced on unauthenticated requests against the GitHub v3 API.

The Symptom is that refreshing any query (however small — again, the limiting factor here is more that I deal with may repositories) I get the error:

Unexpected error : API Rate Limit Exceeded for XXX.XXX.XXX.XXX 

Where XXX.XXX.XXX.XXX is of course my IP.

I have configured the GitHub repositories in the Task Repository View with my GitHub username and password, but the connector doesn't seem to make use of those for either OAuth or Basic Authentication. I have read the FAQ of the GitHub connector plugin and haven't found anything of use there.

Is there a way to get the GitHub connector to make authenticated requests (that would count against the much more relaxed rate limit of 5K/hour ?) ?


Edit: I have tried with a private repository (which has at least one active issue) to check whether some credentials were sent there. I got Unexpected error: Issues are disabled for this repo.


Edit: I noticed the problem with the version of the plugin on the Eclipse Marketplace, then switched to getting my EGit plugin from the nightlies repo, and likewise for the Mylyn Github Connector. It didn't help

like image 929
Francois G Avatar asked Jan 07 '13 22:01

Francois G


1 Answers

Eclipse Neon with Mylyn Github connector 4.4.

Tested with 2-factor access token. Anonymous rate limit successfully exceeded on a public repository with hundreds of issues. I did not test with simple login but it should work.

like image 182
Akber Choudhry Avatar answered Sep 22 '22 23:09

Akber Choudhry