I'm just getting started with the Refinitiv Data Library and trying to go through some of the examples contained here:
However, I get stuck on even the most basic ones like:
response = esg.basic_overview.Definition("MSFT.O").get_data()
I'm running a desktop.workspace session and have Eikon open in the background.
This is the error log:
An error occurred while requesting URL('http://localhost:9060/api/rdp/data/environmental-social-governance/v1/views/basic?universe=MSFT.O'). ReadTimeout('timed out') Traceback (most recent call last): File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_exceptions.py:8 in map_exceptions yield File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\backends\sync.py:26 in read return self._sock.recv(max_bytes) TimeoutError: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_transports\default.py:60 in map_httpcore_exceptions yield File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_transports\default.py:218 in handle_request resp = self._pool.handle_request(req) File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_sync\connection_pool.py:253 in handle_request raise exc File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_sync\connection_pool.py:237 in handle_request response = connection.handle_request(request) File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_sync\connection.py:90 in handle_request return self._connection.handle_request(request) File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_sync\http11.py:105 in handle_request raise exc File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_sync\http11.py:84 in handle_request ) = self._receive_response_headers(**kwargs) File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_sync\http11.py:148 in _receive_response_headers event = self._receive_event(timeout=timeout) File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_sync\http11.py:177 in _receive_event data = self._network_stream.read( File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\backends\sync.py:24 in read with map_exceptions(exc_map): File ~\AppData\Local\anaconda3\lib\contextlib.py:153 in __exit__ self.gen.throw(typ, value, traceback) File ~\AppData\Local\anaconda3\lib\site-packages\httpcore\_exceptions.py:12 in map_exceptions raise to_exc(exc) ReadTimeout: timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): Cell In[33], line 1 response = esg.basic_overview.Definition("MSFT.O").get_data() File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\content\_content_provider_layer.py:58 in get_data return super().get_data(session, on_response) File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\delivery\_data\_data_provider_layer.py:149 in get_data response = get_data(self._data_type, self._provider, session, **self._kwargs) File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\delivery\_data\_data_provider_layer.py:51 in get_data response = provider.get_data(session, url, auto_retry=auto_retry, **kwargs) File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\delivery\_data\_data_provider.py:80 in get_data raw_response = self.connection.send(request, session, *args, **kwargs) File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\delivery\_data\_connection.py:14 in send return session.http_request(request) File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\_core\session\_session.py:504 in http_request return self._http_service.request(request) File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\_core\session\http_service.py:334 in request raise error File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\_core\session\http_service.py:312 in request response = self._client.send(request) File ~\AppData\Local\anaconda3\lib\site-packages\refinitiv\data\_core\session\http_service.py:204 in send response = client.send(request, follow_redirects=True) File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_client.py:901 in send response = self._send_handling_auth( File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_client.py:929 in _send_handling_auth response = self._send_handling_redirects( File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_client.py:966 in _send_handling_redirects response = self._send_single_request(request) File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_client.py:1002 in _send_single_request response = transport.handle_request(request) File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_transports\default.py:217 in handle_request with map_httpcore_exceptions(): File ~\AppData\Local\anaconda3\lib\contextlib.py:153 in __exit__ self.gen.throw(typ, value, traceback) File ~\AppData\Local\anaconda3\lib\site-packages\httpx\_transports\default.py:77 in map_httpcore_exceptions raise mapped_exc(message) from exc ReadTimeout: timed out
I am however able to get a response for the following query:
response = symbol_conversion.Definition("MSFT.O").get_data()
Thus, I don't think there is anything fundamentally wrong with my configuration.
Please help!