• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unexpected end of file from server  RSS feed

 
Ashutosh Shinde
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i'm trying to connect to a server using https without proxy and i'm getting (after a moment) a java.net.SocketException : Unexpected end of file from server.
The stack trace is as follows -
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:818)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getInputStream(DashoA6275)
I saw that this error was posted a number of times on the sun site, however, no solution was posted
Could anybody provide some pointers?
Thanks,
Ashutosh
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to the Sockets forum, I think you may have better luck there.
 
Loren Pettijohn
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone have a clue what might cause this exception?

java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:818)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA6275)
...
...
We don't have a problem with this on our development system - only on our production server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!