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
Best Answer
-
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.0
Answers
-
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.
0 -
Tell me please where I can see "About"
0 -
From the main menu of Eikon application select Help - About Refinitiv Eikon.
1 -
I am use Eikon Data API 1.1.2 and API Proxy 9.52.0.51
0 -
I am use Eikon Data API 1.1.2 and API Proxy 9.52.0.51
0 -
Hi @babenkodes
Please update the EIkon Data API version using this command:
pip install --upgrade eikon
And please try again.
0 -
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.
0 -
Tell me please where I can see pyeikon.log
When I try to run your commands, I get the following output:
0 -
It should be created in the same folder where the Jupyter notebook you're running is saved.
0 -
He`s not there. Could this be due to an error?
0 -
No, this is not due to an error. You could try searching for pyeikon.log file. Or instead of relying on the default location you could provide explicit path to where the file will be created:
logging.basicConfig(level=1,
filename='C:\Temp\pyeikon.log',
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')0 -
Speak Russian?
0 -
I personally do indeed speak Russian. But on a public forum we prefer all posts to be in English, since the audiences for this forum are from all over the world.
0 -
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.InvokeWebRequestCommand0 -
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.0 -
I am get the following response:
Tell me please how I can rolling back the Eikon to 4.0.51?
0 -
Then let's continue in English, but my English is bad, so I apologize in advance. The logs in the attach.Logs.zip
0 -
Tell me please how I can open a ticket with Refinitiv Helpdesk?
0 -
You can use Contact Us capability in your Eikon application (from the main Eikon menu select Help - Contact Us) or visit MyRefinitiv.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 370 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛