title: com.android.volley.NoConnectionError: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted:
body: <p>I'm using Volley library in Android in my application and when trying to make POST requests to our server I get the following error: </p>
  
  <pre><code>com.android.volley.NoConnectionError: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x6821edb0: Failure in SSL library, usually a protocol error
  error:1407743E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert inappropriate fallback (external/openssl/ssl/s23_clnt.c:744 0x5f4c0c46:0x00000000)
  </code></pre>
  
  <p>Our server is signed with the following SSL certificate: </p>
  
  <pre><code>i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Organization Validation Secure Server CA
  1 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Organization Validation Secure Server CA
  i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
   2 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
  i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root
  </code></pre>
  
  <p>The certificate is described by openssl as follows: </p>
  
  <pre><code>New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
  </code></pre>
  
  <p>I checked the Cipher over Android enabled ciphers and they say it is enabled by default.</p>
  
  <p>I have tried the following solution for this problem, but none of them solved it: </p>
  
  <p><a href="https://stackoverflow.com/questions/22564317/https-support-for-volley-android-networking-library">HTTPS support for Volley Android networking library</a> - not working (also not suitable for me since it's not secure)</p>
  
  <p><a href="https://stackoverflow.com/questions/26649389/how-to-disable-sslv3-in-android-for-httpsurlconnection/29946540#29946540">How to disable SSLv3 in android for HttpsUrlConnection?</a> - I've tried this, the error still occurs</p>
  
  <p>The Android Api used in out project is Android 5.1 (API 22).
  The Volley library version is 1.0.15 (Also tried with the latest one, 1.0.18 but the issue still occurs).</p>
  
  <p>One other solution I've tried was using <a href="http://mvnrepository.com/artifact/com.squareup.okhttp/okhttp" rel="noreferrer">okhttp</a> library, integrated with Volley, but the issue still occurs.</p>
  
  <p>Any working solution would be much appreciated.</p>
  
  <p>Thank you in advance!</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>By the way, I managed to get supported ciphers from the server:</p>
  
  <pre><code>Supported cipher suites (ORDER IS NOT SIGNIFICANT):
    SSLv3
       RSA_WITH_RC4_128_MD5
       RSA_WITH_RC4_128_SHA
       RSA_WITH_IDEA_CBC_SHA
       RSA_WITH_3DES_EDE_CBC_SHA
       DHE_RSA_WITH_3DES_EDE_CBC_SHA
       RSA_WITH_AES_128_CBC_SHA
       DHE_RSA_WITH_AES_128_CBC_SHA
       RSA_WITH_AES_256_CBC_SHA
       DHE_RSA_WITH_AES_256_CBC_SHA
       RSA_WITH_CAMELLIA_128_CBC_SHA
       DHE_RSA_WITH_CAMELLIA_128_CBC_SHA
       RSA_WITH_CAMELLIA_256_CBC_SHA
       DHE_RSA_WITH_CAMELLIA_256_CBC_SHA
       TLS_RSA_WITH_SEED_CBC_SHA
       TLS_DHE_RSA_WITH_SEED_CBC_SHA
    (TLSv1.0: idem)
    (TLSv1.1: idem)
    TLSv1.2
       RSA_WITH_RC4_128_MD5
       RSA_WITH_RC4_128_SHA
       RSA_WITH_IDEA_CBC_SHA
       RSA_WITH_3DES_EDE_CBC_SHA
       DHE_RSA_WITH_3DES_EDE_CBC_SHA
       RSA_WITH_AES_128_CBC_SHA
       DHE_RSA_WITH_AES_128_CBC_SHA
       RSA_WITH_AES_256_CBC_SHA
       DHE_RSA_WITH_AES_256_CBC_SHA
       RSA_WITH_AES_128_CBC_SHA256
       RSA_WITH_AES_256_CBC_SHA256
       RSA_WITH_CAMELLIA_128_CBC_SHA
       DHE_RSA_WITH_CAMELLIA_128_CBC_SHA
       DHE_RSA_WITH_AES_128_CBC_SHA256
       DHE_RSA_WITH_AES_256_CBC_SHA256
       RSA_WITH_CAMELLIA_256_CBC_SHA
       DHE_RSA_WITH_CAMELLIA_256_CBC_SHA
       TLS_RSA_WITH_SEED_CBC_SHA
       TLS_DHE_RSA_WITH_SEED_CBC_SHA
       TLS_RSA_WITH_AES_128_GCM_SHA256
       TLS_RSA_WITH_AES_256_GCM_SHA384
       TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
       TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
  </code></pre>
  
  <p>From what I read , there should be no problem with these ciphers on API LVL 22.</p>