When I connect jira to My GitHub account and add a repository and run the sync command. After a while I get:
Sync Paused: GitHub rate limit was exceeded. Syncing will automatically resume later.
Why is this issue happening?
Our repo has about 7000 commits and 15 branches.
And I cant get the "Smart commits" working.
Any idea what we can do?
Hi Karl,
The issue you're describing sounds like what's described in DVCS Github sync failed:
Cause:
The DVCS plugin uses the eclipse git plugin to access GitHub. The git plugin from eclipse keeps track of the rate limit for a connection, but doesn't take any action if/when it reaches the limit. If the next synchronization starts before the rate limit is reset, the synchronization will fail again. When the synchronization reaches the rate limit, the currently processed message will fail and attempted to be applied in the next synchronization.
You can find more information about GitHub rate limits in Rate limits for GitHub Apps. Github only allows 5000 requests per hour, regardless of the source. This means, if there are any other requests that you have been sent to Github (i.e: from any other applications), the limit would be used up together.
In this case, I would recommend you engaging with GitHub to see if they can increase the API Rate Limit so that the sync can complete faster. We've had previous cases where Github temporarily boosted the rate limit for the sync to succeed.
Once that is done, restart the sync and if it still fails let me know.
Cheers,
Branden
Thanks
It looks like it is working. Just needed to wait until GitHub released the block.
/Karl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for letting us know Karl!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Branden McElveen, so maybe proper solution is to fix DVCS connector code and finally make it respect requests reset timestamp which is sent back by a GitHub when limit is reached?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.