Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (3.4.0)
Viewing all articles
Browse latest Browse all 66

java.net.socketTimeoutExeception

$
0
0

Getting the below error for network calls very frequently on android build using Titanium SDK 3.4.0.

[ERROR] : TiHttpClient: (TiHttpClient-2) [0,22881] HTTP Error (java.net.SocketTimeoutException): Read timed out [ERROR] : TiHttpClient: java.net.SocketTimeoutException: Read timed out [ERROR] : TiHttpClient: at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method) [ERROR] : TiHttpClient: at com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:689) [ERROR] : TiHttpClient: at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103) [ERROR] : TiHttpClient: at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:134) [ERROR] : TiHttpClient: at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:174) [ERROR] : TiHttpClient: at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:188) [ERROR] : TiHttpClient: at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:178) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:307) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:219) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1328) [ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:841)


Viewing all articles
Browse latest Browse all 66

Trending Articles