Hey hey! It happens intermittently on Nexus 7s and Motorola Droid 4 running 4.0.4.I thought it was the sorta funny Certificate layout of AppEngine, but apparently that was addresses in 4.0?
Thanks, E On Fri, Feb 8, 2013 at 11:10 AM, Nobu Games <[email protected]>wrote: > What device are you testing on? Do you get that error also on newer ones? > > > On Friday, February 8, 2013 7:30:19 AM UTC-6, Evan Ruff wrote: >> >> 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<https://engine004-dot-myapplication.appspot.com>refused >> at org.apache.http.impl.conn.**DefaultClientConnectionOperato** >> r.openConnection(**DefaultClientConnectionOperato**r.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. > > > -- -- 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.

