Git Integration for Jira and GitLab - Read timed out

Daniel Estermann April 22, 2020

Hi everybody,

 

trying Git Integration for Jira I am having an issue while adding a connection to a GitLab server. When I add the configuration try to connect, it looks promising at first sight:

2020-04-22 09_43_18-Window.png

But afterwards I get the following error message:

2020-04-22 09_32_29-Window.png

Like in one of 50 times it works, but in this way, it's really unusable. Can I workaround it anyhow?

3 answers

1 vote
Daniel Estermann April 22, 2020

Hi Adam,

thanks for your quick answer!

I have already tried to increase Git operations timeout setting to 300 ms. It didn't help. I assume you are right about this setting is unrelated to my issue.

The amount of repositories I am trying to index is 1944. I will try to use the suggested limitation option and give you my feedback.

 

Regards,

Daniel

1 vote
Adam Wride
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2020

Hi Daniel - 

I'm with BigBrassBand - the vendor supporting the Git Integration for Jira app. With GitLab we sometimes see that the API will time out on the initial connection. You can raise the time out setting in the General settings of the Git Integration for Jira app https://d.pr/i/vqVNYW using the Git operations timeout setting https://d.pr/i/W4Pyrx.

Having said that - if you're seeing this issue this early in the wizard - the issue may be slightly different and may related to the GitLab API taking too long to respond. How many repositories would this GitLab user have access to? You can limit the number of repositories requested from GitLab using the Custom API Path under the Advanced section (visible in the screenshot you shared). 

If you would prefer to continue this privately - contact us at support@bigbrassband.com.

Cheers,

Adam

0 votes
Daniel Estermann April 22, 2020

Yes: as supposed, with the limited amount of repositories, the wizard doesn't throw an error. But still, what to do if I want to integrate Jira with all our repositories?

Adam Wride
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2020

Daniel -

We'll take a look at this to avoid it in the future.

Possible workaround:

Now that you have the integration working with the smaller number of repositories, edit the integration settings and remove the Custom API Path: https://d.pr/v/UH6bXC

Please note that our application clones the repositories locally to Jira. Be sure you have sufficient storage in Jira for this number of repositories.

If that does not work - please reach out to us at support@bigbrassband.com and we will look at the specifics (likely ask you for a Jira support zip).

Cheers,

Adam

Like Daniel Estermann likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events