Problems with Autohost Jave client v2.2 |
Mon, 27 August 2012 11:21 |
|
Mark Hewitt | | Master Chief Petty Officer | Messages: 105
Registered: June 2006 Location: Calgary, Alberta, Canada | |
|
I was in a couple of games a while back (Dig It! and Sixpack3). While playing them, I got the AutoHost Java client v2.11 working. That was on Linux.
I'm back playing Stars! and I'm in Stone Age Slaughter 7. And running Stars! on Vista. I can get the web interface to work, but AutoHost Java client v2.2 just doesn't want to play.
Here's the log. Any thoughts?
Toggle Spoiler
[(3:18:32) message] Log: When reporting bugs, please include the following information:
[(3:18:32) message] Log: java.version=1.7.0_06
[(3:18:32) message] Log: java.vendor=Oracle Corporation
[(3:18:32) message] Log: java.compiler=null
[(3:18:32) message] Log: os.name=Windows Vista
[(3:18:32) message] Log: os.version=6.0
[(3:18:32) message] Log: os.arch=x86
[(3:18:32) message] Log: user.home=C:\Users\mark
[(3:18:32) message] Log: java.home=C:\Program Files\Java\jre7
[(3:18:32) message] Log: java.class.path=C:\Users\mark\Documents\Prog\Stars\Autohost\ ahclient.jar
[(3:18:32) notice] AutoHostGameController: Polling autohost for sas7
[(3:18:32) debug] Utils: Going to get /starout/sas7/sas7.status
[(3:18:53) error] AutoHostGameController: stars.ahc.AutoHostError: sas7.status couldn't be retrieved from AutoHost
[(3:18:53) error] AutoHostGameController: at stars.ahc.Utils.getFileFromAutohost(Utils.java:211)
[(3:18:53) error] AutoHostGameController: at stars.ahc.AutoHostGameController.poll(AutoHostGameController .java:225)
[(3:18:53) error] AutoHostGameController: at stars.ahc.AutoHostGameController.loadStatusProperties(AutoHo stGameController.java:307)
[(3:18:53) error] AutoHostGameController: at stars.ahc.Game.loadProperties(Game.java:461)
[(3:18:53) error] AutoHostGameController: at stars.ahc.Game.init(Game.java:118)
[(3:18:53) error] AutoHostGameController: at stars.ahc.Game.<init>(Game.java:95)
[(3:18:53) error] AutoHostGameController: at stars.ahc.GamesProperties.parseProps(GamesProperties.java:39 2)
[(3:18:53) error] AutoHostGameController: at stars.ahc.GamesProperties.init(GamesProperties.java:325)
[(3:18:54) error] AutoHostGameController: at stars.ahc.AutoHostClient.main(AutoHostClient.java:103)
[(3:18:54) error] AutoHostGameController: Caused by: java.net.ConnectException: Connection timed out: connect
[(3:18:54) error] AutoHostGameController: at java.net.DualStackPlainSocketImpl.connect0(Native Method)
[(3:18:54) error] AutoHostGameController: at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
[(3:18:54) error] AutoHostGameController: at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at java.net.PlainSocketImpl.connect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at java.net.SocksSocketImpl.connect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at java.net.Socket.connect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at java.net.Socket.connect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.NetworkClient.doConnect(Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.http.HttpClient.openServer(Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.http.HttpClient.openServer(Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.http.HttpClient.<init>(Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.http.HttpClient.New(Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.http.HttpClient.New(Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient (Unknown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unk nown Source)
[(3:18:54) error] AutoHostGameController: at sun.net.www.protocol.h
...
[Updated on: Mon, 27 August 2012 11:27] Report message to a moderator
|
|
|
|
Re: Problems with Autohost Jave client v2.2 |
Mon, 27 August 2012 15:33 |
|
Mark Hewitt | | Master Chief Petty Officer | Messages: 105
Registered: June 2006 Location: Calgary, Alberta, Canada | |
|
After it first failed, I'd updated my Java to the lastest. The log is from a run after the update. The client appears to be running but can't communicate.
Now I think of it, I don't get a warning from ZoneAlarm saying the program is trying to access the Internet. I may be using one previously established by Java.
[Updated on: Mon, 27 August 2012 15:34] Report message to a moderator
|
|
|
|
|
|
|
Re: Problems with Autohost Jave client v2.2 |
Wed, 29 August 2012 01:25 |
|
Mark Hewitt | | Master Chief Petty Officer | Messages: 105
Registered: June 2006 Location: Calgary, Alberta, Canada | |
|
And I have a fix for Vista. And this may apply to more than just Vista.
Use Java JRE6 for the Autohost Java client ahclient.jar. On Vista it doesn't work under JRE7.
On Linux, where it works, I saw the Java is openjdk-6. So I tried JRE6 on Vista. And the client works fine.
Couldn't figure out how to make it use JRE6 if JRE7 is installed, so I just have JRE6. As JRE7 currently has a major unpatched bug, that a bonus.
I've send an email to Jeffrey Hoyt, the Autohost client support on SourceForge, detailing this (and 2 other minor issues).
[Updated on: Wed, 29 August 2012 01:27] Report message to a moderator
|
|
|