Can't find solution to launch exception

The worst monsters in the Hearthlands warp the fabric of space and time...

Can't find solution to launch exception

Postby Silicon_E » Sat May 21, 2016 4:07 pm

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>
Silicon_E
 
Posts: 19
Joined: Sat Feb 06, 2016 3:54 am

Re: Can't find solution to launch exception

Postby jorb » Mon May 23, 2016 7:28 am

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
User avatar
jorb
 
Posts: 18439
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: Can't find solution to launch exception

Postby MagicManICT » Mon May 23, 2016 7:39 pm

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.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Can't find solution to launch exception

Postby loftar » Mon May 23, 2016 9:08 pm

Silicon_E wrote:ava.net.SocketException: Unexpected end of file from server

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?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9058
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't find solution to launch exception

Postby Granger » Tue May 24, 2016 7:23 am

Strange virus scanner?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't find solution to launch exception

Postby Silicon_E » Wed May 25, 2016 4:29 am

loftar wrote:Is this the same error you get each time?

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:Really unreliable WiFi? Some weird proxy settings?

My computer has reliable WiFi and is using the default Windows 8 proxy settings; not using a proxy server.

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.
Silicon_E
 
Posts: 19
Joined: Sat Feb 06, 2016 3:54 am

Re: Can't find solution to launch exception

Postby MagicManICT » Wed May 25, 2016 5:18 am

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.


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.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Can't find solution to launch exception

Postby Silicon_E » Sat May 28, 2016 2:30 am

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.

Tried reverting to version 7, but I still get the same result.
the semicolon;
a gift when sorting your code,
a bane when misplaced.
Silicon_E
 
Posts: 19
Joined: Sat Feb 06, 2016 3:54 am

Re: Can't find solution to launch exception

Postby Granger » Sat May 28, 2016 9:24 pm

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
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't find solution to launch exception

Postby loftar » Tue May 31, 2016 12:33 am

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
User avatar
loftar
 
Posts: 9058
Joined: Fri Apr 03, 2009 7:05 am

Next

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot], Semrush [Bot] and 5 guests