question

Upvotes
Accepted
383 7 13 15

need help to find out correct port

We are using ETA Watchlist api.

We are able to connect to eu-west-1-aws-3-sm.optimized-pricing-api.refinitiv.net:443

But while requesting endpoints through ServiceDiscovery, we are getting below response from Refinitiv, and we are not able to connect to any of the combinations from this.

Could you please help us to identify the correct combination of host and port ?

http://ap-northeast-1-aws-1-sm.optimized-pricing-api.refinitiv.net:14002

http://ap-northeast-1-aws-3-sm.optimized-pricing-api.refinitiv.net:14002

http://ap-northeast-1-aws-2-sm.optimized-pricing-api.refinitiv.net:14002

http://ap-southeast-1-aws-1-sm.optimized-pricing-api.refinitiv.net:14002

http://ap-southeast-1-aws-3-sm.optimized-pricing-api.refinitiv.net:14002

http://ap-southeast-1-aws-2-sm.optimized-pricing-api.refinitiv.net:14002

http://eu-central-1-aws-1-sm.optimized-pricing-api.refinitiv.net:14002

http://eu-central-1-aws-3-sm.optimized-pricing-api.refinitiv.net:14002

http://eu-central-1-aws-2-sm.optimized-pricing-api.refinitiv.net:14002

http://eu-west-1-aws-1-sm.optimized-pricing-api.refinitiv.net:14002

http://eu-west-1-aws-3-sm.optimized-pricing-api.refinitiv.net:14002

http://eu-west-1-aws-2-sm.optimized-pricing-api.refinitiv.net:14002

http://us-east-1-aws-1-sm.optimized-pricing-api.refinitiv.net:14002

http://us-east-1-aws-3-sm.optimized-pricing-api.refinitiv.net:14002

http://us-east-1-aws-2-sm.optimized-pricing-api.refinitiv.net:14002

http://us-east-2-aws-1-sm.optimized-pricing-api.refinitiv.net:14002

http://us-east-2-aws-3-sm.optimized-pricing-api.refinitiv.net:14002

http://us-east-2-aws-2-sm.optimized-pricing-api.refinitiv.net:14002

#technologyeta-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
22.1k 59 14 21

Hi @Bhimrao.Ghule,

The Service Discovery has returned the correct host/port for your login - however, the protocol is not http as you have indicated. 14002 is an RSSL port, and carries data in a propriety compressed binary format, and can only be read/used by LSEG SDK's.

Please get rid of http in the url, and you should be able to verify the connection. For e.g:

telnet us-east-1-aws-2-sm.optimized-pricing-api.refinitiv.net 14002

The other port 443 is a wss (secure websockets) port.

If you are new to the RTSDK, then I would recommend that you start with the VAConsumer without modification.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank you @Gurpreet for quick reply.
Upvotes
24.7k 54 17 14

Hello @Bhimrao.Ghule

This is the example response from the Service Discovery service:

{
    "port": 14002,
    "location": [
        "ap-northeast-1a"
    ],
    "transport": "tcp",
    "provider": "aws",
    "endpoint": "ap-northeast-1-aws-1-med.optimized-pricing-api.refinitiv.net",
    "dataFormat": [
        "rwf"
    ]
},
{
    "port": 443,
    "location": [
        "ap-northeast-1a"
    ],
    "transport": "websocket",
    "provider": "aws",
    "endpoint": "ap-northeast-1-aws-1-lrg.optimized-pricing-api.refinitiv.net",
    "dataFormat": [
        "tr_json2"
    ]
}
  • The endpoint with port "14002", transport "tcp", and dataFormat "rwf" means this endpoint supports the RSSL connection. This kind of endpoint supported by the Real-Time SDK (Java, C/C++, and C#) only.
  • The endpoint with port "443", transport "websocket", and dataFormat "tr_json2" means this endpoint supports the secure-WebSocket connection (wss). This kind of endpoint supported by the WebSocket API and the Real-Time SDK (Java, C/C++, and C#) with WebSocket connection.

About how to use the ETA - RTO connection example, you can find the ETA ValueAdded Quick Start from the following resources:

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank you @wasin.w , I will go through the provided documents.

Hello @Bhimrao.Ghule

Please be informed that you can find more information about the Service Discovery response message from section 4.3.2 Service Discovery Response of the Refinitiv Real-Time - Optimized Install and Config Guide document.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.