Comments (6)
Comment by csobsidian
Thursday May 05, 2016 at 13:48 GMT
I don't currently have a system setup with the proper tool chain but here's what I've found:
The Version Service has an embedded URL for pulling the most recent version info.
private static final String VERSION_URL = "http://subsonic.org/backend/version.view";
This page currently returns the following information:
SUBSONIC_VERSION_BEGIN6.0SUBSONIC_VERSION_END
SUBSONIC_FULL_VERSION_BEGIN6.0SUBSONIC_FULL_VERSION_END
SUBSONIC_BETA_VERSION_BEGIN6.0.beta2SUBSONIC_BETA_VERSION_END
This information is then compared to a version string stored in a text file at ./WEB-INF/classes/version.txt. That local text file is created from the POM.xml at build time and contains the current project version:
<parent>
<groupId>net.sourceforge.subsonic</groupId>
<artifactId>subsonic</artifactId>
<version>6.0.beta1</version>
</parent>
Callers to the version service such as the Right Controller use this information to setup the proper view.
if (userSettings.isFinalVersionNotificationEnabled() && versionService.isNewFinalVersionAvailable() {
map.put("newVersionAvailable", true);
map.put("latestVersion", versionService.getLatestFinalVersion());
} else if (userSettings.isBetaVersionNotificationEnabled() && versionService.isNewBetaVersionAvailable()) {
map.put("newVersionAvailable", true);
map.put("latestVersion", versionService.getLatestBetaVersion());
}
For the near term the implications appear to be as simple as redirecting the version service to a new URL maintained by Libresonic. Long term this is wrapped into the re-branding and move away from the subsonic namespace.
from airsonic.
Comment by EugeneKay
Sunday May 08, 2016 at 18:32 GMT
ba28695 changes the VersionService URL to use libresonic.org. I have placed a plaintext file at the appropriate location and listed 5.3 as the current version.
This change does not appear to work on my test instance with the log error "Failed to resolve latest Subsonic version". I suspect Let's Encrypt is not in the Java SSL keystore? Input/testing welcomed.
from airsonic.
Comment by csobsidian
Monday May 09, 2016 at 20:20 GMT
[2016-05-09 13:06:18,052] WARN VersionService - Failed to resolve latest Subsonic version.
javax.net.ssl.SSLException: hostname in certificate didn't match: <libresonic.org> != <*.kashpureff.org> OR <*.kashpureff.org> OR <kashpureff.org> OR <www.kashpureff.org>
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:227)
at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:147)
...
from airsonic.
Comment by EugeneKay
Monday May 09, 2016 at 20:24 GMT
That means that this is a ServerNameIndication issue in Libresonic or the Java stdlib..... Ugh. A quick search yields https://issues.apache.org/jira/browse/HTTPCLIENT-1119 among others.
from airsonic.
Comment by EugeneKay
Tuesday May 10, 2016 at 14:56 GMT
@zifnab06 volunteered to look at this.
from airsonic.
Comment by EugeneKay
Saturday May 14, 2016 at 20:35 GMT
I have bumped the version numbers(dc2d450). I have decided to revert to using a HTTP URL for now(b90eb07) and opened #74 for a future release.
from airsonic.
Related Issues (20)
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- DLNA (10.6.2) doesn't work in TrueNas Jail HOT 3
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Multiple issues around logging in with LDAP enabled
- Auto-login as admin / single-user mode HOT 1
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Add bookmarking options to web player
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airsonic.