An error occurred while requesting URL('http://local host:9060/api/handshake'). RemoteProtocolError(

Dear Team,

I am using Python API and an issue arises when I connect to Eikon

import refinitiv.data as rd
rd.get_config()["http.request-timeout"] = 60

An error occurred while requesting URL('http://local host:9060/api/handshake').
RemoteProtocolError('Server disconnected without sending a response.')

I have referred to this link to sort out the problem - https://developers.lseg.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv

  • Client is using Refinitiv Eikon 4.0.65 on the affected machine
  • The last time this worked was last year, but could not point when exactly last year.
  • AppKEY has been generated and is enabled
  • Launched Codebook and it has no error.
  • Tested Codebook and it works without the same issue/ error
Screenshot_23.jpg
  • Client is using Anaconda Navigator and this is the error that she is getting:
  • Tried using Eikon PIP install and tried retrieving simple Eikon API data
Screenshot_22.jpg

  • Closed All Jupyther Notebooks on all browsers active
  • Uninstalled/reinstall Anaconda Navigator
  • Relaunched Eikon and Anaconda Navigator
  • Test > same issue

Answers

  • Hi @Jenan ,

    The error message is the same as in this thread which is a network issue. Basically, the Library needs to connect to the Workspace/Eikon desktop application via localhost URLs (http://localhost:9060 and http://localhost:9000) as the API proxy between the library and the platform.

    The user should contact their IT team to verify if this private network has a network policy/proxy or firewall that blocks the connection to localhost.