>From the log, the reason is possible timeout. Cause WIFI used to connect fastly, GPRS is limited with low speed. So you could try to use much longer timer to connect the server. Hope it did work.
On Wed, Aug 18, 2010 at 12:27 AM, alan <[email protected]> wrote: > Which port are you tring to connect to? maybe your mobile provider is > blocking that port. > > On Aug 17, 10:02 am, Asif k <[email protected]> wrote: > > Hi all, > > > > I am developing a social Networking application and it works fine over > > WiFi but tried the same over GPRS it gives following Exception, > > > > 08-17 13:55:05.406: WARN/System.err(4233): > > java.net.SocketTimeoutException: Socket is not connected > > 08-17 13:55:05.406: WARN/System.err(4233): at > > > org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native > > Method) > > 08-17 13:55:05.406: WARN/System.err(4233): at > > > org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocket(OSNetworkSystem.java: > > 131) > > 08-17 13:55:05.406: WARN/System.err(4233): at > > org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java: > > 247) > > 08-17 13:55:05.406: WARN/System.err(4233): at > > org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java: > > 535) > > 08-17 13:55:05.406: WARN/System.err(4233): at > > java.net.Socket.connect(Socket.java:1054) > > 08-17 13:55:05.406: WARN/System.err(4233): at > > > org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java: > > 117) > > 08-17 13:55:05.413: WARN/System.err(4233): at > > > com.vodafone360.photos.service.transport.http.HttpConnectionThread.postHTTPRequest(HttpConnectionThread.java: > > 293) > > > > what could be the reason? > > > > Thanks, > > Asif > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

