yeah i realized what i did. my bad clicked hafen instead of run in custom client. sorry for the dumb postloftar wrote:Why would you even think that was the same error? Also, clearly a custom client issue.blank wrote:java.lang.IllegalArgumentException: hostname can't be null
-
blank
- Posts: 880
- Joined: Sun Jan 23, 2011 3:53 am
Re: Can't Login to Haven and Hearth
-
CelticWarrior
- Posts: 10
- Joined: Sat Sep 16, 2017 2:22 am
Re: Can't Login to Haven and Hearth
I re-installed java after restarting after I uninstalled it. I still get the same error as before. Other ideas?
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
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Can't Login to Haven and Hearth
I hate to say it, but you may need to reinstall again. This time, make sure you use a clean up utility to make sure that all the pieces of the installation are removed that might not be removed by the uninstall utility. The last time I looked, Oracle was recommending CCleaner. Uninstall Java, run this tool, reboot, and then reinstall Java. This will get any spare temp files, libraries, and registry entries that the uninstaller might have left behind. The free version should be enough to do this job.
I didn't see you mention which OS you're using, so assuming Windows. From everything I've read on this, assuming the cert path error is the root of the problem, is that it is either programmatic (meaning code isn't correct for connecting) or that the version of Java is old and trying to use old certificate validation paths that may no longer exist. If it was a programming problem, I would think it would be showing up more often. That makes me inclined to think that the problem is an old cache setting that is interfering (which is what reinstalling is supposed to fix).
As a mention, I'm not entirely sure what settings and such Java or Haven uses on Windows, how they're stored (typically in registry) or what the values are.
Another possible thought: what setting is Java security at? High may let it bypass an expired certificate as long as the other parts of it are good. Might try this if it is set to "very high" (Java settings->Security tab). Might also try explicitly adding www.havenandhearth.com, game.havenandhearth.com to the exceptions list, but loftar says this shouldn't be necessary now.
I didn't see you mention which OS you're using, so assuming Windows. From everything I've read on this, assuming the cert path error is the root of the problem, is that it is either programmatic (meaning code isn't correct for connecting) or that the version of Java is old and trying to use old certificate validation paths that may no longer exist. If it was a programming problem, I would think it would be showing up more often. That makes me inclined to think that the problem is an old cache setting that is interfering (which is what reinstalling is supposed to fix).
As a mention, I'm not entirely sure what settings and such Java or Haven uses on Windows, how they're stored (typically in registry) or what the values are.
Another possible thought: what setting is Java security at? High may let it bypass an expired certificate as long as the other parts of it are good. Might try this if it is set to "very high" (Java settings->Security tab). Might also try explicitly adding www.havenandhearth.com, game.havenandhearth.com to the exceptions list, but loftar says this shouldn't be necessary now.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
CelticWarrior
- Posts: 10
- Joined: Sat Sep 16, 2017 2:22 am
Re: Can't Login to Haven and Hearth
I uninstalled Java and ran Ccleaner. I still get the same error as before.
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Can't Login to Haven and Hearth
PM me your anydesk id and when you'll be on and I'll take a look.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020