Client crashes when loading assets

The worst monsters in the Hearthlands warp the fabric of space and time...
morilux
Posts: 14
Joined: Thu Aug 06, 2015 8:05 pm

Client crashes when loading assets

Post by morilux »

Hello, I've been experiencing frequent crashes while playing the game and they seem to be related to assets that are unable to be loaded.
My OS is Windows 10 Pro. Java Version 16 64b. Graphics card is AMD Radeon RX 5700XT. Graphics drivers are up to date and from the manufacturer's website.
Here is my crash log:

Code: Select all

haven.Resource$LoadFailedException: Failed to load resource gfx/terobjs/herbs/clay-gray (v2)
	at haven.Resource$Pool$Queued.get(Resource.java:506)
	at haven.Resource$Pool$Queued.get(Resource.java:473)
	at haven.Session$CachedRes$Ref.get(Session.java:134)
	at haven.Session$CachedRes$Ref.get(Session.java:125)
	at haven.ResDrawable.<init>(ResDrawable.java:42)
	at haven.ResDrawable$$cres.apply(ResDrawable.java:91)
	at haven.OCache$GobInfo.apply(OCache.java:347)
	at haven.Loader.lambda$defer$0(Loader.java:240)
	at haven.Loader$Future.run(Loader.java:71)
	at haven.Loader$Future.access$400(Loader.java:42)
	at haven.Loader.loop(Loader.java:202)
	at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource gfx/terobjs/herbs/clay-gray(v2), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
	at haven.Resource$Pool.handle(Resource.java:566)
	at haven.Resource$Pool.access$1200(Resource.java:450)
	at haven.Resource$Pool$Loader.run(Resource.java:696)
	... 1 more
	Suppressed: haven.Resource$LoadException: Wrong res version (1 != 2)
		at haven.Resource.load(Resource.java:1819)
		at haven.Resource.access$700(Resource.java:42)
		at haven.Resource$Pool.handle(Resource.java:555)
		... 3 more
		Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/herbs/clay-gray(v2), from local res source (res-preload)
			at haven.Resource$Pool.handle(Resource.java:566)
			... 3 more
			Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/herbs/clay-gray(v2), from local res source (res)
				... 4 more
			Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/terobjs/herbs/clay-gray.res
				at haven.Resource$JarSource.get(Resource.java:287)
				at haven.Resource$Pool.handle(Resource.java:551)
				... 3 more
		Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/terobjs/herbs/clay-gray.res
			at haven.Resource$JarSource.get(Resource.java:287)
			at haven.Resource$Pool.handle(Resource.java:551)
			... 3 more
Caused by: java.io.IOException: already retried 7 times
	at haven.RetryingInputStream.retry(RetryingInputStream.java:54)
	at haven.RetryingInputStream.get(RetryingInputStream.java:70)
	at haven.RetryingInputStream.check(RetryingInputStream.java:96)
	at haven.Resource$HttpSource.get(Resource.java:355)
	at haven.Resource$TeeSource.get(Resource.java:207)
	at haven.Resource$Pool.handle(Resource.java:551)
	... 3 more
Caused by: java.net.UnknownHostException: game.havenandhearth.com
	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(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.getInputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
	at haven.Resource$HttpSource$1.create(Resource.java:352)
	at haven.RetryingInputStream.create(RetryingInputStream.java:44)
	at haven.RetryingInputStream.get(RetryingInputStream.java:76)
	... 7 more
Last edited by loftar on Thu Aug 18, 2022 7:26 pm, edited 1 time in total.
Reason: Added code tags
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Client crashes when loading assets

Post by loftar »

morilux wrote:Caused by: java.net.UnknownHostException: game.havenandhearth.com
Looks like you're having some sort of network troubles. Unreliable wifi, perhaps? Just a guess.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
morilux
Posts: 14
Joined: Thu Aug 06, 2015 8:05 pm

Re: Client crashes when loading assets

Post by morilux »

loftar wrote:
morilux wrote:Caused by: java.net.UnknownHostException: game.havenandhearth.com
Looks like you're having some sort of network troubles. Unreliable wifi, perhaps? Just a guess.
Thanks for responding. I have tried running my machine with ethernet cable, and I have connected to a different 5g network and still receiving the same type of crashes.
This one was on my mobile 5g as opposed to my normal ISP.

Code: Select all

haven.Resource$LoadFailedException: Failed to load resource gfx/terobjs/bumlings/graywacke (v1)
	at haven.Resource$Pool$Queued.get(Resource.java:506)
	at haven.Resource$Pool$Queued.get(Resource.java:473)
	at haven.Session$CachedRes$Ref.get(Session.java:134)
	at haven.Session$CachedRes$Ref.get(Session.java:125)
	at haven.res.lib.vmat.Materials.decode(vmat.cjava:52)
	at haven.res.lib.vmat.Materials.parse(vmat.cjava:77)
	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at haven.Utils.invoke(Utils.java:1704)
	at haven.Utils.lambda$smthfun$1(Utils.java:1726)
	at haven.GAttrib$ParserMaker$1.apply(GAttrib.java:66)
	at haven.OCache$$resattr.apply(OCache.java:306)
	at haven.OCache$GobInfo.apply(OCache.java:347)
	at haven.Loader.lambda$defer$0(Loader.java:240)
	at haven.Loader$Future.run(Loader.java:71)
	at haven.Loader$Future.access$400(Loader.java:42)
	at haven.Loader.loop(Loader.java:202)
	at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource gfx/terobjs/bumlings/graywacke(v1), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
	at haven.Resource$Pool.handle(Resource.java:566)
	at haven.Resource$Pool.access$1200(Resource.java:450)
	at haven.Resource$Pool$Loader.run(Resource.java:696)
	... 1 more
	Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/bumlings/graywacke(v1), from cache source backed by HashDirCache(http://game.havenandhearth.com/render/)
		... 4 more
		Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/bumlings/graywacke(v1), from local res source (res-preload)
			... 4 more
			Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/bumlings/graywacke(v1), from local res source (res)
				... 4 more
			Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/terobjs/bumlings/graywacke.res
				at haven.Resource$JarSource.get(Resource.java:287)
				at haven.Resource$Pool.handle(Resource.java:551)
				... 3 more
		Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/terobjs/bumlings/graywacke.res
			at haven.Resource$JarSource.get(Resource.java:287)
			at haven.Resource$Pool.handle(Resource.java:551)
			... 3 more
	Caused by: java.io.FileNotFoundException: res/gfx/terobjs/bumlings/graywacke
		at haven.HashDirCache.fetch(HashDirCache.java:389)
		at haven.Resource$CacheSource.get(Resource.java:230)
		at haven.Resource$Pool.handle(Resource.java:551)
		... 3 more
Caused by: java.io.IOException: already retried 7 times
	at haven.RetryingInputStream.retry(RetryingInputStream.java:54)
	at haven.RetryingInputStream.get(RetryingInputStream.java:70)
	at haven.RetryingInputStream.check(RetryingInputStream.java:96)
	at haven.Resource$HttpSource.get(Resource.java:355)
	at haven.Resource$TeeSource.get(Resource.java:207)
	at haven.Resource$Pool.handle(Resource.java:551)
	... 3 more
Caused by: java.net.UnknownHostException: game.havenandhearth.com
	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(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.getInputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
	at haven.Resource$HttpSource$1.create(Resource.java:352)
	at haven.RetryingInputStream.create(RetryingInputStream.java:44)
	at haven.RetryingInputStream.get(RetryingInputStream.java:76)
	... 7 more
Last edited by loftar on Fri Aug 19, 2022 1:04 pm, edited 1 time in total.
Reason: Added code tags
User avatar
TheMap
Posts: 69
Joined: Tue May 18, 2010 4:01 am

Re: Client crashes when loading assets

Post by TheMap »

Having the same issues with all clients today. I'm wired on ethernet and have fiber.

haven.Resource$LoadFailedException: Failed to load resource gfx/terobjs/items/wblock-ash (v21)
User avatar
TheMap
Posts: 69
Joined: Tue May 18, 2010 4:01 am

Re: Client crashes when loading assets

Post by TheMap »

Code: Select all

haven.Resource$LoadFailedException: Failed to load resource paginae/seid/fishpray (v8)
	at haven.Resource$Pool$Queued.get(Resource.java:586)
	at haven.Resource$Pool$Queued.get(Resource.java:553)
	at haven.Session$CachedRes$Ref.get(Session.java:139)
	at haven.Session$CachedRes$Ref.get(Session.java:130)
	at haven.MenuGrid$Pagina.res(MenuGrid.java:111)
	at haven.MenuGrid$Pagina.button(MenuGrid.java:125)
	at haven.MenuGrid$Pagina.parent(MenuGrid.java:139)
	at haven.MenuGrid.cons(MenuGrid.java:463)
	at haven.MenuGrid.consb(MenuGrid.java:444)
	at haven.MenuGrid.updlayout(MenuGrid.java:497)
	at haven.MenuGrid.tick(MenuGrid.java:680)
	at haven.Widget.tick(Widget.java:785)
	at haven.Widget$TickEvent.shandle(Widget.java:927)
	at haven.Widget.handle(Widget.java:907)
	at haven.Widget$Event.dispatch(Widget.java:860)
	at haven.Widget$TickEvent.propagation(Widget.java:920)
	at haven.Widget$Event.propagate(Widget.java:850)
	at haven.Widget$Event.dispatch(Widget.java:862)
	at haven.Widget$TickEvent.propagation(Widget.java:920)
	at haven.Widget$Event.propagate(Widget.java:850)
	at haven.Widget$Event.dispatch(Widget.java:862)
	at haven.Widget$TickEvent.propagation(Widget.java:920)
	at haven.Widget$Event.propagate(Widget.java:850)
	at haven.Widget$Event.dispatch(Widget.java:862)
	at haven.UI.dispatch(UI.java:640)
	at haven.UI.tick(UI.java:400)
	at haven.GLPanel$Loop.run(GLPanel.java:376)
	at haven.JOGLPanel.run(JOGLPanel.java:246)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource paginae/seid/fishpray(v8), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
	at haven.Resource$Pool.handle(Resource.java:654)
	at haven.Resource$Pool.access$1100(Resource.java:530)
	at haven.Resource$Pool$Loader.run(Resource.java:784)
	... 1 more
	Suppressed: haven.Resource$LoadException: Load error in resource paginae/seid/fishpray(v8), from cache source backed by HashDirCache(http://game.havenandhearth.com/render/)
		... 4 more
		Suppressed: haven.Resource$LoadException: Load error in resource paginae/seid/fishpray(v8), from local res source (res)
			... 4 more
			Suppressed: haven.Resource$LoadException: Load error in resource paginae/seid/fishpray(v8), from local res source (res-preload)
				... 4 more
				Suppressed: haven.Resource$LoadException: Load error in resource paginae/seid/fishpray(v8), from filesystem res source (C:\Users\n_nus\AppData\Roaming\Haven and Hearth\ender-client\res)
					... 4 more
				Caused by: java.io.FileNotFoundException: paginae/seid/fishpray
					at haven.Resource$FileSource.get(Resource.java:365)
					at haven.Resource$Pool.handle(Resource.java:631)
					... 3 more
				Caused by: java.nio.file.NoSuchFileException: C:\Users\n_nus\AppData\Roaming\Haven and Hearth\ender-client\res\paginae\seid\fishpray.res
					at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
					at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
					at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
					at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
					at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
					at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
					at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
					at java.base/java.nio.file.Files.newInputStream(Unknown Source)
					at haven.Resource$FileSource.get(Resource.java:363)
					... 4 more
			Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/paginae/seid/fishpray.res
				at haven.Resource$JarSource.get(Resource.java:385)
				at haven.Resource$Pool.handle(Resource.java:631)
				... 3 more
		Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/paginae/seid/fishpray.res
			at haven.Resource$JarSource.get(Resource.java:385)
			at haven.Resource$Pool.handle(Resource.java:631)
			... 3 more
	Caused by: java.io.FileNotFoundException: res/paginae/seid/fishpray
		at haven.HashDirCache.fetch(HashDirCache.java:327)
		at haven.Resource$CacheSource.get(Resource.java:315)
		at haven.Resource$Pool.handle(Resource.java:631)
		... 3 more
Caused by: java.io.IOException: already retried 7 times
	at haven.RetryingInputStream.retry(RetryingInputStream.java:54)
	at haven.RetryingInputStream.get(RetryingInputStream.java:70)
	at haven.RetryingInputStream.check(RetryingInputStream.java:96)
	at haven.Http.fetch(Http.java:80)
	at haven.Resource$HttpSource.get(Resource.java:431)
	at haven.Resource$TeeSource.get(Resource.java:292)
	at haven.Resource$Pool.handle(Resource.java:631)
	... 3 more
Caused by: java.net.UnknownHostException: game.havenandhearth.com
	at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
	at haven.Http$1.create(Http.java:77)
	at haven.RetryingInputStream.create(RetryingInputStream.java:44)
	at haven.RetryingInputStream.get(RetryingInputStream.java:76)
	... 8 more
User avatar
TheMap
Posts: 69
Joined: Tue May 18, 2010 4:01 am

Re: Client crashes when loading assets

Post by TheMap »

haven.Resource$LoadFailedException: Failed to load resource gfx/invobjs/seed-brassica (v1)
at haven.Resource$Pool$Queued.get(Resource.java:586)
at haven.Resource$Pool$Queued.get(Resource.java:553)
at haven.Session$CachedRes$Ref.get(Session.java:139)
at haven.Session$CachedRes$Ref.get(Session.java:130)
at haven.GItem.spr(GItem.java:182)
at haven.GItem.tick(GItem.java:201)
at haven.Widget.tick(Widget.java:785)
at haven.Widget$TickEvent.shandle(Widget.java:927)
at haven.Widget.handle(Widget.java:907)
at haven.Widget$Event.dispatch(Widget.java:860)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.UI.dispatch(UI.java:641)
at haven.UI.tick(UI.java:401)
at haven.GLPanel$Loop.run(GLPanel.java:376)
at haven.JOGLPanel.run(JOGLPanel.java:246)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource gfx/invobjs/seed-brassica(v1), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
at haven.Resource$Pool.handle(Resource.java:654)
at haven.Resource$Pool.access$1100(Resource.java:530)
at haven.Resource$Pool$Loader.run(Resource.java:784)
... 1 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/seed-brassica(v1), from cache source backed by HashDirCache(http://game.havenandhearth.com/render/)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/seed-brassica(v1), from local res source (res)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/seed-brassica(v1), from local res source (res-preload)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/seed-brassica(v1), from filesystem res source (C:\Users\n_nus\AppData\Roaming\Haven and Hearth\ender-client\res)
... 4 more
Caused by: java.io.FileNotFoundException: gfx/invobjs/seed-brassica
at haven.Resource$FileSource.get(Resource.java:365)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Caused by: java.nio.file.NoSuchFileException: C:\Users\n_nus\AppData\Roaming\Haven and Hearth\ender-client\res\gfx\invobjs\seed-brassica.res
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
at java.base/java.nio.file.Files.newInputStream(Unknown Source)
at haven.Resource$FileSource.get(Resource.java:363)
... 4 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/invobjs/seed-brassica.res
at haven.Resource$JarSource.get(Resource.java:385)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/invobjs/seed-brassica.res
at haven.Resource$JarSource.get(Resource.java:385)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Caused by: java.io.FileNotFoundException: res/gfx/invobjs/seed-brassica
at haven.HashDirCache.fetch(HashDirCache.java:327)
at haven.Resource$CacheSource.get(Resource.java:315)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Caused by: java.io.IOException: already retried 7 times
at haven.RetryingInputStream.retry(RetryingInputStream.java:54)
at haven.RetryingInputStream.get(RetryingInputStream.java:70)
at haven.RetryingInputStream.check(RetryingInputStream.java:96)
at haven.Http.fetch(Http.java:80)
at haven.Resource$HttpSource.get(Resource.java:431)
at haven.Resource$TeeSource.get(Resource.java:292)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Caused by: java.net.UnknownHostException: game.havenandhearth.com
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttp ... HttpClient(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttp ... on.connect(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionIm ... nputStream(Unknown Source)
at haven.Http$1.create(Http.java:77)
at haven.RetryingInputStream.create(RetryingInputStream.java:44)
at haven.RetryingInputStream.get(RetryingInputStream.java:76)
... 8 more
User avatar
TheMap
Posts: 69
Joined: Tue May 18, 2010 4:01 am

Re: Client crashes when loading assets

Post by TheMap »

Ive tried, reinstalling numerous times. Wiped the game from appdata on my pc. All files wiped. Reinstalled java a few times. Turned off my firewall. Nothing working so far. Never had this issue before, not sure what has changed.
User avatar
derkami
Posts: 198
Joined: Thu Jun 02, 2016 11:28 pm

Re: Client crashes when loading assets

Post by derkami »

You have trouble to resolve the domainname to it's ip.
There is a workaround to that... Editing your hosts file.
it*s located at C:\Windows\System32\drivers\etc
and you need to add:

Code: Select all

46.4.95.116	www.havenandhearth.com
46.4.95.116	game.havenandhearth.com
Please not: doing so will fix this IP to these domains.
IF at any point the server is switching to another domain or whatever, you will have to edit this again.

This is just to solve the issue of "java.net.UnknownHostException: game.havenandhearth.com"
Image
Image
Image
User avatar
TheMap
Posts: 69
Joined: Tue May 18, 2010 4:01 am

Re: Client crashes when loading assets

Post by TheMap »

Was a DNS issue, changed my DNS to googles and havn't had an issue since.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Client crashes when loading assets

Post by loftar »

TheMap wrote:Was a DNS issue, changed my DNS to googles and havn't had an issue since.
Very interesting. This is still utterly mysterious to me. I have no idea why the client would fail to resolve a hostname that, obviously, the launcher can resolve perfectly well.
"Object-oriented design is the roman numerals of computing." -- Rob Pike

Return to “Bugs”