Error on Authentication

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

Error on Authentication

Postby jleisele58 » Sat Sep 17, 2011 3:22 am

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

tried with java 6 and 7 get same error
jleisele58
 
Posts: 2
Joined: Sat Sep 17, 2011 3:02 am

Re: Error on Authentication

Postby boshaw » Sat Sep 17, 2011 3:30 am

use Ender's client. default client hasn't been updated in a long time and needs a certain line changed to make it load from:
http://www.havenandhearth.com/res/ not https://www.havenandhearth.com/res/
User avatar
boshaw
 
Posts: 1591
Joined: Tue Jun 01, 2010 10:22 pm

Re: Error on Authentication

Postby jleisele58 » Sat Sep 17, 2011 3:35 am

thank you, i will give it a try
jleisele58
 
Posts: 2
Joined: Sat Sep 17, 2011 3:02 am

Re: Error on Authentication

Postby Chakravanti » Sat Sep 17, 2011 3:36 am

I don't understand. Why does it work for me? Is it because I have the webcites certificate?
Well what is this that I can't see
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
User avatar
Chakravanti
 
Posts: 3345
Joined: Sat Aug 29, 2009 3:38 am

Re: Error on Authentication

Postby boshaw » Sat Sep 17, 2011 3:43 am

Chakravanti wrote:I don't understand. Why does it work for me? Is it because I have the webcites certificate?

maybe, the problem has to do with the whole ssl and https thing.


when i was messing with the default for my mods i had the same problem and the fix was chaning [line 56 => https://github.com/dolda2000/haven-clie ... onfig.java ]
Code: Select all
if(!(p = getprop("haven.resurl", "https://www.havenandhearth.com/res/")).equals(""))

to
Code: Select all
if(!(p = getprop("haven.resurl", "http://www.havenandhearth.com/res/")).equals(""))
User avatar
boshaw
 
Posts: 1591
Joined: Tue Jun 01, 2010 10:22 pm


Return to Bugs

Who is online

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