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 daichi.yuasa.b · Jan 21 at 01:26 PM · eikondataapieikon data api error

Error on handshake port 9060 : TimeoutException

Hi,

I have the following error when trying to access Eikon API using Python.

 Error on handshake port 9060 : TimeoutException("TimeoutException on HTTP request: ReadTimeout('')")


My Python packages and applications related to Eikon are as follows.

Python packages:

- python 3.9.1

- eikon 1.1.8

Applications:

- Eikon Desktop 4.0.52055

- Eikon API Proxy 9.52.0.51


Also, setting environment variables are as follows because of using proxy server for the internet connection.

- HTTP_PROXY = http://username:password@proxyhost:port

- HTTPS_PROXY = http://username:password@proxyhost:port

- NO_PROXY = localhost,127.0.0.1


Can you help me?

1611234254965.png (86.0 KiB)

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.

4 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov. · Jan 26 at 05:12 PM

@daichi.yuasa.b

Thank you for the information. All data retrieval from Eikon platform using Eikon Data APIs is via HTTPS port 443, hence I don't think the fact that you cannot telnet to apac1.apps.cp.thomsonreuters.com on port 80 is a concern for the issue you experienced.
For further investigation, could you please increase the logging level in Eikon Data APIs library for Python as follows before calling set_app_key method, and include the full output?

ek.set_log_level(1)
ek.set_app_key(YOUR_APP_KEY)

And could you also try retrieving some data, e.g.

ek.get_data('IBM.N', 'TR.Revenue')
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
daichi.yuasa.b · Jan 26 at 06:43 PM 0
Share

@Alex Putkov.

Thank you for the information.

I have attached the log file I got by running as below, Could you check it, please?

import eikon as ek
ek.set_log_level(1)
ek.set_app_key('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
ek.get_data('IBM.N', 'TR.Revenue')

pyeikon.20210127.02-38-26_mod_key.log.txt

pyeikon2021012702-38-26-mod-keylog.txt (3.3 KiB)
avatar image
REFINITIV
Alex Putkov. ♦♦ daichi.yuasa.b · Jan 27 at 12:30 AM 0
Share

Thank you for the log. We need to continue investigating this issue with Refinitiv Support. I raised case 09567134 on your behalf with Refinitiv Helpdesk. You will be contacted by the Helpdesk.

avatar image
REFINITIV
Answer by jason.ramchandani · Jan 21 at 02:54 PM

Hi @daichi.yuasa.b Please could you tell me what library versions of the following you are running httpx, nest-asyncio? This thread maybe able to assist you as it deals with a number of possible solutions. For a start I would start with Python 3.8x. But let me know how you get on. I hope this can help.

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
daichi.yuasa.b · Jan 21 at 03:41 PM 0
Share

Thanks @jason.ramchandani

Please confirm my using library versions as indicated below.

  • httpx : 0.14.3
  • nest-asyncio : 1.3.3
avatar image
REFINITIV
Answer by jason.ramchandani · Jan 21 at 04:14 PM

@daichi.yuasa.b Your httpx and nest-asyncio libs are correct. Also please can you confirm with your IT team that you have opened firewall access for the following (not sure which region you are in so I put all regions):


emea1.apps.cp.thomsonreuters.com 159.220.1.19
amers1.apps.cp.thomsonreuters.com 159.220.40.41
apac1.apps.cp.thomsonreuters.com 159.220.16.215

I have seen many issues where firewalls have been updated - so please do check that and confirm please.

Comment

People who like this

0 Show 5 · 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
daichi.yuasa.b · Jan 22 at 03:47 AM 0
Share

@jason.ramchandani Thanks for your advice.

Do I have opened firewall access for apac1.apps.cp.thomsonreuters.com to use Eikon API from Japan?


avatar image
REFINITIV
jason.ramchandani ♦♦ daichi.yuasa.b · Jan 22 at 09:32 AM 0
Share

@daichi.yuasa.b Yes thats correct - see if that fixes things.

avatar image
daichi.yuasa.b jason.ramchandani ♦♦ · Jan 25 at 08:36 AM 0
Share

May I ask one more question?

Does Eikon API need to access on port 80/443 for apac1.apps.cp.thomsonreuters.com?

avatar image
REFINITIV
Answer by jason.ramchandani · Jan 26 at 04:59 PM

@daichi.yuasa.b I need to check this and get back to you - apols for delay.

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.

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 >
12 People are following this question.

Related Questions

ERROR:pyeikon:Error code 404 | Client Error: Not Found -

Python Eikon Data API Error

Gap in FX data via Eikon API

How to fetch historical "Market Open Interest" using eikon R API?

How to get Close price of '.DXY' using get_data()?

  • 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
  • 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