It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.


This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment:


You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 2716#244776058
    via GitHub by ik-z
  • GitHub comment 2559#254609384
    via GitHub by wrsuarez
  • GitHub comment 26#256183504
    via GitHub by dpalmeira
  • [JIRA] (JENKINS-38104) Configure proxy for connexion to Kubernetes
    via by (JIRA),
    • timeout at okio.Okio$3.newTimeoutException([okio-1.8.0.jar:na] at okio.AsyncTimeout.exit([okio-1.8.0.jar:na] at okio.AsyncTimeout$[okio-1.8.0.jar:na] at okio.RealBufferedSource.indexOf([okio-1.8.0.jar:na] at okio.RealBufferedSource.indexOf([okio-1.8.0.jar:na] at okio.RealBufferedSource.readUtf8LineStrict([okio-1.8.0.jar:na] at okhttp3.internal.http.Http1xStream.readResponse([okhttp-3.3.1.jar:na] at okhttp3.internal.http.Http1xStream.readResponseHeaders([okhttp-3.3.1.jar:na] at okhttp3.internal.http.HttpEngine.readNetworkResponse([okhttp-3.3.1.jar:na] at okhttp3.internal.http.HttpEngine.access$200([okhttp-3.3.1.jar:na] at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed([okhttp-3.3.1.jar:na] at okhttp3.internal.http.HttpEngine.readResponse([okhttp-3.3.1.jar:na] at okhttp3.RealCall.getResponse([okhttp-3.3.1.jar:na] at okhttp3.RealCall$ApplicationInterceptorChain.proceed([okhttp-3.3.1.jar:na] at okhttp3.RealCall.getResponseWithInterceptorChain([okhttp-3.3.1.jar:na] at okhttp3.RealCall.execute([okhttp-3.3.1.jar:na] at cn.wanghaomiao.seimi.http.okhttp.OkHttpDownloader.process([classes/:na] at[classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker([na:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor$[na:1.7.0_79] at[na:1.7.0_79] Caused by: Socket closed at[na:1.7.0_79] at[na:1.7.0_79] at okio.Okio$[okio-1.8.0.jar:na] at okio.AsyncTimeout$[okio-1.8.0.jar:na] ... 18 more

    Users with the same issue

    2 times, last one,
    1 times, last one,
    1 times, last one,
    15 times, last one,
    Aria Pahlavan
    9 times, last one,
    263 more bugmates