Unable to Launch the Application - Invalid HTTP Response?

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

Unable to Launch the Application - Invalid HTTP Response?

Postby DragnFruit » Sun Oct 26, 2014 8:44 pm

Whenever I try to launch Haven and Hearth, I keep getting an Application Error, stating
"Unable to launch the application."
More Information tells me Error: Invalid Http response
Launch File:
Code: Select all
<jnlp codebase = "http://www.havenandhearth.com/java/" spec="1.0+">
 <information>
  <title>Haven and Hearth</title>
  <vendor>Seatribe</vendor>
  <description>The Haven game</description>
  <homepage href="icon.gif"/>
  <icon kind="splash" href="splash.gif"/>
 </information>
 <security>
  <all-permissions/>
 </security>
 <resources>
  <j2se version="1.5+"max-heap-size="256M"/>
  <java version="1.5+"max-heap-size="256M"/>
  <jar href="haven.jar"/>
  <extension href="haven-res.jnlp "name="res"/>
  <extension href="http://www.havenandhearth.com/java/jogl/jogl.jnlp" name="jogl"/>
  <property name="jnlp.haven.authck" value="6652e0eb6050245a332cb6748f222935d1c1c4cf559c96772c7440fe52928"/>
  <property name="jnlp.haven.authuser" value="DragnFruit"/>
  <property name="jnlp.haven.fullscreen" value="off"/>
  <property name="jnlp.haven.errorhandler" value="on"/>
  <property name="jnlp.haven.errorurl" value="http://www.havenandhearth.com/java/error"/>
  <property name="jnlp.haven.defserv" value="moltke.seatribe.se"/>
 </resources>
 <application-desc/>
</jnlp>


Exception:
Code: Select all
java.io.IOException: Invalid Http response
                  at sun.net.www.protocol.http.HttpURLConnection.getImputStream0(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.doPrivileged(Unknown Source)
                  at sun.net.www.protocol.http.HttpURLConnection.getImputStream(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)


I have already tried the Java 7 workaround, which isn't working. Help?
"Most of the time, the fog is coming from within the glasses..."
DragnFruit
 
Posts: 1
Joined: Fri Sep 26, 2014 12:33 am
Location: North Florida, USA

Re: Unable to Launch the Application - Invalid HTTP Response

Postby borka » Mon Oct 27, 2014 4:43 am

Did you "Open with Java Web Start Launcher" ?

If not try - if it still doesn't work give info
OS? Bit? Java Path?
Any Firewall besides Windows FW running?
What AV?
How do you connect to Internet? What Routermodel? Connection from your PC to Router by Lan or WLan (WiFi)?
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Unable to Launch the Application - Invalid HTTP Response

Postby Linwe » Fri Dec 26, 2014 4:38 am

As for me, it is the same problem.
Win 7 64 bit, installed latest JRE 2 days ago, Java 8.25, all 64 bit.
Bitdefender free antivirus (tried to turn it off, doesn't help).

The worst thing is that I am trying to connect from my job (yeah, instead of working on it), and we've got a proxy, so I tunnel stuff through Proxifier. In 99% cases it helps, but not here, I even don't receive connection attempt from JRE in Proxifier. Same with Wurm, they use JRE too.
What ports should be open, aslso do you use TCP or UDP? In case you use UDP, can I translate them into TCP and backwards?

And most of all. Why on Earth do people make games in java?) Just curious, as spent like 3 years battling with java environments in games, showing difficult multithreading experience, low performance etc etc.
Last edited by Linwe on Sat Dec 27, 2014 11:46 am, edited 1 time in total.
Linwe
 
Posts: 2
Joined: Fri Dec 26, 2014 4:27 am

Re: Unable to Launch the Application - Invalid HTTP Response

Postby loftar » Fri Dec 26, 2014 5:06 am

Linwe wrote:As for me, it is the same problem.
error http://pastebin.com/0SF6QFx6

That is not the error at all, so it's not enough to say that it's the same problem. The actual error is under the "Exception" tab.

Linwe wrote:And most of all. Why on Earth do people make games in java?) Just curious, as spent like 3 years battling with java environments in games, showing difficult multithreading experience, low performance etc etc.

See here for some rationale on language choice. TL;DR: your examples of problems are simply not true.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am

Re: Unable to Launch the Application - Invalid HTTP Response

Postby borka » Fri Dec 26, 2014 8:42 pm

Patting Linwe boss on the shoulder for blocking Java usage in Network :P
Last edited by borka on Sat Dec 27, 2014 7:27 pm, edited 1 time in total.
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Unable to Launch the Application - Invalid HTTP Response

Postby Linwe » Sat Dec 27, 2014 11:50 am

loftar wrote:here[/url] for some rationale on language choice.

thank you for answering.
also, I'll check the "exception" for additional info stuff, ty.
Linwe
 
Posts: 2
Joined: Fri Dec 26, 2014 4:27 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 7 guests