Hey I found the error and resolved it yesterday... But even now I am having intermittent problems with httpclient connectivity..
Do you have any example which enables us to hit the server and then close the connection? Thanks for your reply On Feb 19, 8:46 am, social hub <[email protected]> wrote: > org.apache.http.conn.ssl. > SSLSocketFactory.connectSocket(SSLSocketFactory.java: > 317) > > somewhere its going ssl is it plain socket or ssl socket. did you try > connecting from ur pc using telnet to see whether u can connect > > On Thu, Feb 18, 2010 at 4:42 PM, nikhil <[email protected]> wrote: > > This is what logcat shows. > > > 02-18 16:39:19.505: WARN/System.err(25664): > > java.net.SocketTimeoutException: Socket is not connected > > 02-18 16:39:19.505: WARN/System.err(25664): at > > > org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native > > Method) > > 02-18 16:39:19.515: WARN/System.err(25664): at > > > org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocket(OSNetworkSystem.java: > > 131) > > 02-18 16:39:19.515: WARN/System.err(25664): at > > org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java: > > 247) > > 02-18 16:39:19.525: WARN/System.err(25664): at > > org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java: > > 535) > > 02-18 16:39:19.525: WARN/System.err(25664): at > > java.net.Socket.connect(Socket.java:1054) > > 02-18 16:39:19.525: WARN/System.err(25664): at > > > org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java: > > 317) > > 02-18 16:39:19.535: WARN/System.err(25664): at > > > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: > > 129) > > 02-18 16:39:19.535: WARN/System.err(25664): at > > org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: > > 164) > > 02-18 16:39:19.535: WARN/System.err(25664): at > > > org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: > > 119) > > 02-18 16:39:19.545: WARN/System.err(25664): at > > > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: > > 348) > > 02-18 16:39:19.545: WARN/System.err(25664): at > > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: > > 555) > > 02-18 16:39:19.545: WARN/System.err(25664): at > > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: > > 487) > > 02-18 16:39:19.555: WARN/System.err(25664): at > > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: > > 465) > > 02-18 16:39:19.555: WARN/System.err(25664): at > > com.project.myproj.ClassA.Method1(ClassA.java:205) > > 02-18 16:39:19.555: WARN/System.err(25664): at > > com.project.myproj.MyService.Method2(MyService.java:182) > > 02-18 16:39:19.555: WARN/System.err(25664): at > > com.project.myproj.MyService$2$1.run(MyService.java:101) > > 02-18 16:39:19.555: WARN/System.err(25664): at java.util.Timer > > $TimerImpl.run(Timer.java:290) > > > On Feb 17, 5:39 pm, nikhil <[email protected]> wrote: > > > I am trying to use httpclient to hit a http link. For some reason I > > > keep on geting this "socket is not connected" error. > > > I am not sure about the reason for this error. > > > > Can any one help? > > > > This error also occurs when I start using the car navigation app or > > > whenever I try to forward calls. > > > -- > > 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

