This is the new error

02-19 10:39:03.438: WARN/System.err(1429):
java.net.SocketTimeoutException: Socket is not connected
02-19 10:39:03.448: WARN/System.err(1429):     at
org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native
Method)
02-19 10:39:03.448: WARN/System.err(1429):     at
org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocket(OSNetworkSystem.java:
131)
02-19 10:39:03.458: WARN/System.err(1429):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:
247)
02-19 10:39:03.458: WARN/System.err(1429):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:
535)
02-19 10:39:03.458: WARN/System.err(1429):     at
java.net.Socket.connect(Socket.java:1054)
02-19 10:39:03.468: WARN/System.err(1429):     at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:
117)
02-19 10:39:03.468: WARN/System.err(1429):     at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:
129)
02-19 10:39:03.468: WARN/System.err(1429):     at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:
164)
02-19 10:39:03.478: WARN/System.err(1429):     at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:
119)
02-19 10:39:03.478: WARN/System.err(1429):     at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:
348)
02-19 10:39:03.478: WARN/System.err(1429):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
555)
02-19 10:39:03.478: WARN/System.err(1429):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
487)
02-19 10:39:03.478: WARN/System.err(1429):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
465)
02-19 10:39:03.478: WARN/System.err(1429):     at
com.project.class.ClassA.Method1(ClassA.java:226)
02-19 10:39:03.478: WARN/System.err(1429):     at
com.project.class.MyService.Method2(MyService.java:176)
02-19 10:39:03.478: WARN/System.err(1429):     at
com.project.class.MyService$2$1.run(MyService.java:99)


On Feb 19, 10:34 am, nikhil <[email protected]> wrote:
> 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 plainsocketor sslsocket. 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:Socketisnotconnected
> > > 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 "socketisnotconnected" error.
> > > > I amnotsure 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

Reply via email to