Page 1 of 1

Can not run client.

PostPosted: Thu Jan 10, 2013 9:57 pm
by hedin
java.net.SocketException: Address family not supported by protocol family: 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.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(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)

Re: Can not run client.

PostPosted: Thu Jan 10, 2013 11:08 pm
by MagicManICT
You have something blocking the connection. Make sure Java is configured properly for using a proxy if necessary (biggest cause of this is that your web browser is and Java isn't). Make sure security software is configured correctly or disabled for running Java programs. Make sure the client can send and receive messages from the internet--make sure ports TCP 1871 and UDP 1870 are open (in either security software, your router(s), or both).

Re: Can not run client.

PostPosted: Fri Jan 11, 2013 7:26 pm
by hedin
My computer is behind a router, no ports blocked as far as i know.

Security software asks before blocking something.

Do i need some special settings for java?

Re: Can not run client.

PostPosted: Fri Jan 11, 2013 10:57 pm
by MagicManICT
hedin wrote:Do i need some special settings for java?


As far as internal Java settings, I'm not aware of any. If you have Java automatically blocking unsafe apps, it may cause issues.

Re: Can not run client.

PostPosted: Sat Jan 12, 2013 11:33 am
by hedin
have not got you

have i to do something to run this?

Re: Can not run client.

PostPosted: Sat Jan 12, 2013 3:50 pm
by MagicManICT
Double check your router and make sure that you can access the ports I mentioned. Others have had similar problems and when they manually opened the ports on their router, it was fixed.

MagicManICT wrote:
hedin wrote:Do i need some special settings for java?


As far as internal Java settings, I'm not aware of any. If you have Java automatically blocking unsafe apps, it may cause issues.


I only mention this as I wasn't sure if you have changed any of Java's settings in the past. The default security settings should work as is.

Re: Can not run client.

PostPosted: Mon Jan 14, 2013 10:48 pm
by hedin
How to check ports?

Turned off firewall on router at all, samw effect.

Re: Can not run client.

PostPosted: Tue Jan 15, 2013 2:49 am
by MisBehavin
javax.media.opengl.GLException: haven.GOut$GLInvalidValueException: GL Error: 1281 (invalid value)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:383)
at haven.HavenPanel.run(HavenPanel.java:418)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLInvalidValueException: GL Error: 1281 (invalid value)
at haven.GOut.glexcfor(GOut.java:97)
at haven.GOut.checkerr(GOut.java:107)
at haven.GLState$Applier.apply(GLState.java:469)
at haven.GOut.apply(GOut.java:194)
at haven.res.lib.leaves.FallingLeaves$MSlot.draw(FallingLeaves.java:36)
at haven.RenderList.render(RenderList.java:207)
at haven.RenderList.render(RenderList.java:218)
at haven.PView.draw(PView.java:169)
at haven.MapView.draw(MapView.java:660)
at haven.Widget.draw(Widget.java:479)
at haven.Widget.draw(Widget.java:484)
at haven.GameUI.draw(GameUI.java:354)
at haven.Widget.draw(Widget.java:479)
at haven.Widget.draw(Widget.java:484)
at haven.RootWidget.draw(RootWidget.java:61)
at haven.UI.draw(UI.java:139)
at haven.HavenPanel.redraw(HavenPanel.java:271)
at haven.HavenPanel$1.display(HavenPanel.java:88)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

I keep getting booted off also. Clueless. What little I saw of the game looked interesting.

Re: Can not run client.

PostPosted: Tue Jan 15, 2013 5:24 pm
by MagicManICT
hedin wrote:How to check ports?

Turned off firewall on router at all, samw effect.


You need to check your documentation. Each brand does things a bit differently. Many come with a software program you can install on your computer that gives you easy access to your router. Others you can access an URL to change settings.

MisBehavin wrote:javax.media.opengl.GLException: haven.GOut$GLInvalidValueException: GL Error: 1281 (invalid value)


You have a graphics issue. You need to make sure your drivers are properly updated. Some older cards may have issues and not have working drivers available for all operating systems--see this thread