Cgoban being blocked in a future Java security update?

Comments, questions, rants, etc, that are specifically about KGS go here.
User avatar
RBerenguel
Gosei
Posts: 1585
Joined: Fri Nov 18, 2011 11:44 am
Rank: KGS 5k
GD Posts: 0
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Location: Barcelona, Spain (GMT+1)
Has thanked: 576 times
Been thanked: 298 times
Contact:

Re: Cgoban being blocked in a future Java security update?

Post by RBerenguel »

AKaios wrote:Just wanted to say thanks for the Windows workaround. It was a success.

As for the osX workaround, well, this is the kind of restrictions you can expect with Apple products. :lol:
OS X workaround: open a terminal window, wget the .jar file, java -jar cgoban.jar Even sound works.
Geek of all trades, master of none: the motto for my blog mostlymaths.net
Gohst
Dies in gote
Posts: 53
Joined: Sun Jan 23, 2011 2:03 am
GD Posts: 800
Location: Seattle, WA
Has thanked: 3 times
Been thanked: 5 times

Re: Cgoban being blocked in a future Java security update?

Post by Gohst »

I see the WMS post on Google+ about the fix to the Java issue but, when I download the latest CGoban, I get the one I already had (3.5.11), and it needs me to lower Java security just to be able to start it. So, I don't think WMS has posted the update just yet. I could be wrong....

If you are a Windows user and you just want to get on with your life, and play on KGS now, I would recommend the solution of temporarily lowering Java security to Medium in order to do a one-time approval of the KGS app, then increase Java security to High again. The details were posted by ErnestasRomeika in this thread.

It's an easy one-time fix, and worked fine for me.
Marathon
Dies with sente
Posts: 78
Joined: Sun Mar 03, 2013 1:25 pm
GD Posts: 0
Has thanked: 16 times
Been thanked: 21 times

Current Java security regarding KGS.

Post by Marathon »

From recent discussions in the EGR and other rooms, I see some users are still having trouble connecting as a result of Java security issues. Coincidentally, yesterday, I was at a different computer, and, when I tried to connect to KGS, I had the same security issue. I did a little testing on that computer. I hope to do more testing later. When I do, I'll either edit this message, or add another in this thread.

The computer tested used Windows 7, with Java 1.8.0_60, and Firefox 40.0.3.

To activate the applet, I needed to have these two items in Java exception list.
  • http://goserver.gokgs.com
  • http://www.gokgs.com


To run the Web Start Client, I needed to add this one item in the Java exception list.
  • http://files.gokgs.com


In the Java Control Panel, "General" (tab), "Network Settings" (button), I had "Direct Connection" selected. Several years ago, I was advised this is preferred over "Use Browser Settings," which is the default.

Currently, my regular computer uses Linux, with OpenJDK version of Java, with JNLP files handled by IcedTea. This will run either client without the need to enter security exceptions. I will give me one or two warnings asking if I'm sure I want to run it.

I tried the above using "https://" instead of "http://", and neither the applet nor web start clients would run. When I entered exceptions that began with "http://", Java gave me a warning, but allowed me to continue.

I said "activate", and not "run" the applet. In starting the applet, I got the pre-MOTD message, but did not get the actual MOTD. When I entered my user name and password, the rooms window did not appear. I believe this is an issue separate from the Java security issue being discussed in this thread.

The applet would not run at all using the Chrome browser. Neither will Chromium run the applet. This is the result of an separate Java issue: The plugin that allows browsers to run Java applets is based on NPAPI. Google says that NPAPI is associated with security holes, browser pages freezing, and other problems. They've withdrawn support for NPAPI. This issue is not expected to be resolved until Oracle or others who are responsible for maintaining Java create a PPAPI plugin for Java. This is also not related to the security issue in this thread.

I haven't yet tested Windows Explorer browser.

Edit: Nov. 18:
On my regular computer, which uses Linux, I switched from OpenJDK to Oracle's Java. As I said above, OpenJDK allowed me to run KGS without requiring me to enter exceptions in a list. It did give me warnings, and asked if I was sure I wanted to run the KGS software.

In switching to Oracle's Java, I found it worked exactly as it did on the Windows computer: I was required to enter security exceptions, as described above. Also, once that was done, the applet would accept my login account name and password, but the rooms window would never appear.
User avatar
wineandgolover
Lives in sente
Posts: 867
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 346 times

Re: Cgoban being blocked in a future Java security update?

Post by wineandgolover »

PSA

I updated to the new Mac OS Sierra 10.12 and had no java problems.
- Brady
Post Reply