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

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @marton.brosig

    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 400

    2. ADS 3.6.3.L1 and ADS 3.7.0.L1: I can get the data properly.

    You may need to upgrade ADS.

Answers