Can't Login to Haven and Hearth

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

Re: Can't Login to Haven and Hearth

Postby CelticWarrior » Thu Sep 21, 2017 11:49 pm

The full error message is this:
I found somewhere that the certificate on the website is the old one. Anyone know how I can get the new one?
Code: Select all
java.lang.RuntimeException: Delayed error in resource paginae/skills/forage (v5), from forking source backed by HTTP res source (https://game.havenandhearth.com/hres/)
   at haven.Resource$Pool$Queued.get(Resource.java:334)
   at haven.Resource$Pool$Queued.get(Resource.java:303)
   at haven.Session$CachedRes$Ref.get(Session.java:119)
   at haven.Session$CachedRes$Ref.get(Session.java:112)
   at haven.CharWnd$SkillGrid.sksort(CharWnd.java:1364)
   at haven.CharWnd$SkillGrid.tick(CharWnd.java:1377)
   at haven.Widget.tick(Widget.java:637)
   at haven.Widget.tick(Widget.java:637)
   at haven.Widget.tick(Widget.java:637)
   at haven.Widget.tick(Widget.java:637)
   at haven.GameUI.tick(GameUI.java:683)
   at haven.Widget.tick(Widget.java:637)
   at haven.UI.tick(UI.java:135)
   at haven.HavenPanel.run(HavenPanel.java:540)
   at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource paginae/skills/forage(v5), from forking source backed by HTTP res source (https://game.havenandhearth.com/hres/)
   at haven.Resource$Pool.handle(Resource.java:391)
   at haven.Resource$Pool.access$1100(Resource.java:280)
   at haven.Resource$Pool$Loader.run(Resource.java:527)
   ... 1 more
   Suppressed: haven.Resource$LoadException: Load error in resource paginae/skills/forage(v5), from cache source backed by FileCache(http://game.havenandhearth.com/java/)
      ... 4 more
      Suppressed: haven.Resource$LoadException: Load error in resource paginae/skills/forage(v5), from local res source
         ... 4 more
      Caused by: java.io.FileNotFoundException: Could not find resource locally: paginae/skills/forage
         at haven.Resource$JarSource.get(Resource.java:187)
         at haven.Resource$Pool.handle(Resource.java:375)
         ... 3 more
   Caused by: java.io.FileNotFoundException: res/paginae/skills/forage
      at haven.HashDirCache.fetch(HashDirCache.java:277)
      at haven.Resource$CacheSource.get(Resource.java:154)
      at haven.Resource$Pool.handle(Resource.java:375)
      ... 3 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   at sun.security.ssl.Alerts.getSSLException(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
   at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
   at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
   at sun.security.ssl.ClientHandshaker.serverCertificate(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)
   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.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 sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
   at haven.Resource$HttpSource.get(Resource.java:241)
   at haven.Resource$TeeSource.get(Resource.java:133)
   at haven.Resource$Pool.handle(Resource.java:375)
   ... 3 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
   at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
   at sun.security.validator.Validator.validate(Unknown Source)
   at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
   at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
   at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
   ... 24 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
   at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
   at java.security.cert.CertPathBuilder.build(Unknown Source)
   ... 30 more
CelticWarrior
 
Posts: 10
Joined: Sat Sep 16, 2017 2:22 am

Re: Can't Login to Haven and Hearth

Postby loftar » Fri Sep 22, 2017 2:57 am

CelticWarrior wrote:I found somewhere that the certificate on the website is the old one.

That's not the case, but even if it were it shouldn't matter, because the client is hard-coded to look for the specific certificate that the HTTP server actually uses and ignore other validation like hostname or date validation. I'm not sure why yours doesn't. Some Google hits suggest that the error may be caused by local reconfiguration of Java's security library by way of setting system properties and stuff, but judging from your previous responses that doesn't seem like something you would have done.

The error message also seems to imply that you actually got into the game, btw. How did you manage to get past the error at the login screen?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't Login to Haven and Hearth

Postby CelticWarrior » Fri Sep 22, 2017 10:22 pm

Some how instead of going to the login screen, it displays my username at the top as though I had already logged in and the crashes and that is the error report that appears. So what do you think the issue is then?
CelticWarrior
 
Posts: 10
Joined: Sat Sep 16, 2017 2:22 am

Re: Can't Login to Haven and Hearth

Postby CelticWarrior » Fri Sep 22, 2017 10:24 pm

The error message I got before which I think I ran the downloaded file without more than once: unable to find valid certification path to requested target. Is that the most important part
CelticWarrior
 
Posts: 10
Joined: Sat Sep 16, 2017 2:22 am

Re: Can't Login to Haven and Hearth

Postby loftar » Sat Sep 23, 2017 4:37 am

CelticWarrior wrote:Some how instead of going to the login screen, it displays my username at the top as though I had already logged in and the crashes and that is the error report that appears.

Right, it's when you use a freshly downloaded file from the Play button.

CelticWarrior wrote:So what do you think the issue is then?

It's really hard to tell. It looks like the SSL library just ignores my settings, but I've been browsing through the OpenJDK source code and I can't find any mechanism by which it would do that. There may be some divergence between OpenJDK and Oracle's JRE, of course, but if there is then I can't see it since it's all in their non-public code. I'm pretty stumped for now.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't Login to Haven and Hearth

Postby Granger » Sat Sep 23, 2017 4:52 am

Please share some details on the operating system you are using and the Java version you have installed.
Did you install Java using ninite (or a similar tool)? Asking as I found that some encryption things were missing in Java after being installed through it...
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't Login to Haven and Hearth

Postby CelticWarrior » Sat Sep 23, 2017 1:25 pm

I am using 64bit Windows 8.1 with Java 8.144 update installed. I installed Java using offline .exe. I will try using online to re install.
CelticWarrior
 
Posts: 10
Joined: Sat Sep 16, 2017 2:22 am

Re: Can't Login to Haven and Hearth

Postby Granger » Sat Sep 23, 2017 1:46 pm

CelticWarrior wrote:I am using 64bit Windows 8.1 with Java 8.144 update installed. I installed Java using offline .exe. I will try using online to re install.

64 bit offline installer link is in Bug Creation Howto, deinstall all other javas on your system first (control panel -> software) and reboot prior to install.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't Login to Haven and Hearth

Postby blank » Sun Sep 24, 2017 2:42 am

i just now got the error


1.61.6.b90118f9
Windows 10 10.0 x64, 1.8.0_91 x86
NVIDIA Corporation (GeForce GTX 960/PCIe/SSE2) - 4.5.0 NVIDIA 375.63

java.lang.IllegalArgumentException: hostname can't be null
at java.net.InetSocketAddress.checkHost(Unknown Source)
at java.net.InetSocketAddress.<init>(Unknown Source)
at haven.SslHelper.connect(SslHelper.java:155)
at haven.AuthClient.<init>(AuthClient.java:49)
at haven.Bootstrap.run(Bootstrap.java:149)
at haven.MainFrame.run(MainFrame.java:268)
at java.lang.Thread.run(Unknown Source)
User avatar
blank
 
Posts: 880
Joined: Sun Jan 23, 2011 3:53 am

Re: Can't Login to Haven and Hearth

Postby loftar » Sun Sep 24, 2017 2:48 am

blank wrote:java.lang.IllegalArgumentException: hostname can't be null

Why would you even think that was the same error? Also, clearly a custom client issue.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

PreviousNext

Return to How do I?

Who is online

Users browsing this forum: Claude [Bot], Google [Bot], Omgili [Bot] and 8 guests