For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

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

eikon-data-apiapi
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
5.9k 10 5 8

The answer has been provided in this thread

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5.9k 10 5 8

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 0 0

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5.9k 10 5 8

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

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?

Upvotes
1 0 0 0

@raksina.samasiri Hi Raksina, any update please?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.