DVCS account failing to sync

Connecting a GitHub account (or BitBucket) properly fetches the repositories but fails to sync and doesn't give any error message. We are hosting JIRA in our own server. The version is 7.6.

DVCS accounts page

Read more link

1 answer

Hi Julien,

I found a knowledge base article that appears to describe your issue titled DVCS Github sync failed.  It lists the Cause and Resolutions as follows:

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. 

Workaround

For JIRA Server, you can try to add the dvcs.connector.pr-synchronization.disabled dark feature to disable pull request synchronization as a way to reduce the initial sync load on GitHub. Then, re-enable that feature later when load is back to normal.

For JIRA Cloud, you can request that support verify the API limit is being reached by checking your JIRA logs or if you already suspect that as being the root cause, keep watching  JSWSERVER-14299 - Receiving "Sync Failed: API Rate Limit Exceeded for <user-id> (403)" when attempting to add a new project Resolved  for updates. 

In addition, there is also a bug that you can find at JSWSERVER-16243: Upgrading Jira to 7.6 causes DVCS to fail on MS SQL environments.

The workaround is listed as follows:

It might be possible to migrate the Jira database to a different database type such as Postgres or MySQL as a means to get around this. However this is not a simple work around to follow and could take some significant time to process.

Cheers,

Branden

Hi Branden,

Thanks for your answer.

I added the dark feature and tried again to link to my Github account but it failed the same way.

Also we are already using MySQL.

Best,

Julien

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

277 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot