IceGitHubError API rate limit exceeded

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
bpi
Reply | Threaded
Open this post in threaded view
|

IceGitHubError API rate limit exceeded

bpi
Hi,

I followed these instructions for contributing to Pharo:
https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo

During Step 1 Repairing local repository missing I get the following error:
IceGitHubError: API rate limit exceeded

I retried with a new Pharo 7.0 - 64bit (development version) in Pharo Launcher and got the same error.

I searched the mailing list but did not find anything. Am I really the only one who ever encountered this? Any tips?

Cheers,
Bernhard
Reply | Threaded
Open this post in threaded view
|

Re: IceGitHubError API rate limit exceeded

Sabine Manaa
Hi Bernhard,

I did not go deep in it but this could be related or similar:

-> If you get a API rate limit exceeded error from github, like "Error accessing tags for github project: 'pharo-vcs/iceberg' -> 'API rate limit exceeded for...." then you can replace the metacello statement above with:
Metacello new
        githubUser: 'pharo-vcs' project: 'Iceberg' commitish: 'v1.?' path: '';
        baseline: 'Iceberg';
        load.

-> https://developer.github.com/v3/#rate-limiting

regards
Sabine


Am Sa., 12. Jan. 2019 um 19:52 Uhr schrieb Bernhard Pieber <[hidden email]>:

>
> Hi,
>
> I followed these instructions for contributing to Pharo:
> https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo
>
> During Step 1 Repairing local repository missing I get the following error:
> IceGitHubError: API rate limit exceeded
>
> I retried with a new Pharo 7.0 - 64bit (development version) in Pharo Launcher and got the same error.
>
> I searched the mailing list but did not find anything. Am I really the only one who ever encountered this? Any tips?
>
> Cheers,
> Bernhard
Reply | Threaded
Open this post in threaded view
|

Re: IceGitHubError API rate limit exceeded

Paul DeBruicker
In reply to this post by bpi
github allows 60 unauthenticated requests per hour per IP.  IF you
authenticate your requests you can make 5,000 per hour.  If you don't want
to wait an hour after hitting this error you should create a personal, no
scope token  following the instructions here:
https://blog.github.com/2013-05-16-personal-api-tokens/ The no-scope token
can only be used to read public repository information and cannot make any
changes to any of your repos.

You can use the token to authenticate your requests by setting your github
username as the username and the token as the password in a HTTP basic
authentication request to their servers.  

I know ZnClient has #username:password: and so guess that Iceberg has or can
have a similar method.  

Dont share the token.



bpi wrote

> Hi,
>
> I followed these instructions for contributing to Pharo:
> https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo
>
> During Step 1 Repairing local repository missing I get the following
> error:
> IceGitHubError: API rate limit exceeded
>
> I retried with a new Pharo 7.0 - 64bit (development version) in Pharo
> Launcher and got the same error.
>
> I searched the mailing list but did not find anything. Am I really the
> only one who ever encountered this? Any tips?
>
> Cheers,
> Bernhard





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: IceGitHubError API rate limit exceeded

Paul DeBruicker
hi -


Once you get a no-scope token from

https://github.com/settings/tokens

You can configure Monticello to use it to access github by running

MCGitHubRepository siteUsername: 'myUsername' sitePassword: 'token'







Paul DeBruicker wrote

> github allows 60 unauthenticated requests per hour per IP.  IF you
> authenticate your requests you can make 5,000 per hour.  If you don't want
> to wait an hour after hitting this error you should create a personal, no
> scope token  following the instructions here:
> https://blog.github.com/2013-05-16-personal-api-tokens/ The no-scope token
> can only be used to read public repository information and cannot make any
> changes to any of your repos.
>
> You can use the token to authenticate your requests by setting your github
> username as the username and the token as the password in a HTTP basic
> authentication request to their servers.  
>
> I know ZnClient has #username:password: and so guess that Iceberg has or
> can
> have a similar method.  
>
> Dont share the token.
>
>
>
> bpi wrote
>> Hi,
>>
>> I followed these instructions for contributing to Pharo:
>> https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo
>>
>> During Step 1 Repairing local repository missing I get the following
>> error:
>> IceGitHubError: API rate limit exceeded
>>
>> I retried with a new Pharo 7.0 - 64bit (development version) in Pharo
>> Launcher and got the same error.
>>
>> I searched the mailing list but did not find anything. Am I really the
>> only one who ever encountered this? Any tips?
>>
>> Cheers,
>> Bernhard
>
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html