ld.open_session() failling with workspace open

lubin
lubin Newcomer
edited 2:51AM in Refinitiv Data Platform

Hi i am working in vscode and when simply running this:

import lseg.data as ld

ld.open_session()

I get this error:

An error occurred while requesting URL('http://localhost:9005/api/status').ReadTimeout('timed out')An error occurred while requesting URL('http://localhost:9000/api/status').ReadTimeout('timed out')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').RemoteProtocolError("illegal status line: bytearray(b'\\xff\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x7fe\\x00 br')")Error on handshake url http://localhost:9000/api/handshake : RemoteProtocolError("illegal status line: bytearray(b'\\xff\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x7fe\\x00 br')")

this is failing with workspace open in the background. why?

Answers

  • Hello @lubin

    You can start with the troubleshooting guide. It seems like some other process is holding on the port and the API is unable to read the correct port thats being used by Workspace.

    You can also try to restart your machine and try again.