title: Android: okhttp3 > crash: Unexpected TLS version: NONE
body: <p>I've integrated <code>retrofit2</code> since couple of months ago; there were no problem until yesterday with an user (Huawei, model MHA-L29, on Android 7.0):</p>
  
  <pre><code>Fatal Exception: java.lang.IllegalArgumentException: Unexpected TLS version: NONE
         at okhttp3.TlsVersion.forJavaName(TlsVersion.java:53)
         at okhttp3.Handshake.get(Handshake.java:56)
         at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:300)
         at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:268)
         at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:160)
         at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:256)
         at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:134)
         at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:113)
         at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
         at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
         at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
         at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
         at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
         at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
         at okhttp3.RealCall$AsyncCall.execute(RealCall.java:147)
         at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
         at java.lang.Thread.run(Thread.java:776)
  </code></pre>
  
  <p>In my <code>Gradle</code> :</p>
  
  <blockquote>
    <p>implementation 'com.squareup.retrofit2:retrofit:2.3.0'</p>
  </blockquote>
  
  <p>Have you got some ideas about this crash? Is there a link with <code>Retrofit</code>? I didn't add <code>OkHttp library</code> in my <code>Gradle</code>, I must do it?</p>