Getting error "Tried all hosts. Unable to connect"
Getting error "Tried all hosts. Unable to connect"
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.
@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.
@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.
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
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
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.
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.