Connection timed out?

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

Connection timed out?

Postby kitty629 » Thu Aug 23, 2018 9:59 pm

Anyone know why my connection would be timing out? This is the launch file and exception I get. Ooops I pasted the same file twice, here is the exception.

<?xml version="1.0" encoding="utf-8" ?>
<jnlp codebase="http://game.havenandhearth.com/java/" spec="1.0+">
<information>
<title>Haven and Hearth</title>
<vendor>Seatribe</vendor>
<description>The Haven game</description>
<homepage href="http://www.havenandhearth.com/" />
<icon href="icon.gif" />
<icon kind="splash" href="splash.gif" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se max-heap-size="512M" version="1.8+" />
<java max-heap-size="512M" version="1.8+" />
<jar href="hafen.jar" />
<extension name="jogl" href="http://game.havenandhearth.com/java/hafen-res.jnlp" />
<extension name="jogl" href="http://game.havenandhearth.com/java/jogl2/jogl-all-awt.jnlp" />
<property name="jnlp.haven.authuser" value="kitty629" />
<property name="jnlp.haven.screenurl" value="http://game.havenandhearth.com/mt/ss" />
<property name="jnlp.haven.resurl" value="http://game.havenandhearth.com/hres/" />
<property name="jnlp.haven.fullscreen" value="off" />
<property name="jnlp.haven.defserv" value="game.havenandhearth.com" />
<property name="jnlp.haven.errorurl" value="http://game.havenandhearth.com/java/error" />
</resources>
<application-desc />
</jnlp>

java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(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 java.net.Socket.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.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.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 com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source)
at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Last edited by kitty629 on Fri Aug 24, 2018 11:41 am, edited 1 time in total.
kitty629
 
Posts: 25
Joined: Sun Sep 13, 2015 2:34 pm

Re: Connection timed out?

Postby loftar » Fri Aug 24, 2018 12:21 am

kitty629 wrote:This is the launch file and exception I get.

There is in actual fact no exception in there.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Connection timed out?

Postby MagicManICT » Fri Aug 24, 2018 8:38 pm

Thanks for adding in the exception and stack trace. Before we can help any, we need to know what operating system and Java version are installed. We may also need to know some network configuration details such as if a proxy is being used and how connections are done or any security software installed that may interfere with the connections.

An easy solution to the problem can be found here: viewtopic.php?f=42&t=59646#p762432

If that doesn't work, please follow up and we'll do our best to help you out.

edit: moved to our tech support forum, "Bugs."
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: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Connection timed out?

Postby neeco » Fri Aug 24, 2018 9:43 pm

Connection timing out seems more like internet issues than haven issues, especially as the stack trace has no exceptions. Would look into your internet or firewall possibly.
W9: Hermit
W10: LS of EoCity
W11: God King Emperor of the East [Retired]
W12: Wouldn't you like to know

jorb wrote:The running server is the test server.
User avatar
neeco
 
Posts: 345
Joined: Mon Aug 20, 2018 3:31 am
Location: Bat soup store

Re: Connection timed out?

Postby loftar » Sat Aug 25, 2018 3:34 am

neeco wrote:Connection timing out seems more like internet issues than haven issues, especially as the stack trace has no exceptions. Would look into your internet or firewall possibly.

Agreed, especially given how it is Java itself, rather than even the actual Haven client, that is having network troubles.

If anything, you may want to check whether the Java settings have a proxy server configured, in which case you should most likely set it to use no proxy. I've seen some people inexplicably having proxy settings enabled in Java, and it could conceivably cause such problems. The presence of SocksSocketImpl in the stack trace also indicates that it could be that.

Oh, and by the way, when you edit to post to include new information like that, you may want to post a reply saying that. I wouldn't have noticed the edit if MagicManICT hadn't posted about it.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Connection timed out?

Postby Granger » Sat Aug 25, 2018 9:13 am

Should you be able to catch that exception: what about adding some diagnostic information (nslookup, tracepath, ...) to the error message?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9264
Joined: Mon Mar 22, 2010 2:00 pm

Re: Connection timed out?

Postby MagicManICT » Sun Aug 26, 2018 1:06 am

loftar wrote:Oh, and by the way, when you edit to post to include new information like that, you may want to post a reply saying that. I wouldn't have noticed the edit if MagicManICT hadn't posted about it.

Yeah, that's why I posted. ;)

It seems to be a common enough error that few people seem to follow up on. It's definitely local to the system or ISP problem, but anything we (you?) can do to make it easier to fix, or at least notice without crashing, would be good.
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: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Connection timed out?

Postby loftar » Mon Aug 27, 2018 4:38 pm

Granger wrote:Should you be able to catch that exception: what about adding some diagnostic information (nslookup, tracepath, ...) to the error message?

Since this is in the JNLP client before the Haven client is even running, there isn't a whole lot I can do about it.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am


Return to Bugs

Who is online

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