ETA RWF encoding
Hi,
We try to retrieve streaming realtime data via ETA C in RWF format from our local deployed RTDS.
There is a sample code for using ETA C VAConsumer what we used:
./VAConsumer -webSocket {
{HOST}}:{
{PORT}} {
{SERVICE}} mp:EUR= -uname {
{USER_NAME}} -aid {
{APPID}} -x -protocolList rssl.rwf
We received the following message:
Error text: <rwsReadResponseHandshake:1921> Invalid HTTP response, status code 400
When we use the default tr_json2 protocol with this request, then we receive data in json format.
./VAConsumer -webSocket {
{HOST}}:{
{PORT}} {
{SERVICE}} mp:EUR= -uname {
{USER_NAME}} -aid {
{APPID}} -x
Please advise how to find the reason of this error? Is it possible that we have to change some settings in ADS/ADH?
Thanks for your help in advance.
Best regards
Best Answer
-
I tested it with several versions of ADS.
1. ADS 3.5.1.L1: I got the following error.
Connection down, reconnecting. Channel fd=18446744073709551615
Error text: <rwsReadResponseHandshake:1921> Invalid HTTP response, status code 400
Connection down, reconnecting. Channel fd=18446744073709551615
Error text: <rwsReadResponseHandshake:1921> Invalid HTTP response, status code 4002. ADS 3.6.3.L1 and ADS 3.7.0.L1: I can get the data properly.
You may need to upgrade ADS.
2
Answers
-
0
-
Thank you for your answer @Gurpreet,
Is it absolutely not possible to use the RWF format with websocket, or is it only the example application that can't do this?
Thanks in advance
0 -
Hello @marton.brosig
I can use ETA VAConsumer C (RTSDK 2.0.7.L1, quite old) to connect to my local ADS Pop (3.7.1.L1) WebSocket connection using the following parameters:
-webSocket localhost:15000 ELEKTRON_DD mp:/THB= -uname wasin -x -protocolList rssl.rwf
Result:
Could you please give me more details about your environment?
- What ETA version you are using?
- Which RTSDK edition (C/C++, Java, or C#)?
- ADS version
- More log messages when the problem occur.
- Are you using the VAConsumer "as is" or modified something?
0 -
@wasin.w
I'm using RTSDK C++/C Release 2.1.1.L1 (Jun 9, 2023),
ADS version: 3.4,
VAConsumer is unmodified,
I don't get any additional log messages other thanConnection down, reconnecting. Channel fd=-1
Error text: <rwsReadResponseHandshake:1921> Invalid HTTP response, status code 400on the console, I did not found any other log files.
Thanks in advance!0 -
While its possible to get RWF over websocket connection as shown by my colleagues; it does not offer any advantages compared to the traditional RSSL connection for a local deployed RTDS. Did you have any specific use case in mind?1
-
Hi @marton.brosig
I agree with @Gurpreet , the RSSL connection aims for high data distribution. It provides a better performance then the WebSocket connection.
0
Categories
- All Categories
- 6 AHS
- 37 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
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛