error on handshake

Hello Team,


Good day!


Could you please advise on the error that the client is seeing? How can this be fixed?


Thanks!


>>> import eikon as ek
>>> ek.set_app_key('xxxxxxxxxxxxxxxxxxxxxxx')
2022-09-08 16:12:31,493 P[5436] [MainThread 5232] Error on handshake url http://127.0.0.1:9060/api/handshake : RemoteProtocolError('Server disconnected without sending a response.')
2022-09-08 16:12:31,493 P[5436] [MainThread 5232] Error on handshake url http://127.0.0.1:9060/api/handshake : RemoteProtocolError('Server disconnected without sending a response.')
2022-09-08 16:12:31,501 P[5436] [MainThread 5232] Port number was not identified, cannot send any request

Best Answer

Answers

  • hi @JeffreyPatrick.Pinpin ,

    We need more information to understand the root cause. Have you checked the steps in Eikon Data API(Python) Troubleshooting? if so, please provide an information here

    Hope this helps and let me know if there's any further questions

  • Dear @raksina.samasiri , thanks for sending the troubleshooting link! Unfortunately, I could not find anything about the error message that the client provided especially on the "error on handshake" :( could you please advise? What other information do you need from the user? I look forward to your advice soon as I need to get back to the client tomorrow. Thanks!


    Btw, can I the troubleshooting link that you provided be forwarded to our external clients?


    THanks

  • Hi @JeffreyPatrick.Pinpin ,

    Could you please share your snippet code and the versions of Python/Eikon Data API used? and please run the 'pip list" command to verify the versions of Python Libraries used by the machine.

    And yes, the troubleshooting link can be shared with external clients as it's the public article for our clients. Please ask the client to go through each step to see what can be the cause of this error.

    Please let me know in case you have any further questions.

  • Hi @raksina.samasiri I've sent you an email containing the error message. Please assist. Thanks
  • hi @raksina.samasiri when I entered "pip list" I got this error-


    "! commands are disabled. Note: you may need to restart the kernal to use updated packages".


    How can I fix this?

  • @raksina.samasiri Hi Raksina, any update please?