question

Upvotes
Accepted
262 8 9 15

Tick History Intraday Summaries python Error

When I try to extract Tick History Intraday Summaries extraction using attached python file from our developers portal <https://developers.refinitiv.com/en/api-catalog/refinitiv-tick-history/refinitiv-tick-history-rth-rest-api/download&gt;

I am receiving below error message:

ConnectionError: HTTPSConnectionPool(host='hosted.datascopeapi.reuters.com', port=443): Max retries exceeded with url: /RestApi/v1/Extractions/ExtractRaw (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000218F3E65040>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
tick-history-rest-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
23k 22 9 14

Hello @Beera.Rajesh,

Looks like your connection is timing out, failing to establish a connection to DSS endpoints. I am able to run the example without issues, after first replacing the placeholder DSS credentials with valid.

Can we check what are your versions of

python:

python

Requests library:

python -m pip freeze | findstr requests

And openssl library version, I suspect you are on windows, 64 bit, run command shell as administrator:

"C:\Program Files\OpenSSL-Win64\bin\openssl" version


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Hi @zoya.farberov Here are my details:

Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] on win32

C:\Program Files>OpenSSL-Win64\bin\openssl

OpenSSL> version

OpenSSL 1.1.1j 16 Feb 2021




Hi @Beera.Rajesh

The above looks good, is requests module installed?

Do you find it with pip freeze?

If in doubt, please check:

python -m pip install requests

let me know how this works for you?

Otherwise, the next thing to look at is connectivity. Does it behave the same with company VPN on and off?


Hi @zoya.farberov It worked fine with VPN off. Thank you.

Click below to post an Idea Post Idea