Hi,

Please help me to resolve the following issue,

DEBUG/SSLSocketFactory(1909): Using factory
[EMAIL PROTECTED]
DEBUG/SSLSocketFactory(1909): Peer certificate validation is enabled
DEBUG/dalvikvm(1909): Exception Ljava/net/ConnectException; from
Socket.java:951 not caught locally
INFO/(1909): Apr 10, 2008 2:25:08 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO/(1909): INFO: I/O exception (java.net.ConnectException) caught
when processing request: www.google.com/64.233.189.104:443 - Socket is
not connected
INFO/(1909): Apr 10, 2008 2:25:09 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO/(1909): INFO: Retrying request
DEBUG/SSLSocketFactory(1909): Using factory
[EMAIL PROTECTED]
DEBUG/SSLSocketFactory(1909): Peer certificate validation is enabled
DEBUG/dalvikvm(1909): Exception Ljava/net/ConnectException; from
Socket.java:951 not caught locally

Thanks
Srini

On Mar 28, 3:02 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote:
> Please ignore. Its working for me now.
>
> regards,
> harsh
>
>
>
> On Fri, Mar 28, 2008 at 2:57 AM, jarsj <[EMAIL PROTECTED]> wrote:
>
> > I still have this problem . I am not using HTTPS, but even my normal
> > HTTP connection are hanging and I keep getting these classNotFound
> > errors. Please advice.
>
> > regards,
> > harsh
>
> > On Feb 29, 11:33 pm, "Carlos Díez Fernández" <[EMAIL PROTECTED]>
> > wrote:
> > > Debugging the app i got this error:
>
> > > DEBUG/(690): zip_openZipFile(/system/framework/core.jar)
> > > DEBUG/dalvikvm(690): Exception Ljava/lang/ClassNotFoundException; from
> > > PathClassLoader.java:205 not caught locally
> > > DEBUG/dalvikvm(690): NOTE: loadClass '
> > > org.apache.harmony.security.internal.nls.messages_en_US' 0x40018950
> > threw an
> > > exception
> > > DEBUG/dalvikvm(690): Exception Ljava/lang/ClassNotFoundException; from
> > > PathClassLoader.java:205 not caught locally
> > > DEBUG/dalvikvm(690): NOTE: loadClass '
> > > org.apache.harmony.security.internal.nls.messages_en' 0x40018950 threw
> > an
> > > exception
> > > DEBUG/dalvikvm(690): Exception Ljava/lang/ClassNotFoundException; from
> > > PathClassLoader.java:205 not caught locally
> > > DEBUG/dalvikvm(690): NOTE: loadClass '
> > > org.apache.harmony.security.internal.nls.messages' 0x40018950 threw an
> > > exception
>
> > > Maybe i have a corrupt installation of m5 sdk?
>
> > > 2008/2/28, Carlos Díez Fernández <[EMAIL PROTECTED]>:
>
> > > > org.apache.commons.httpclient is from htcomponents-3.x ?
>
> > > > I thought that htcomponents-3.x is not working on m5-sdk
>
> > > >http://groups.google.com/group/*android*
> > > > -developers/browse_thread/thread/c4e9bd963fb35204/cf6b49f1fef4cb12
>
> > > > Bye!
>
> > > > 2008/2/28, Hawk <[EMAIL PROTECTED]>:
>
> > > > > I found out that you can use
>
> > > > > org.apache.commons.httpclient
>
> > > > > instead.
>
> > > > > On Feb 28, 12:04 pm, carlosdf <[EMAIL PROTECTED]> wrote:
> > > > > > I'm porting my application to the new sdk and i also have problems
> > > > > > with HttpsURLConnection,
> > > > > > and also with SSLSocket and anything SSL*
>
> > > > > > When i try to execute something like:
>
> > > > > > HttpsURLConnection urlConnection = (HttpsURLConnection)
> > > > > > url.openConnection();
>
> > > > > > or
>
> > > > > > SocketFactory socket = SSLSocketFactory.getDefault();
>
> > > > > > The app hangs up :(
>
> > > > > > This is the code that i use:
>
> > > > > > (Based
>
> > onhttp://25digital.blogspot.com/2008/02/account-authentication-api-y-an...
>
> > > > > > (Spanish))
>
> > > > > > Map<String, String> params = new HashMap<String, String>();
> > > > > >                 params.put("a", "login");
> > > > > >                 params.put("u", user);
> > > > > >                 params.put("p", password);
>
> > > > > >                 try {
> > > > > >                         URL url = new URL("
> > > > >https://localhost:8443/PajitaWAR/
> > > > > > ProtocolServlet");
> > > > > >                         HttpsURLConnection urlConnection =
> > > > > (HttpsURLConnection)
> > > > > > url.openConnection();
> > > > > >                         urlConnection.setHostnameVerifier ( new
> > > > > HostnameVerifier(){
> > > > > >                                 public boolean verify ( String
> > > > > hostname, SSLSession
> > > > > > session) {
> > > > > >                                         return true;
> > > > > >                                 }
> > > > > >                         });
>
> > > > > > ....
>
> > > > > > On Feb 16, 3:47 am, Hawk <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Does anybody has problem with HttpsURLConnection? My program was
> > > > > > > working in the first SDK release, but since upgrading to the
> > latest,
> > > > > > > it no longer works. Thanks.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to