While running a large intraday tick history job where I poll the endpoint to check if the job has finished, I receive an intermittent interruption which produces the following error message:
errorMessage": "('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))",
"errorType": "ConnectionError"
Why does this happen and how can I prevent such an error in future?
This are my extractions urls:
"https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractRawResult(ExtractionId='0x078d7e7e1d6c8f69')"
"https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractRawResult(ExtractionId='0x078d7ffc787c8f7f')"