Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by babenkodes · Nov 16, 2020 at 10:08 AM · python api error

Error on handshake port 9000

I am getting the following error when i try to run my downloader in Spyder.

Error on handshake port 9000 : ReadTimeout(ReadTimeout)

I am unsure what is causing this as it has been working perfectly well for months until 2 days ago

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

7 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov. · Nov 20, 2020 at 04:02 PM

@babenkodes

Thank you for the logs, they are most helpful. It looks like your machine is experiencing connectivity problems with Eikon platform. Specifically it cannot establish HTTPS tunnel with emea1.apps.cp.thomsonreuters.com/Apps/UDF/MSF endpoint. Do you experience any problems with Eikon application? With these symptoms I would expect to see that, while your Eikon application may be able to retrieve some data like streaming market data, it would fail to retrieve other types of data like perhaps fully display Global Crude Overview page or Top News page or timeseries in charts.
Eikon periodically automatically executes a system test in the background. I see a record of a bunch of intermittent failed data retrieval tests lately with this Eikon account. However, it looks like the Eikon account you use is utilized by multiple users on several machines, hence it's difficult to ascertain whether the system test failures other users utilizing this account experienced is relevant to the problem you're having. In any case, I suggest you open a ticket with Refinitiv Helpdesk to look into the connectivity problems with Eikon application.

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
babenkodes · Dec 08, 2020 at 03:30 PM 0
Share

Tell me please how I can open a ticket with Refinitiv Helpdesk?

avatar image
REFINITIV
Alex Putkov. ♦♦ babenkodes · Dec 08, 2020 at 04:57 PM 0
Share

You can use Contact Us capability in your Eikon application (from the main Eikon menu select Help - Contact Us) or visit MyRefinitiv.

avatar image
REFINITIV
Answer by chavalit.jintamalit · Nov 16, 2020 at 11:07 AM

Hi @babenkodes

What are the Eikon Desktop and API Proxy and Eikon Data API version?

I tested Eikon Data API 1.1.7 with Eikon Desktop and API Proxy in this picture and it works fine.


ahs.png (74.4 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by babenkodes · Nov 16, 2020 at 12:36 PM

Tell me please where I can see "About"

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Alex Putkov. ♦♦ · Nov 16, 2020 at 11:33 PM 1
Share

From the main menu of Eikon application select Help - About Refinitiv Eikon.

avatar image
babenkodes Alex Putkov. ♦♦ · Nov 17, 2020 at 03:16 PM 0
Share

I am use Eikon Data API 1.1.2 and API Proxy 9.52.0.51

avatar image
Answer by babenkodes · Nov 17, 2020 at 03:17 PM

I am use Eikon Data API 1.1.2 and API Proxy 9.52.0.51

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by chavalit.jintamalit · Nov 18, 2020 at 02:52 AM

Hi @babenkodes

Please update the EIkon Data API version using this command:

pip install --upgrade eikon

And please try again.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
babenkodes · Nov 20, 2020 at 10:26 AM 0
Share
pip install --upgrade eikon
Note: you may need to restart the kernel to use updated packages.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
avatar image
REFINITIV
Answer by Alex Putkov. · Nov 18, 2020 at 05:03 AM

Thank you for sharing the version numbers. As the next step we need to increase the logging level and collect a bunch of logs. Run Eikon Configuration Manager from Windows Start menu, select Logs tab and set Refinitiv Desktop trace level to "4 - Debug". Click Configure and restart Eikon. Then run the following code to reproduce the problem and output pyeikon log to pyeikon.log file.

import eikon as ek 
import logging 
logging.basicConfig(filename='pyeikon.log', level=1,                      
    format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') 
ek.set_app_key('MY_APP_KEY')
ek.get_data('EUR=',['BID','ASK'])

Collect pyeikon.log file. Then collect SxS.<datetime>.<pid>.txt and APIProxy.<datetime>.<pid>.txt log files from Eikon logs folder (C:\ProgramData\Thomson Reuters\Eikon Data\Logs\TRD\Eikon.<datetime>.<pid>). Once you've collected the logs, you can put them in a zip file and attach it to your post. Don't forget to reverse logging settings after collecting the logs. You don't want Eikon and Python to keep outputting debug level logging.

Comment

People who like this

0 Show 7 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
babenkodes · Nov 18, 2020 at 02:01 PM 0
Share

Tell me please where I can see pyeikon.log

When I try to run your commands, I get the following output:

1.jpg (97.9 KiB)
avatar image
REFINITIV
Alex Putkov. ♦♦ babenkodes · Nov 18, 2020 at 02:04 PM 0
Share

It should be created in the same folder where the Jupyter notebook you're running is saved.

avatar image
babenkodes Alex Putkov. ♦♦ · Nov 18, 2020 at 02:14 PM 0
Share

He`s not there. Could this be due to an error?

avatar image
REFINITIV
Answer by jirapongse.phuriphanvichai · Nov 20, 2020 at 01:54 AM

@babenkodes

Some clients found an issue with Eikon 4.0.52 build. You can try the following command in PowerShell.

Invoke-WebRequest -Method POST -Body (@{"AppKey"="<appkey>";"AppScope"="trapi";"ApiVersion"="1";"LibraryName"="RDP Python Library";"LibraryVersion"="1.1.7"}|ConvertTo-Json) -Uri http://localhost:9000/api/handshake -ContentType application/json

Typically, you will get the following response.

However, if you get the error response, rolling back the Eikon to 4.0.51 may solve the issue.

{"code":500,"message":"connect ETIMEDOUT 159.220.40.41:443","statusMessage":"Internal Server Error"}
At line:1 char:1
+ Invoke-WebRequest -Method POST -Body (@{"AppKey"="bd478b1b5a88421cb40 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand



1605836985514.png (44.7 KiB)
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
babenkodes · Nov 20, 2020 at 10:34 AM 0
Share

I am get the following response:

Tell me please how I can rolling back the Eikon to 4.0.51?

1.jpg (40.3 KiB)

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
11 People are following this question.

Related Questions

Error on handshake port 9000 : ReadTimeout(ReadTimeout)

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges