how to use RefinitivData API in Django app

I want to use refinitiv.data api to get some data in Django app, when i open session

An error occurred while requesting URL('http://localhost:9060/api/status').

ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')

An error occurred while requesting URL('http://localhost:9000/api/status').

ReadError('[WinError 10054] An existing connection was forcibly closed by the remote host')

An error occurred while requesting URL('http://localhost:9060/api/status').

ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')

Error: no proxy address identified.

Check if Desktop is running.

An error occurred while requesting URL('http://localhost:9000/api/handshake').

what could be the problem here, I tested with Django and it works find

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @BooBoh

    I am assuming that you are using the Data Library for Python with the Desktop Session. If so, please note that the Desktop session requires the LSEG Workspace desktop application running in the same machine to ack as a proxy between the library and the Workspace platform.

    Are you open (and logged in) the Workspace desktop application in the same machine that runs the application?