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) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509) *at com.androidquery.callback.AbstractAjaxCallback.httpDo(AbstractAjaxCallback.java:1468) * * * *at com.androidquery.callback.AbstractAjaxCallback.httpGet(AbstractAjaxCallback.java:1292) * * * *at com.androidquery.callback.AbstractAjaxCallback.network(AbstractAjaxCallback.java:1209) * * * *at com.androidquery.callback.AbstractAjaxCallback.networkWork(AbstractAjaxCallback.java:1047) * * * *at com.androidquery.callback.AbstractAjaxCallback.backgroundWork(AbstractAjaxCallback.java:994) * * * *at com.androidquery.callback.AbstractAjaxCallback.run(AbstractAjaxCallback.java:957) * at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

grokbase.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Aquery return javax.net.ssl.SSLPeerUnverifiedException - Grokbase

    grokbase.com | 6 months ago
    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) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509) *at com.androidquery.callback.AbstractAjaxCallback.httpDo(AbstractAjaxCallback.java:1468) * * * *at com.androidquery.callback.AbstractAjaxCallback.httpGet(AbstractAjaxCallback.java:1292) * * * *at com.androidquery.callback.AbstractAjaxCallback.network(AbstractAjaxCallback.java:1209) * * * *at com.androidquery.callback.AbstractAjaxCallback.networkWork(AbstractAjaxCallback.java:1047) * * * *at com.androidquery.callback.AbstractAjaxCallback.backgroundWork(AbstractAjaxCallback.java:994) * * * *at com.androidquery.callback.AbstractAjaxCallback.run(AbstractAjaxCallback.java:957) * at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
  2. 0

    Proguard Error for External Libraries

    Stack Overflow | 4 years ago
    javax.net.ssl.SSLPeerUnverifiedException: No peer certificate 11-14 21:18:44.501: W/System.err(13184): at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:258) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.conn.ssl.AbstractVerifier.void verify(java.lang.String,javax.net.ssl.SSLSocket)(Unknown Source) void verify(java.lang.String,java.security.cert.X509Certificate) void verify(java.lang.String,java.lang.String[],java.lang.String[],boolean) boolean acceptableCountryWildcard(java.lang.String) java.lang.String[] getCNs(java.security.cert.X509Certificate) java.lang.String[] getSubjectAlts(java.security.cert.X509Certificate,java.lang.String) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.conn.ssl.SSLSocketFactory.javax.net.ssl.KeyManager[] createKeyManagers(java.security.KeyStore,java.lang.String)(Unknown Source) javax.net.ssl.TrustManager[] createTrustManagers(java.security.KeyStore) java.net.Socket createSocket() java.net.Socket connectSocket(java.net.Socket,java.lang.String,int,java.net.InetAddress,int,org.apache.http.params.HttpParams) boolean isSecure(java.net.Socket) java.net.Socket createSocket(java.net.Socket,java.lang.String,int,boolean) void setHostnameVerifier(org.apache.http.conn.ssl.X509HostnameVerifier) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.conn.DefaultClientConnectionOperator.org.apache.http.conn.OperatedClientConnection createConnection()(Unknown Source) void openConnection(org.apache.http.conn.OperatedClientConnection,org.apache.http.HttpHost,java.net.InetAddress,org.apache.http.protocol.HttpContext,org.apache.http.params.HttpParams) void updateSecureConnection(org.apache.http.conn.OperatedClientConnection,org.apache.http.HttpHost,org.apache.http.protocol.HttpContext,org.apache.http.params.HttpParams) void prepareSocket(java.net.Socket,org.apache.http.protocol.HttpContext,org.apache.http.params.HttpParams) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.conn.AbstractPoolEntry.java.lang.Object getState()(Unknown Source) void setState(java.lang.Object) void open(org.apache.http.conn.routing.HttpRoute,org.apache.http.protocol.HttpContext,org.apache.http.params.HttpParams) void tunnelTarget(boolean,org.apache.http.params.HttpParams) void tunnelProxy(org.apache.http.HttpHost,boolean,org.apache.http.params.HttpParams) void layerProtocol(org.apache.http.protocol.HttpContext,org.apache.http.params.HttpParams) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.conn.AbstractPooledConnAdapter.void open(org.apache.http.conn.routing.HttpRoute,org.apache.http.protocol.HttpContext,org.apache.http.params.HttpParams)(Unknown Source) void tunnelTarget(boolean,org.apache.http.params.HttpParams) void tunnelProxy(org.apache.http.HttpHost,boolean,org.apache.http.params.HttpParams) void layerProtocol(org.apache.http.protocol.HttpContext,org.apache.http.params.HttpParams) void setState(java.lang.Object) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.client.DefaultRequestDirector.org.apache.http.impl.client.RequestWrapper wrapRequest(org.apache.http.HttpRequest)(Unknown Source) void rewriteRequestURI(org.apache.http.impl.client.RequestWrapper,org.apache.http.conn.routing.HttpRoute) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.protocol.HttpContext) void releaseConnection() void establishRoute(org.apache.http.conn.routing.HttpRoute,org.apache.http.protocol.HttpContext) boolean createTunnelToProxy(org.apache.http.conn.routing.HttpRoute,int,org.apache.http.protocol.HttpContext) org.apache.http.impl.client.RoutedRequest handleResponse(org.apache.http.impl.client.RoutedRequest,org.apache.http.HttpResponse,org.apache.http.protocol.HttpContext) void processChallenges(java.util.Map,org.apache.http.auth.AuthState,org.apache.http.client.AuthenticationHandler,org.apache.http.HttpResponse,org.apache.http.protocol.HttpContext) void updateAuthState(org.apache.http.auth.AuthState,org.apache.http.HttpHost,org.apache.http.client.CredentialsProvider) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.client.AbstractHttpClient.org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest)(Unknown Source) org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.protocol.HttpContext) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.client.AbstractHttpClient.org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest)(Unknown Source) org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.protocol.HttpContext) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.client.AbstractHttpClient.org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest)(Unknown Source) org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.protocol.HttpContext) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) 11-14 21:18:44.501: W/System.err(13184): at org.apache.http.impl.client.AbstractHttpClient.org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest)(Unknown Source) org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.protocol.HttpContext) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest) org.apache.http.HttpResponse execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.client.methods.HttpUriRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler) java.lang.Object execute(org.apache.http.HttpHost,org.apache.http.HttpRequest,org.apache.http.client.ResponseHandler,org.apache.http.protocol.HttpContext) 11-14 21:18:44.501: W/System.err(13184): at com.mypackage.android.services.secure.HttpsWebServiceHelper.java.lang.String doPost(org.apache.http.client.methods.HttpPost)(Unknown Source) java.lang.String doPost(java.lang.String,java.util.Map) java.lang.String doPost(java.lang.String,java.lang.String) java.lang.String doPost(java.lang.String,java.util.Map,java.lang.String) 11-14 21:18:44.501: W/System.err(13184): at com.mypackage.android.services.secure.HttpsWebServiceHelper.java.lang.String doPost(org.apache.http.client.methods.HttpPost)(Unknown Source) java.lang.String doPost(java.lang.String,java.util.Map) java.lang.String doPost(java.lang.String,java.lang.String) java.lang.String doPost(java.lang.String,java.util.Map,java.lang.String) 11-14 21:18:44.501: W/System.err(13184): at com.mypackage.android.activity.LoginActivity$LoginAsyncTask.java.lang.String doInBackground(java.lang.Void[])(Unknown Source) void onPostExecute(java.lang.String) 11-14 21:18:44.501: W/System.err(13184): at com.mypackage.android.activity.LoginActivity$LoginAsyncTask.java.lang.Object doInBackground(java.lang.Object[])(Unknown Source) 11-14 21:18:44.501: W/System.err(13184): at android.os.AsyncTask$2.call(AsyncTask.java:185) 11-14 21:18:44.501: W/System.err(13184): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306) 11-14 21:18:44.501: W/System.err(13184): at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    Root Cause Analysis

    1. 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) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509) *at com.androidquery.callback.AbstractAjaxCallback.httpDo(AbstractAjaxCallback.java:1468) * * * *at com.androidquery.callback.AbstractAjaxCallback.httpGet(AbstractAjaxCallback.java:1292) * * * *at com.androidquery.callback.AbstractAjaxCallback.network(AbstractAjaxCallback.java:1209) * * * *at com.androidquery.callback.AbstractAjaxCallback.networkWork(AbstractAjaxCallback.java:1047) * * * *at com.androidquery.callback.AbstractAjaxCallback.backgroundWork(AbstractAjaxCallback.java:994) * * * *at com.androidquery.callback.AbstractAjaxCallback.run(AbstractAjaxCallback.java:957) * at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

      at java.lang.Thread.run()
    2. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:856)
      1 frame