For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 0 0 4

DSS API connection failed

I am not able to hit refinitiv from PaSS and getting below error ResourceAccessException:

15:26:35.857: [APP/PROC/WEB.0] 2022-09-05 09:56:35 ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on POST request for https://selectapi.datascope.refinitiv.com/RestApi/v1/Authentication/RequestToken: Connection reset; nested exception is javax.net.ssl.SSLException: Connection reset] with root cause

15:26:35.857: [APP/PROC/WEB.0] java.net.SocketException: Connection reset

15:26:35.857: [APP/PROC/WEB.0] at java.net.SocketInputStream.read(SocketInputStream.java:210)

15:26:35.857: [APP/PROC/WEB.0] at java.net.SocketInputStream.read(SocketInputStream.java:141)

15:26:35.857: [APP/PROC/WEB.0] at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:464)

15:26:35.857: [APP/PROC/WEB.0] at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)

15:26:35.857: [APP/PROC/WEB.0] at sun.security.ssl.SSLTransport.decode(SSLTransport.java:109)

15:26:35.857: [APP/PROC/WEB.0] at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1397)

15:26:35.857: [APP/PROC/WEB.0] at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1305)

15:26:35.857: [APP/PROC/WEB.0] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)

15:26:35.857: [APP/PROC/WEB.0] at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)

15:26:35.857: [APP/PROC/WEB.0] at

Could you please help in resolving this issue, Is there any whitelisting required?

dss-rest-apijavaexceptiondisconnectionsocket-exception
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.

1 Answer

· Write an Answer
Upvotes
Accepted
78.2k 246 52 72

@shwetha.krishnaiah02

It could be a network, proxy, or firewall issue. You can test the connection by running the simple Java example to connect to DSS. You can download Java examples from here.

You can also enable logging in Java. You may be able to see helpful information in the Java log. For example, you can enable debug logs using the following Java option.

-Djavax.net.debug=all 

Otherwise, you can try to access this URL: https://selectapi.datascope.refinitiv.com/RestApi/v1 via a web browser.

1662435778337.png



1662435778337.png (35.0 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.

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.