API RDP and opening routes in company network
Hello,
We have been working on retrieving streaming news from RDP API (see https://community.developers.refinitiv.com/questions/55386/connection-to-streaming-news-works-in-jupyter-note.html?childToView=55486#answer-55486).
On a domestic internet network this does work well. We would like now to run it using the company internet network. Currently, we have opened the following domain adress: https://api.refinitiv.com/ . However, this does not work yet. The connexion with the authentification token seems to work but we are not getting any data afterwards.
After that we realised we forgot to open the url called after the authentification : https://api.edp.thomsonreuters.com
Do we have to open this domain adress in addition to https://api.refinitiv.com/ ?
And are there any other urls that we should open ?
Best Answer
-
Hello,
We have been working on our side to check that we had opened the right routes. It appears that this is ok.
We no longer use the RDP library.
We have suceeded to retrieve the streaming news by connecting first to https://api.refinitiv.com:443/auth/oauth2/beta1/token in order to get a token and then directly to the web socket wss://amer-1.pricing.streaming.edp.thomsonreuters.com/WebSocket thanks to the github repository : https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/python.
You will find enclosed the python script we use strongly based on the repo.
Thank you very much for all.
0
Answers
-
As per the tags you have specified this is most likely a corporate firewall / routing type issue.
import logging.config
....
session = rdp.get_default_session("Your App Key here")
session.set_log_level(logging.DEBUG)The above will enable logging which may help in diagnosing the issue.
I recommend you raise a ticket for the Elektron Realtime in Cloud product.You can then work with our ERT in Cloud team to help your configure your firewall etc. I recommend you attach any log output from the above when you raise the ticket - in case it helps them.
0 -
I can confirm that the RDP library will need to connect to api.edp.thomsonreuters.com in order to perform the authentication.
In addition to this, as you are consuming realtime streaming data it will need to connect to an ERT in Cloud server as well for the realtime data.
I have asked the RDP Library development team to confirm but I expect that it will perform Service Discovery to find a suitable ERT in Cloud server and connect to that also. The exact ERT in Cloud server can vary but the address will be something like
amer-1.pricing.streaming.edp.thomsonreuters.com
emea-1.pricing.streaming.edp.thomsonreuters.com
amer-3.pricing.streaming.edp.thomsonreuters.comand so on.
The api.refinitiv.com should also be enabled.
I will try and get back to you once I hear from the development team or they may respond directly here.
Please also continue with ERT in Cloud ticket you may have raised- as there may be additional guidance they can provide - as this is a connectivity issue rather an API issue.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 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
- 367 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 中文论坛