Crash on start

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

Crash on start

Postby Demon13 » Mon Oct 24, 2011 11:14 pm

I'm new, and have not yet to play the game. Unfortunately, I tried joining during the server was down. I have gotten the client to work(while the server was down), but now that the server is up I can no longer play.

Ther error is:
Code: Select all
java.lang.RuntimeException: Delayed error in resource gfx/tiles/gold/gold (v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
   at haven.Resource.checkerr(Resource.java:1058)
   at haven.Resource.layer(Resource.java:941)
   at haven.MCache.loadset(MCache.java:139)
   at haven.MCache.tilemap(MCache.java:433)
   at haven.Session$RWorker.handlerel(Session.java:372)
   at haven.Session$RWorker.getrel(Session.java:383)
   at haven.Session$RWorker.run(Session.java:451)
Caused by: haven.Resource$LoadException: Load error in resource gfx/tiles/gold/gold(v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
   at haven.Resource$Loader.handle(Resource.java:401)
   at haven.Resource$Loader.run(Resource.java:375)
   at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
   at sun.security.ssl.Alerts.getSSLException(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
   at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
   at haven.Resource$HttpSource.get(Resource.java:330)
   at haven.Resource$TeeSource.get(Resource.java:225)
   at haven.Resource$Loader.handle(Resource.java:395)
   ... 2 more
Caused by: java.lang.RuntimeException: Could not generate DH keypair
   at sun.security.ssl.DHCrypt.<init>(Unknown Source)
   at sun.security.ssl.ClientHandshaker.serverKeyExchange(Unknown Source)
   at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
   at sun.security.ssl.Handshaker.processLoop(Unknown Source)
   at sun.security.ssl.Handshaker.process_record(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
   ... 11 more
Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
   at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120)
   at java.security.KeyPairGenerator$Delegate.initialize(Unknown Source)
   ... 18 more



Sorry if this has been posted many times.

Thanks for any help.
Demon13
 
Posts: 4
Joined: Sun Oct 23, 2011 8:16 pm

Re: Crash on start

Postby loftar » Mon Oct 24, 2011 11:23 pm

Interesting. It seems your Java Cryptography implementation can't handle 2048 bit DH keys. I see that you're using Java 7, which is still in early release. You may want to try and downgrade to Java 6 and see if that fixes the problem.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Crash on start

Postby Demon13 » Tue Oct 25, 2011 1:57 am

This worked. Thank you.

Also, do you know if it is a fault with JRE7, or if it is the program?

I code in java, and I use JDK1.7 so I don't really want to stay downgraded for long.
Demon13
 
Posts: 4
Joined: Sun Oct 23, 2011 8:16 pm

Re: Crash on start

Postby loftar » Tue Oct 25, 2011 2:08 am

Reasonably with JRE7, since it is it that claims to be unable to use 2048 bit DH keys.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am


Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 0 guests