Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How many simultaneous connections can we use with the API?

Hi,

I download all JIRA for multiple projects and to speed up the download, I use the parallelization with 6 or 8 simultaneous connections.

Sometimes it is failed, so I need to reduce the number of connections.

So my question is, how many simultaneous connections can we use with the API?

Thanks for advance for your help

Regards

Mickael

1 answer

0 votes

Loads more than 8.

I think we need to know what the errors are when "it fails".

The error is :

HTTPSConnectionPool(host='invensense.atlassian.net', port=443): Max retries exceeded with url: /rest/api/latest/serverInfo (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x2b8ce54e1e50>: Failed to establish a new connection: [Errno 110] Connection timed out')) while doing GET https://invensense.atlassian.net/rest/api/latest/serverInfo [{'params': None, 'headers': {'User-Agent': 'python-requests/2.20.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json,*.*;q=0.9', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Atlassian-Token': 'no-check'}}]

That would suggest that you're hitting the API hundreds of times and hence overloading it.

But I use only 6 connections at the same time.

What are those connections doing?  A hit is not just a single point, they could be doing something massive causing the overload as well.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

82 views 3 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you