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 | 3 months ago
  1. 0

    Aquery return javax.net.ssl.SSLPeerUnverifiedException - Grokbase

    grokbase.com | 3 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)
  3. 0

    https connection fail: error No peer certificate.

    GitHub | 2 years ago | bj-snowen
    javax.net.ssl.SSLPeerUnverifiedException: No peer certificate 01-23 10:04:43.522: W/System.err(17797): at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137) 01-23 10:04:43.522: W/System.err(17797): at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93) 01-23 10:04:43.522: W/System.err(17797): at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381) 01-23 10:04:43.527: W/System.err(17797): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165) 01-23 10:04:43.527: W/System.err(17797): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 01-23 10:04:43.527: W/System.err(17797): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 01-23 10:04:43.532: W/System.err(17797): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) 01-23 10:04:43.532: W/System.err(17797): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670) 01-23 10:04:43.532: W/System.err(17797): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Send JSON Authentication to server and retrieve data

    Stack Overflow | 2 years ago | Sinan
    javax.net.ssl.SSLPeerUnverifiedException: No peer certificate 09-05 14:37:30.641: W/System.err(1256): at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137) 09-05 14:37:30.641: W/System.err(1256): at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93) 09-05 14:37:30.650: W/System.err(1256): at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381) 09-05 14:37:30.661: W/System.err(1256): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165) 09-05 14:37:30.661: W/System.err(1256): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 09-05 14:37:30.671: W/System.err(1256): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 09-05 14:37:30.671: W/System.err(1256): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) 09-05 14:37:30.671: W/System.err(1256): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) 09-05 14:37:30.681: W/System.err(1256): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
  6. 0

    javax.net.ssl.SSLPeerUnverifiedException: No peer certificate during amazons3 multipart upload

    Stack Overflow | 2 years ago | Harshit Rathi
    javax.net.ssl.SSLPeerUnverifiedException: No peer certificate 2014-06-12 20: 36: 164W/System.err(30949): at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137) 2014-06-12 20: 36: 165W/System.err(30949): at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93) 2014-06-12 20: 36: 165W/System.err(30949): at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381) 2014-06-12 20: 36: 166W/System.err(30949): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165) 2014-06-12 20: 36: 167W/System.err(30949): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 2014-06-12 20: 36: 167W/System.err(30949): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 2014-06-12 20: 36: 168W/System.err(30949): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) 2014-06-12 20: 36: 168W/System.err(30949): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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