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

Solutions on the web

via GitHub by namabile
, 1 year ago
Unable to connect to server
via GitHub by sononix
, 1 year ago
Unable to connect to server
java.net.SocketException: Unexpected end of file from server	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:792)	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:789)	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.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(RestSubmissionClient.scala:263)	at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)	at scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)