LOSITAN - illegal URL redirect
1
2
Entering edit mode
6.7 years ago
nadya ▴ 30

Hi all,

I've used lositan for awhile now and haven't had any issues getting it to launch, but when I went to use it last week, all of a sudden it wasn't working (error message below; "illegal URL redirect"). I've added the lositan selection workbench website as a security exception, and have also tried replacing my current version of Java (v8) with previous versions (v7, tried various updates), but I still get the same error. Some of the suggestions I've found through different Google searches of the "illegal URL redirect" error message mention that this issue may have to do with the applet for the program (rather than the version of java you're using); is lositan now defunct or have others been able to use it recently?

Any suggestions will be appreciated! I'm using Mac OS X El Capitan (but also have the same problem on Windows).

Nadya

Error message that I get:

java.lang.SecurityException: illegal URL redirect
    at jdk.deploy@9.0.4/com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at jdk.deploy@9.0.4/com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at jdk.javaws@9.0.4/com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at jdk.javaws@9.0.4/com.sun.javaws.Launcher.updateLaunchDesc(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.prepareToLaunch(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.prepareToLaunch(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.launchApp(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.launchApp(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.continueInSecureThread(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart.access$000(Unknown Source)
    at jdk.plugin@9.0.4/sun.plugin2.main.WebStart$1.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
lositan LOSITAN java applet • 6.2k views
ADD COMMENT
1
Entering edit mode

Hi @nadya, same here but I use Ubuntu... it may have to do with changes with to https protocol of the Lositan repository? (just my guess). You can try to run Lositan as a standalone version which can be found on Github: https://github.com/tiagoantao/lositan

Start with: 1. getLibs.sh 2. prepareLibs.sh 3. prepareLocalExec.sh 4. prepareJNLP.sh

Finally runLocal.sh

To be honest, the scripts are little bit messy and they have some errors, like old links or navigation to wrong folder. The best thing is to copy each code line and in case of errors correct them. This should do the trick.

ADD REPLY
0
Entering edit mode

Is that Java 9 you have there?

ADD REPLY
1
Entering edit mode

Yes sorry, I started out testing with Java 8 then reverted back to Java 7 with no luck. Thought I'd go ahead and upgrade to Java 9 for other applications while trying to sort this particular issue out. I got the same error message with Java v8 as what I've posted here with v9.

ADD REPLY
1
Entering edit mode

I have the same problem, pretty sure never changed my Java version or any of its settings since the last time I ran it successfully few months ago, perhaps nothing we can do and the program is finally down.

ADD REPLY
1
Entering edit mode

I have the same problem. Fixes that worked before in windows 10 and linux (uninstalling java 8, working from java 7, adding http://popgen.net to security exception list) are no longer working. Has anyone found a solution?

ADD REPLY
3
Entering edit mode
6.5 years ago
K.Periasamy ▴ 30

We have a Win 7 32-bit OS and we wanted to resolve this. Using the instructions given by Bartosz above, we have compiled a working local copy of the software.

The link is https://github.com/BaskiGIT/lositan/tree/master/OfflineVersion

FYI - We did not prepare JNLP completely, but instead the app works with runLocal.bat

ADD COMMENT
1
Entering edit mode

Thanks for making this! This is probably a silly question, but how can we download that version? I only see 'Pull request' and 'Compare' on Github, rather than 'Clone or download' as with Bartosz's version.

ADD REPLY
1
Entering edit mode

aesculus, you can download it together with complete Lositan from the prior page https://github.com/BaskiGIT/lositan you will need some scripting in windows, but I myself cant stop thinking, should we really try to bring a dead program published 10 years ago and apparently abandoned by its owner, back to life while there are other newer alternatives?

ADD REPLY

Login before adding your answer.

Traffic: 2064 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6