Can't download game

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Can't download game

Postby IceFire » Mon Oct 01, 2018 10:37 pm

Every time I click the play button and open with Java it pops up Application Error: unable to launch application. I'm not super tech savvy but I have looked through the forms and tried a few things. I uninstalled java and re-installed it. cleared my temp files. Added the site to my site exception list. Made sure to Enable Java content for browser and Web Start applications. Since I uninstalled I made sure Java was Updated. I'm on Windows 7 and I've seen the other posts with these problems, tried for hours to fix myself and no luck. So any help would be great :D , here is the code from the Error.

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 max-heap-size="512M" version="1.8+" />
<java max-heap-size="512M" version="1.8+" />
<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.authck" value="677602948dc8d8afa413fef2ece59786000dd26ba95e4282f61f80dc526e77f4" />
<property name="jnlp.haven.authuser" value="IceFire" />
<property name="jnlp.haven.screenurl" value="http://game.havenandhearth.com/mt/ss" />
<property name="jnlp.haven.resurl" value="http://game.havenandhearth.com/hres/" />
<property name="jnlp.haven.fullscreen" value="off" />
<property name="jnlp.haven.defserv" value="game.havenandhearth.com" />
<property name="jnlp.haven.errorurl" value="http://game.havenandhearth.com/java/error" />
</resources>
<application-desc />
</jnlp>

Exception

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://game.havenandhearth.com/java/hafen-res.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(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)

Wrapped Exception

java.net.SocketException: Invalid argument: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(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.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(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)
IceFire
 
Posts: 2
Joined: Sun Sep 30, 2018 11:31 pm

Re: Can't download game

Postby Granger » Mon Oct 01, 2018 10:46 pm

Check if you can download http://game.havenandhearth.com/java/hafen-res.jnlp with a browser - in case you can check if you have a proxy configured, you might need to mirror these settings in the java control panel network settings (as it might look at a different browser when configured as 'use browser settings').
Else a look at your firewall, it might block access from java but not the browser.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't download game

Postby IceFire » Mon Oct 01, 2018 11:18 pm

Alright, tried to download link with a browser and same error message. I have tried downloading with my firewall off and no luck.
IceFire
 
Posts: 2
Joined: Sun Sep 30, 2018 11:31 pm

Re: Can't download game

Postby Granger » Tue Oct 02, 2018 12:47 am

Did you try the download with 'save as...' ? (if not, please do).

Should that fail you have a problem with your internet connection, some more details about your uplink might help to come up with a solution.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't download game

Postby neeco » Tue Oct 02, 2018 5:57 pm

Try amber client instead. Easy fix if that works for you. Its been a while now, but when I first setup haven, amber worked and the default didn't for some reason.
W9: Hermit
W10: LS of EoCity
W11: God King Emperor of the East [Retired]
W12: Wouldn't you like to know

jorb wrote:The running server is the test server.
User avatar
neeco
 
Posts: 345
Joined: Mon Aug 20, 2018 3:31 am
Location: Bat soup store

Re: Can't download game

Postby MagicManICT » Tue Oct 02, 2018 9:56 pm

Could be something to do with Java Web Start (javaws.exe) vs just being a standard Java app (java.exe/javaw.exe). Using Amber or Purus might be a reasonable fix, and few people play with the standard client, anyway.
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


Return to How do I?

Who is online

Users browsing this forum: Claude [Bot] and 1 guest