WebSocket Connectivity Issue

Dear @umer.nalla , @wasin.w ,
We are able to get the access token as well as do service discovery now. Since we are from emea region we have selected following endpoint and trying to connect to Websocket. However we are not getting any message back
ws://emea-1-t1.streaming-pricing-api.refinitiv.com:443/WebSocket
We have tried telnet on emea-1-t1.streaming-pricing-api.refinitiv.com and we have no connectivity issues at our end.
We are using java as programming language and have used MarketPriceAuthentication.java sample client from https://github.com/Refinitiv/websocket-api/blob/88fc74f8c39f1163f83e3004aeb11729e7d2e6ec/Applications/Examples/java/MarketPriceAuthentication.java
Kindly advise.
Best Answer
-
Hello @kishore.karanam
Firstly, the examples for the RTO connection are available on GitHub - /Applications/Examples/RDP directory. The example that matches your requirement is the MarketPriceRdpGwAuthentication.java example file.
The MarketPriceAuthentication.java example that you have tried is for the local RTDS deployment scenario, not RTO.
Secondly, the RTO WebSocket connection is encrypted, so you need to connect to the "wss://" URL, not just "ws://" URL which is an unencrypted protocol.
Next, please be informed that the RTO is available in multiple capacity levels, currently provided in 3 tiers: small, medium, and large. You need to connect to the WebSocket server that matches your watchlist size/tier based on your credential permission.
You can get the list of the RTO WebSocket server for your connection tier with the Service Discovery API.
Example API Call:
curl --location --request GET 'https://api.refinitiv.com/streaming/pricing/v1/?transport=websocket&dataformat=tr_json2'; \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <access token>'Please replace the <access token> with your access token from the RDP APIs Auth Service.
0
Answers
-
Is there a particular reason you are using Websocket API rather than EMA Java as recommended in an earlier post?
EMA Java is generally much simpler to use than Websocket API and also delivers a higher performance level than Websocket API.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛