¿ªÔÆÌåÓý

Locked Check for updates in 4.17.4


 

I have successfully downloaded and installed 4.17.4 and it all behaves as expected except the Check for Updates window which does not display the latests available version number although it does correctly display the version being used.
Running MacOS 10.14.6 and 4.17.4
Do we know if this is a new JMRI issue or just my local issue?
John K


 

V4.17.4 is currently the latest version released on 10 Sept 2019.
so seems it is reporting correctly.


 

John,

Looks like that this might be linked to the https switch I made the other day.

Thanks for the heads-up - will try to come up with a fix.

Best regards,

Matt H


 

Looks like it¡¯s in apps.CheckForUpdateAction

There¡¯s a URL there, but changing it to doesn¡¯t fix this:

[java] 2019-09-12 06:53:22,264 apps.CheckForUpdateAction ERROR - Unexpected failure during reading: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [AWT-EventQueue-0]

Bob

On Sep 12, 2019, at 4:28 AM, Matthew Harris <matthew.john.harris@...> wrote:

John,

Looks like that this might be linked to the https switch I made the other day.

Thanks for the heads-up - will try to come up with a fix.

Best regards,

Matt H
--
Bob Jacobsen
rgj1927@...


 

On Thu, Sep 12, 2019 at 03:55 PM, Bob Jacobsen wrote:
Looks like it¡¯s in apps.CheckForUpdateAction

There¡¯s a URL there, but changing it to doesn¡¯t fix this:
That should be ?as that's now the canonical form.

Non-https and non-www issue a redirect in response to any request and, I surmise, apps.CheckForUpdateAction is unable to handle this redirection response.

When I changed the URL to the new canonical form, it seemed to work OK for me.

Best regards,

Matt H


 

I've got a rewrite rule that should resolve this and allow this specific URL to still be available at the non-https location - will add this to the server later.

The remainder of the site pages will redirect (and this specific resource will also be available in the canonical https form).

Best regards,

Matt H


 

Now updated.

@John K - can you verify that this now behaves for you?

Thanks for the report.

Best regards,

Matt H


 

Clicking on check for updates shows:

Most recent production release: 4.16
Most recent test release: 4.17.4
You have: 4.17.4+Rbf0d1af

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


 

Cheers Peter - looks like it's behaving now.

Best regards,

Matt H


 

Hi Matt
I can confirm that it now behaves as expected.
Best
John K