You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From time to time, I'd get SocketTimeoutException on GDAX.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at si.mazi.rescu.HttpTemplate.receive(HttpTemplate.java:122)
at si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:156)
at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:120)
at com.sun.proxy.$Proxy11.getProductOrderBook(Unknown Source)
at org.knowm.xchange.gdax.service.GDAXMarketDataServiceRaw.getCoinbaseExProductOrderBook(GDAXMarketDataServiceRaw.java:56)
at org.knowm.xchange.gdax.service.GDAXMarketDataService.getOrderBook(GDAXMarketDataService.java:50)
The text was updated successfully, but these errors were encountered:
Kindly point out how specifically we can set on this library? The example BitstampTradeServiceRaw on rescu doesn't give examples like
rescu.http.readTimeoutMillis = 5000 # Read timeout in milliseconds when performing HTTP requests. The default is 30000 (30 seconds).
rescu.http.readProxyHost = www.example.com # HTTP proxy host. Both host and port must be set in order to use a proxy.
rescu.http.readProxyPort = 80 # HTTP proxy port. Both host and port must be set in order to use a proxy.
rescu.http.ignoreErrorCodes = true # If set to true, the HTTP response body never be parsed as Exception but always as the method response type. Defaults to false.
From time to time, I'd get SocketTimeoutException on GDAX.
The text was updated successfully, but these errors were encountered: