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
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'}}]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That would suggest that you're hitting the API hundreds of times and hence overloading it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are those connections doing? A hit is not just a single point, they could be doing something massive causing the overload as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.