question

Upvotes
Accepted
5 0 3 4

Why am I getting java.net.UnknownHostException: hosted.datascopeapi.reuters.com ?

I've downloaded the java example and tried to execute DSS2Token,java but instead of getting a token, I got an exception.

PS : We received valid TRTH V2 user today.

Thanks

tick-history-rest-apijava
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
23k 22 9 14

Looks like you are not able to resolve host hosted.datascopeapi.reuters.com

Are you able to run DOS command shell as admin, and try pinging it, to see if it's resolved into an IP address?

C:\Windows\system32>ping hosted.datascopeapi.reuters.com


Pinging hosted.datascopeapi.reuters.com [192.165.219.152] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.165.219.152:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


C:\Windows\system32>
icon clock
10 |1500

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

Click below to post an Idea Post Idea