Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Either your request in not properly written (check this answer: https://goo.gl/7q57Bl) or you're running into a OkHTTP bug, in which case you should update OkHTTP to 2.4 (or further) and check this discussion: https://goo.gl/Sx7cf4 and issues #1517 & #1518

Solutions on the web

via GitHub by TheDrHax
, 8 months ago
unexpected end of stream on okhttp3.Address@19866665
via GitHub by TheDrHax
, 1 year ago
unexpected end of stream on okhttp3.Address@19866665
via GitHub by reverseBitsTech
, 1 year ago
unexpected end of stream on okhttp3.Address@dcd6238c
via GitHub by shubham-m
, 1 year ago
unexpected end of stream on okhttp3.Address@5106fe42
via GitHub by lkhore
, 1 year ago
unexpected end of stream on okhttp3.Address@34845fb
via GitHub by lkhore
, 1 year ago
java.io.EOFException: \n not found: size=0 content=...	at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:201)	at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)	at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125)	at okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:723)	at okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:81)	at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:708)	at pw.thedrhax.mosmetro.httpclient.clients.OkHttp$100000002.intercept(OkHttp.java:52)	at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:681)	at okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:563)	at okhttp3.RealCall.getResponse(RealCall.java:241)	at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)	at okhttp3.RealCall.execute(RealCall.java:57)	at pw.thedrhax.mosmetro.httpclient.clients.OkHttp.get(OkHttp.java:77)	at pw.thedrhax.mosmetro.authenticator.networks.MosGorTrans.connect_enforta(MosGorTrans.java:218)	at pw.thedrhax.mosmetro.authenticator.networks.MosGorTrans.connect(MosGorTrans.java:386)	at pw.thedrhax.mosmetro.authenticator.Authenticator.start(Authenticator.java:63)	at pw.thedrhax.mosmetro.activities.DebugActivity$AuthTask.doInBackground(DebugActivity.java:152)	at pw.thedrhax.mosmetro.activities.DebugActivity$AuthTask.doInBackground(DebugActivity.java)	at android.os.AsyncTask$2.call(AsyncTask.java:295)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)	at java.lang.Thread.run(Thread.java:818)