java.net.SocketException: Unexpected end of file from server

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by mgummelt
, 1 year ago
Unexpected end of file from server
via Oracle Community by 807596, 1 year ago
Unexpected end of file from server
via nabble.com by Unknown author, 2 years ago
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:790)
at sun.net.www.http.HttpC$ient.parseHTTP(HttpClient.java:647)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:787)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
at sun.net.www.protocol.http.HttpUR$Connection.getInputStream0(HttpURLConnection.java:1535)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
at java.net.HttpURLConnection.getResponseCode(HttpURLConn$ction.java:480)
at org.apache.spark.deploy.rest.RestSubmissionClient$$anonfun$1.apply(RestSubmissionClient.scala:265)
at org.apache.spark.deploy.rest.RestSubmissionClient$$anonfun$1.apply(RestSubmissionCl$ent.scala:263)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
at scala.concurren$.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask($orkJoinPool.java:1339)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 7 months ago
48 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.