JIRA REST API timeout issue

Ash
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 8, 2019

Hi All,

We are trying to pull data via REST API. It times out if the request takes more than 300 seconds. We have ELB in front of our app. 

Is there any way we can achieve this?

 

TIA!!

2 answers

1 accepted

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2019

Hi Ash,

It sounds like the timeout might be occuring on the load balancer, check out This Blog from Amazon, on how to check and change the settings.

But this could be a range of items, also check out this previous posts that go into this topic a bit more:

Regards,
Earl

Ash
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 23, 2019

@Earl McCutcheon Thank you. 

Like Earl McCutcheon likes this
1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2019

Hello Ash,

I hope you are having a nice day.

There are some options you can use to workaround the timeout issue:

1 - You can split your query in several calls with a limited number of results and create a Script to run each one at a time until you finish it.

2 - Usually, the REST API uses the default_socket_timeout parameter which defaults to 300 seconds, however, this parameter can be changed in some consoles like CURL.

You can check the link below to know exactly what parameters you can use to change the timeout:

Default cURL timeout value

Let me know if this information helps.

Suggest an answer

Log in or Sign up to answer