Recently, I have not been able to launch the game on Windows 8. The logo comes up, but then I get a window that reads:
Unable to Launch Application
Java 8.91
Name: Haven and Hearth
Publisher: Seatribe
Location: game.havenandhearth.com
Exception: Unexpected end of file from server
ava.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source)
at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Launch File:
<?xml version="1.0" encoding="utf-8" ?>
<jnlp codebase="http://game.havenandhearth.com/java/" spec="1.0+">
<information>
<title>Haven and Hearth</title>
<vendor>Seatribe</vendor>
<description>The Haven game</description>
<homepage href="http://www.havenandhearth.com/" />
<icon href="icon.gif" />
<icon kind="splash" href="splash.gif" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.8+" max-heap-size="512M" />
<java version="1.8+" max-heap-size="512M" />
<jar href="hafen.jar" />
<extension name="jogl" href="http://game.havenandhearth.com/java/hafen-res.jnlp" />
<extension name="jogl" href="http://game.havenandhearth.com/java/jogl2/jogl-all-awt.jnlp" />
<property name="jnlp.haven.resurl" value="http://game.havenandhearth.com/hres/" />
<property name="jnlp.haven.defserv" value="game.havenandhearth.com" />
<property name="jnlp.haven.authck" value="e2617ddffcdd820c9b2ff7554d0f156cd444b5f5de4bc25e130f990b805d9399" />
<property name="jnlp.haven.errorurl" value="http://game.havenandhearth.com/java/error" />
<property name="jnlp.haven.fullscreen" value="off" />
<property name="jnlp.haven.authuser" value="Silicon_E" />
</resources>
<application-desc />
</jnlp>
-
jorb
- Posts: 18715
- Joined: Fri Apr 03, 2009 7:07 am
- Location: Here, there and everywhere.
Re: Can't find solution to launch exception
Might be some sort of connection problem. Paged loftar.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."
-- Hieromonk Seraphim Rose
-- Hieromonk Seraphim Rose
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Can't find solution to launch exception
I know I'm not loftar, but I might have a couple things to try or at least check until he chimes in.
This appears to be a connection issue. You might try verifying your connection is stable by pinging the game server (game.havenandhearth.com) and/or flushing Haven from your Java cache so that it redownloads. An error in a file would cause the same.
I'll also note that there may be a security feature blocking something. I don't think it should be Java as it would prevent the app from even loading, let alone starting and the logo pop up. It may be a 3rd party security program you run or even Windows Defender itself. Make sure Java and Haven can connect to the right servers and allow for use of ports TCP 1871 and UDP 1870.
Loftar may have other suggestions or the actual solution of neither of these work.
This appears to be a connection issue. You might try verifying your connection is stable by pinging the game server (game.havenandhearth.com) and/or flushing Haven from your Java cache so that it redownloads. An error in a file would cause the same.
I'll also note that there may be a security feature blocking something. I don't think it should be Java as it would prevent the app from even loading, let alone starting and the logo pop up. It may be a 3rd party security program you run or even Windows Defender itself. Make sure Java and Haven can connect to the right servers and allow for use of ports TCP 1871 and UDP 1870.
Loftar may have other suggestions or the actual solution of neither of these work.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Can't find solution to launch exception
Is this the same error you get each time? If so, it's definitely some kind of connectivity error, but I can't really say what. Really unreliable WiFi? Some weird proxy settings?Silicon_E wrote:ava.net.SocketException: Unexpected end of file from server
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Can't find solution to launch exception
Strange virus scanner?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
Silicon_E
- Posts: 19
- Joined: Sat Feb 06, 2016 3:54 am
Re: Can't find solution to launch exception
I tried launching the game several times from WiFi as well as a wired connection, and each time I got the same error.loftar wrote:Is this the same error you get each time?
My computer has reliable WiFi and is using the default Windows 8 proxy settings; not using a proxy server.loftar wrote:Really unreliable WiFi? Some weird proxy settings?
More Info:
I have successfully launched and played the game more than a few times, and only recently did this problem come up. I also just updated to Java 8.91, which might be borking something. Other than that, all that has changed is the Patch Patch.
the semicolon;
a gift when sorting your code,
a bane when misplaced.
a gift when sorting your code,
a bane when misplaced.
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Can't find solution to launch exception
I never like to recommend that person roll back to an older version of something like Java, but it is worth a try in this case to see if it resolves. Could be a bug in Java itself interacting with something specific to your system. Double check your security settings and such just to be sure, too.Silicon_E wrote: I have successfully launched and played the game more than a few times, and only recently did this problem come up. I also just updated to Java 8.91, which might be borking something. Other than that, all that has changed is the Patch Patch.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
Silicon_E
- Posts: 19
- Joined: Sat Feb 06, 2016 3:54 am
Re: Can't find solution to launch exception
Tried reverting to version 7, but I still get the same result.MagicManICT wrote:I never like to recommend that person roll back to an older version of something like Java, but it is worth a try in this case to see if it resolves.
the semicolon;
a gift when sorting your code,
a bane when misplaced.
a gift when sorting your code,
a bane when misplaced.
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Can't find solution to launch exception
MagicManICT wrote:You might try verifying your connection is stable by pinging the game server (game.havenandhearth.com) and/or flushing Haven from your Java cache so that it redownloads. An error in a file would cause the same.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Can't find solution to launch exception
Granger wrote:MagicManICT wrote:You might try verifying your connection is stable by pinging the game server (game.havenandhearth.com) and/or flushing Haven from your Java cache so that it redownloads. An error in a file would cause the same.
"Object-oriented design is the roman numerals of computing." -- Rob Pike