Unable to Connect to https://api.refinitiv.com/

RiskFactors
RiskFactors Newcomer
edited May 26 in Refinitiv Data Platform

See below stacktrace:

09:53:29.996 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Opening connection {s}->https://api.refinitiv.com:443

09:53:30.022 [main] DEBUG org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connecting to api.refinitiv.com/99.83.242.11:443

09:53:30.022 [main] DEBUG org.apache.http.conn.ssl.SSLConnectionSocketFactory - Connecting socket to api.refinitiv.com/99.83.242.11:443 with timeout 1000000

09:53:30.062 [main] DEBUG org.apache.http.conn.ssl.SSLConnectionSocketFactory - Enabled protocols: [TLSv1.3

09:53:30.062 [main] DEBUG org.apache.http.conn.ssl.SSLConnectionSocketFactory - Enabled cipher suites:[TLS_AES_256_GCM_SHA384

09:53:30.062 [main] DEBUG org.apache.http.conn.ssl.SSLConnectionSocketFactory - Starting handshake

09:53:30.097 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: Shutdown connection

09:53:30.097 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection discarded

09:53:30.097 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://api.refinitiv.com:443][total available: 0; route allocated: 0 of 20; total allocated: 0 of 200]

09:53:30.098 [main] INFO org.apache.http.impl.execchain.RetryExec - I/O exception (java.net.SocketException) caught when processing request to {s}->https://api.refinitiv.com:443: Connection reset

09:53:30.099 [main] DEBUG org.apache.http.impl.execchain.RetryExec - Connection reset

java.net.SocketException: Connection reset

at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:328)

at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)

at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)

at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)

at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484)

at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478)

at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)

at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)

at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)

at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)

at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)

at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)

at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436)

at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)

at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)

at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)

at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)

at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)

at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)

at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)

at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)

at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)

at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)

at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)

at com.mashape.unirest.http.HttpClientHelper.request(HttpClientHelper.java:138)

at com.mashape.unirest.request.BaseRequest.asJson(BaseRequest.java:68)

Answers

  • Hello @RiskFactors

    The error message shows that it is a network issue. There does not seem to be a network path from your machine to the internet. Are you behind a corporate firewall or proxy. If so, please contact your network administrator to open appropriate routes. Other option is to try it from a machine with direct connection to the internet - like your home machine. This can help debug the network connectivity issues.

  • wasin.w
    wasin.w admin

    Hello @RiskFactors

    If your IT team need the api.refinitiv.com static IP Adress for configuring the firewall or proxy. There are

    Static IPs: 75.2.0.254, 99.83.242.11