question

Upvotes
1 0 0 0

Why am I getting "Tried all hosts. Unable to connect" when I am trying to connect Thomson Reuters trep-rt

Getting error "Tried all hosts. Unable to connect"

elektronrefinitiv-realtimetreperror
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
4.4k 10 6 9

Hi @benny.george

The error message just means that API cannot connect to TREP.

If this is the first time you tried to connect to TREP server, then check the connection configuration. Make sure that hostname and port are correct.

Otherwise, check the status of TREP server whether the server is available or not.

Also, try ping or telnet the TREP server to see if it is reachable.

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
23k 60 15 21

@benny.george: First thing to test is if you have network connectivity to TREP servers. From your question you are trying SSL connection to reuters-ems-trep1 and reuters-ems-trep2 from the UAT environment. Can you verify that the port 8101 is open and you are able to establish a connection. A telnet command from the UAT box like telnet reuters-ems-trep1 8101 can quickly validate this.

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
1 0 0 0

@Gurpreet.: the telnet we have tried beofore itself and it is working fine. Aiso as I have mentioned we could se the user mounted from the dacs console and the ip showing there is the same as the test machines ip.

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
25.6k 58 17 14

Hello @benny.george

Could you please use the rmdestestclient tool to verify the SSL connection from your machine to the TREP server? This rmdestestclient is a tool to verifying connection, authentication and subscription between client machine and TREP infrastructure.

You can download this tool from customer zone web site (https://customers.reuters.com/a/support/technical/softwaredownload/Default.aspx) in the MDS-Infra category and products “Infrastructure Tools”

The tool document is bundled with the package, however you can run this tool via the following steps

  1. Download the package to the local machine, then extract it
  2. Copy the RDMFieldDictionary file from the <package>/rhel6_x86_64 or other folders to the <package>/win_x86_64 folder
  3. Open <package>/win_x86_64 folder in the command prompt
  4. Create the item.txt file, then input the RIC name in the first line and press enter
  5. Run the rmdstestclient tool via the following command

rmdstestclient -S <TREP Service> -h <TREP Address/Hostname> -ct ssl -p <TREP SSL port> -l stdout -X -f item.txt -v -d 3 –Z –u <user>

example:

rmdstestclient -S IDN_RDF -h reuters-ems-trep1 -ct ssl -p 8101 -l stdout -X -f item.txt -v -d 3 –Z -u user1

infratool.png (28.4 KiB)
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.

cusersuc180473documentsoutput.txt@Gurpreet.:

we have tested with the tool it is working fine. but still the SIMCORP API is not working.

This is the first time that we heard about SIMCORP API. Unfortunately, we aren't familiar with it.

Can you elaborate more detail about SIMCORP API, please?

Anyway, I've checked the output text file attached. So far so good, the rmdstestclient tool can get EUR= and AEDINR=R data properly via the rmdstestclient tool.

Upvotes
25.6k 58 17 14

Hi @benny.george

The given output shows that the rmdstestclient can connect and consume data from reuters-ems-trep1 TREP via SSL port 8101 service hEDD successfully.

Could you please give us more detail about the SIMCORP API? Basically, the TREP infrastructure and Elektron support TREP and Elektron APIs (RFA, EMA, ETA, UPA, SFC, SSL API) only.

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.

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.