Hi there,
Whilst I have been using CodeBook, I'd also like to code locally on my machine and use Visual Studio Code.
However, the following script returns an error and as a result I am unable to connect:
import refinitiv.data as rd from refinitiv.data.content import news from IPython.display import HTML import pandas as pd import numpy as np from datetime import datetime,timedelta import time import warnings warnings.filterwarnings("ignore") import refinitiv.dataplatform.eikon as ek ek.set_app_key('MyToken which works on CodeBook')
Here is the error:
ERROR!!! An error occurred while requesting URL('http://localhost:9000/api/status'). ReadTimeout('') ERROR!!! An error occurred while requesting URL('http://localhost:9060/api/status'). ConnectError('All connection attempts failed')Error: no proxy address identified.Check if Desktop is running. ERROR!!! An error occurred while requesting URL('http://localhost:9000/api/handshake'). RemoteProtocol Error("illegal status line: bytearray(b'\\xff\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x7fe\\x01')")
Can someone help or assist? Many thanks.