Hi All,

I am getting this error frequently when making HTTPConnection.

Sometimes it connects and sometimes not.

I have tried with various link.It behaves same with all.

What may be the cause?

W/System.err( 1845): java.net.SocketException: The operation timed out
W/System.err( 1845):     at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native
Method)
W/System.err( 1845):     at
org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:478)
W/System.err( 1845):     at
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:565)
W/System.err( 1845):     at
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:61)
W/System.err( 1845):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readln(HttpURLConnection.java:1178)
W/System.err( 1845):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.readServerResponse(HttpURLConnection.java:1250)
W/System.err( 1845):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1238)
W/System.err( 1845):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1558)
W/System.err( 1845):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1551)
W/System.err( 1845):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1052)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to