Hey guys, I was wondering if anyone had been experiencing intermittent exceptions when securely connecting to an AppEngine servlet through the DefaultHttpClient? I've occasionally been getting execptions about certificates, closed connections, host unknown, etc... but only sometimes. I am using the -dot- notation, so I don't think that this error is related to my endpoint URL specifically. A sample of the exceptions are:
org.apache.http.conn.HttpHostConnectException: Connection to https://engine004-dot-myapplication.appspot.com refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) ... Caused by: java.net.SocketException: failed to connect to /173.194.77.141 (port 443) after 15000ms: isConnected failed: EHOSTUNREACH (No route to host) at libcore.io.IoBridge.isConnected(IoBridge.java:230) at libcore.io.IoBridge.connectErrno(IoBridge.java:161) at libcore.io.IoBridge.connect(IoBridge.java:112) ... and javax.net.ssl.SSLPeerUnverifiedException: No peer certificate at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93) at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381) ... I initially just assumed that there was an issue with the phone connectivity, but now with this peer certificate issue I'm not so sure anymore. Does anyone have any ideas or suggestsions? Thanks! E -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

