Haven Error(2) Online Client start. [Fixed]

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

Haven Error(2) Online Client start. [Fixed]

Postby mvgulik » Sat Dec 17, 2011 1:41 pm

Seem the online client startup is bugged out.
Using XP-Pro 32bits With Java 7
- Not tried to clear relative cash files to see if that clears it up. ... lazzy.
- Using the updated HnH files to start a local session works ok though.)

+ O yea, Crash happens after doing the character login.
(Although with a "gfx/tiles/gold/gold(v1) forking" error that generally don't really seems to matter. I think.)

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
Last edited by mvgulik on Tue Dec 20, 2011 2:28 am, edited 1 time in total.
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Haven Error(2) Online Client start.

Postby MagicManICT » Sat Dec 17, 2011 7:37 pm

That's the error you get when it tries to get resources from the server, but fails. Look down a bit and you see a series of SSL errors. That's more the root of the problem. As far as a fix... try clearing the cache? :D
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: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Haven Error(2) Online Client start.

Postby mvgulik » Sat Dec 17, 2011 8:03 pm

Duh ...
Don's see your "I tested this and could not reproduce" ... remember you saying something about testing before opening your mouth.

... LOL, you had that one coming ...
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Haven Error(2) Online Client start.

Postby boshaw » Sat Dec 17, 2011 8:07 pm

mvgulik wrote:Duh ...
Don's see your "I tested this and could not reproduce" ... remember you saying something about testing before opening your mouth.

If you try to run it on Java 6 does it work?

I remember awhile back loftar talking about this bug which is actually due to loftar using a DH Key size of like 2048 and Java 7 only supports 1024 for some reason and thus the error gets produced.

It was something like that.
User avatar
boshaw
 
Posts: 1590
Joined: Tue Jun 01, 2010 10:22 pm

Re: Haven Error(2) Online Client start.

Postby MagicManICT » Sat Dec 17, 2011 8:29 pm

mvgulik wrote:D remember you saying something about testing before opening your mouth.

... LOL, you had that one coming ...


Uh... could you point that out somewhere? and in the proper context?

Seriously, when you start getting weird errors, clear the freakin' cache!

boshaw wrote:I remember awhile back loftar talking about this bug which is actually due to loftar using a DH Key size of like 2048 and Java 7 only supports 1024 for some reason and thus the error gets produced.


He also said he adjusted the DH Key size for now so that HnH will run with Java 7.

edit: nothing saying that it didn't somehow get reverted with another server-side update recently.
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: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Haven Error(2) Online Client start.

Postby mvgulik » Sat Dec 17, 2011 9:02 pm

boshaw wrote:If you try to run it on Java 6 does it work?

Yes. With Java 6 (1.6.0.30 (32-bit)) it works ok.

So you remembered correctly. :) (if its the DH Key size again)
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Haven Error(2) Online Client start.

Postby mvgulik » Sat Dec 17, 2011 9:12 pm

MagicManICT wrote:Seriously, when you start getting weird errors, clear the freakin' cache!

Nope.

The success rate for doing things like that to actually solve a problem is very low, and the only reason for doing something like that. (Or re-downloading/re-installing something for that matter) is to eliminate them as potential additional possibly problem sources.
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Haven Error(2) Online Client start.

Postby Tonkyhonk » Sun Dec 18, 2011 2:49 am

looks like what boshaw said fits.

viewtopic.php?f=27&t=23200
same error message i got before.
i havent used the default client lately, and i cannot confirm if i could reproduce it now though.
User avatar
Tonkyhonk
 
Posts: 4501
Joined: Fri Sep 10, 2010 6:43 am

Re: Haven Error(2) Online Client start.

Postby MagicManICT » Sun Dec 18, 2011 7:28 am

Tonkyhonk wrote:i havent used the default client lately, and i cannot confirm if i could reproduce it now though.


It would matter which client you used as it is a client-server communication error where the .dll on the client side (for Java) needs to match the same encryption level server side.
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: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Haven Error(2) Online Client start.

Postby Tonkyhonk » Tue Dec 20, 2011 2:05 am

yes, i made sure, that error is back again, most likely with the recent server restart.
i cannot use official client now.

Code: Select all
javax.media.opengl.GLException: java.lang.RuntimeException: Delayed error in resource paginae/blk/dorg (v5), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
   at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
   at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
   at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
   at haven.HavenPanel.uglyjoglhack(HavenPanel.java:349)
   at haven.HavenPanel.run(HavenPanel.java:378)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Delayed error in resource paginae/blk/dorg (v5), 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.MenuGrid.cons(MenuGrid.java:75)
   at haven.MenuGrid.updlayout(MenuGrid.java:112)
   at haven.MenuGrid.draw(MenuGrid.java:150)
   at haven.Widget.draw(Widget.java:283)
   at haven.SlenHud.draw(SlenHud.java:271)
   at haven.Widget.draw(Widget.java:283)
   at haven.RootWidget.draw(RootWidget.java:61)
   at haven.UI.draw(UI.java:136)
   at haven.HavenPanel.redraw(HavenPanel.java:254)
   at haven.HavenPanel$1.display(HavenPanel.java:77)
   at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
   at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
   at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
   at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource paginae/blk/dorg(v5), 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)


java.lang.RuntimeException: Delayed error in resource paginae/atk/axe (v4), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
   at haven.Resource.checkerr(Resource.java:1058)
   at haven.Resource.compareTo(Resource.java:950)
   at haven.Resource.compareTo(Resource.java:39)
   at java.util.ComparableTimSort.countRunAndMakeAscending(Unknown Source)
   at java.util.ComparableTimSort.sort(Unknown Source)
   at java.util.ComparableTimSort.sort(Unknown Source)
   at java.util.Arrays.sort(Unknown Source)
   at java.util.Collections.sort(Unknown Source)
   at haven.Resource.dumplist(Resource.java:1106)
   at haven.MainFrame.main2(MainFrame.java:235)
   at haven.MainFrame.access$100(MainFrame.java:34)
   at haven.MainFrame$5.run(MainFrame.java:266)
   at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource paginae/atk/axe(v4), 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)
   ... 1 more
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
User avatar
Tonkyhonk
 
Posts: 4501
Joined: Fri Sep 10, 2010 6:43 am

Next

Return to Bugs

Who is online

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