Why can't I execute autohaven.jar?

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

Why can't I execute autohaven.jar?

Postby Dodominoe » Sat Nov 21, 2020 3:42 pm

I installed Java and everything, but when I try to execute it I get a quick flash of a window popping up with a black screen and then immediately closing again.
Can someone help me?
Dodominoe
 
Posts: 1
Joined: Sat Nov 21, 2020 12:12 pm

Re: Why can't I execute autohaven.jar?

Postby MagicManICT » Sat Nov 21, 2020 7:29 pm

If the client is crashing, try searching your drive for a file called "hs_err_pid.log" that should be placed in the root Java folder, wherever you told Java to install.

Also, what sort of hardware do you have in your computer--CPU, GPU, is it a laptop or desktop? What operating system and version? What version of Java do you have installed?

A few things come to mind as to the possible causes, but there has been several recent updates that have changed what the typical cause of crashes are, and don't want to make suggestions that aren't even going to work.
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: 18437
Joined: Tue Aug 17, 2010 1:47 am

Re: Why can't I execute autohaven.jar?

Postby loftar » Sat Nov 21, 2020 11:59 pm

Do you get the splash screen/download window and then the actual client crashing, or is it the downloader itself that is crashing in the first place?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am

Re: Why can't I execute autohaven.jar?

Postby Moosenheim » Sun Nov 22, 2020 12:19 am

try jarfix if it's a fresh install of java on windows.
Moosenheim
 
Posts: 8
Joined: Sat Nov 07, 2020 7:47 pm

Re: Why can't I execute autohaven.jar?

Postby telas » Tue Nov 24, 2020 12:29 am

i just get this error today. i think was the custom client but the original client have an error too.
Code: Select all
java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
   at haven.launcher.Driver.execute(Driver.java:72)
   at haven.launcher.Driver.run(Driver.java:89)
   at haven.launcher.Driver.main(Driver.java:147)
Caused by: java.net.SocketTimeoutException: Read timed out
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.socketRead(Unknown Source)
   at java.net.SocketInputStream.read(Unknown Source)
   at java.net.SocketInputStream.read(Unknown Source)
   at sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
   at sun.security.ssl.SSLSocketInputRecord.readFully(Unknown Source)
   at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source)
   at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
   at sun.security.ssl.SSLTransport.decode(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.readApplicationRecord(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.access$300(Unknown Source)
   at sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)
   at java.io.BufferedInputStream.read1(Unknown Source)
   at java.io.BufferedInputStream.read(Unknown Source)
   at sun.net.www.MeteredStream.read(Unknown Source)
   at java.io.FilterInputStream.read(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
   at haven.launcher.Cache.update0(Cache.java:229)
   at haven.launcher.Cache.update(Cache.java:277)
   at haven.launcher.Resource.update(Resource.java:64)
   at haven.launcher.Driver.execute(Driver.java:47)
   ... 2 more
   Suppressed: java.net.SocketTimeoutException: connect timed out
      at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      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.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.https.HttpsURLConnectionImpl.connect(Unknown Source)
      at haven.launcher.Cache.update0(Cache.java:206)
      ... 5 more
   Suppressed: java.net.SocketTimeoutException: connect timed out
      at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      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.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.https.HttpsURLConnectionImpl.connect(Unknown Source)
      at haven.launcher.Cache.update0(Cache.java:206)
      ... 5 more
Last edited by loftar on Sun Nov 29, 2020 10:38 pm, edited 1 time in total.
Reason: Added code tags
telas
 
Posts: 21
Joined: Wed Aug 12, 2020 9:52 pm

Re: Why can't I execute autohaven.jar?

Postby vatas » Tue Nov 24, 2020 10:27 am

telas wrote:i just get this error today. i think was the custom client but the original client have an error too.

Consider using "hide" instead of "spoiler" next time.
The most actively maintained Haven and Hearth Wiki (Not guaranteed to be up-to-date with all w14 changes.)

Basic Claim Safety (And what you’re doing wrong) (I recommend you read it in it's entirety, but TL:;DR: Build a Palisade.)

Combat Guide (Overview, PVE, PVP) (Tells you how to try and escape, and make it less likely to die when caught.)
User avatar
vatas
 
Posts: 4511
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Why can't I execute autohaven.jar?

Postby MagicManICT » Tue Nov 24, 2020 6:59 pm

Could you post the error you get from the base client? I'm not sure it'll be any different.

Generally, when you get an error like
telas wrote:SocketTimeoutException: Read timed out

it indicates there's a network problem. Either you're having a connection issue with the server, such as network outages, or there is some local software, typically antivirus or other security software, interfering with the connection. Make sure that java.exe and javaw.exe are allowed access to the network, and if possible to set specific Java apps, the appropriate Haven files--autohaven.jar, haven.jar (possibly others).

There may be other causes, but those are generally code issues (which most everyone would be having, at least intermittently), or beyond my skill to help with.

Moved to the "bugs" section.
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: 18437
Joined: Tue Aug 17, 2010 1:47 am

Re: Why can't I execute autohaven.jar?

Postby telas » Wed Nov 25, 2020 2:09 am

vatas wrote:
telas wrote:i just get this error today. i think was the custom client but the original client have an error too.

Consider using "hide" instead of "spoiler" next time.

what a helpful answer. tks



MagicManICT wrote:Could you post the error you get from the base client? I'm not sure it'll be any different.

Generally, when you get an error like
telas wrote:SocketTimeoutException: Read timed out

it indicates there's a network problem. Either you're having a connection issue with the server, such as network outages, or there is some local software, typically antivirus or other security software, interfering with the connection. Make sure that java.exe and javaw.exe are allowed access to the network, and if possible to set specific Java apps, the appropriate Haven files--autohaven.jar, haven.jar (possibly others).

There may be other causes, but those are generally code issues (which most everyone would be having, at least intermittently), or beyond my skill to help with.

Moved to the "bugs" section.


i think was both my connection and my antivirus. tks
telas
 
Posts: 21
Joined: Wed Aug 12, 2020 9:52 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 7 guests

cron