Network connection problem

Need help? Post your questions here.

Moderator: moderators

Network connection problem

Postby Ubra » Thu Dec 17, 2020 6:39 pm

I'm going crazy!

A lot of times it's impossible to reach the Subsonic server from my Android (DSub), iOS (iSub) or from another computer within my local network.
I can always reach it on the web on the desktop where the server runs.
Don't know the reason (of course), but I got "Network connection failure" in my apps when I try entering on-line-mode.

After restart of the Subsonic server one or more times AND restart of my apps, it sometimes suddenly starts working.
Love Subsonic (Premium) when it works, but makes me crazy when it doesnt.
A typical startup log looks like this:

[2020-12-17 19:07:54,088] INFO HsqlDaoHelper - Checking database schema.
[2020-12-17 19:07:56,392] INFO HsqlDaoHelper - Done checking database schema.
[2020-12-17 19:07:56,542] INFO SettingsService - Java: 1.8.0_152, OS: Windows 10
[2020-12-17 19:07:56,753] INFO VersionService - Resolved local Subsonic version to: 6.1.6
[2020-12-17 19:07:56,923] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Fri Dec 18 03:00:00 CET 2020
[2020-12-17 19:07:56,997] INFO UPnPService - Starting UPnP service...
[2020-12-17 19:07:57,059] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Thu Dec 17 19:12:57 CET 2020
[2020-12-17 19:07:57,630] INFO UPnPService - Disabling UPnP/DLNA media server
[2020-12-17 19:07:57,630] INFO UPnPService - Starting UPnP service - Done!
[2020-12-17 19:08:07,072] INFO NetworkService - Deleted port mapping for port 4040
[2020-12-17 19:08:07,089] INFO NetworkService - Deleted port mapping for port 443
[2020-12-17 19:08:07,408] INFO BootstrapVerificationFilter - Servlet container: jetty-6.1.x
[2020-12-17 19:08:49,375] INFO VersionService - Resolved latest Subsonic final version to: 6.1.6
[2020-12-17 19:08:49,375] INFO VersionService - Resolved latest Subsonic beta version to: 6.1.beta2
[2020-12-17 19:12:57,065] INFO PodcastService - Starting scheduled Podcast refresh.
[2020-12-17 19:12:57,065] INFO PodcastService - Completed scheduled Podcast refresh.

Please, someone help me!
Posts: 6
Joined: Mon Oct 15, 2012 7:44 pm

Re: Network connection problem

Postby squashed » Tue Jan 05, 2021 4:09 pm

Is your server using DHCP and being allocated a different IP each time I wonder? (for sure make your server static)

In the past I've also seen networks that have the same SSID being recognised as different by Windows which will them place them in a different security domain (eg. Public and not Private) which then blocks access. If they flick back the the other network (with the same SSID) the become 'private' again etc...

Also assuming your Windows firewall is behaving?

Do you have something else standing on port 4040 on your server? (try 8080)
Posts: 12
Joined: Sun Jul 18, 2010 3:51 pm

Re: Network connection problem

Postby Ubra » Sat Jan 09, 2021 11:14 am

Thanks for advices, but the server is static and only Susonic is on 4040.
Don't think it's Windows firewall.

Last two weeks I have no problem reaching Subsonic from other computers, it's just the apps over WiFi.
Posts: 6
Joined: Mon Oct 15, 2012 7:44 pm

Re: Network connection problem

Postby 3Dscrewer » Thu Jan 14, 2021 10:18 am

You are having SSL enabled, that may be a problem because self signed certificate. In my opinion there is no need to do so.
Try to disable first.
Try this to check if your port is open, dont use the IP (Edit: or try that first and change then), change to your adress like or whatever you are using.

Try another service like dnsomatic or similar, if your router don't support dns service use Marcs Updater, there are a lots of services pre conigurated. You can use both services at same time

Using https

For improved security you can turn on https encryption. On Windows, open the Subsonic Control Panel by clicking on the Subsonic tray icon, then enable https on the specified port (default 443).

On Linux, add --https-port=4443 (or any other port) to SUBSONIC_ARGS in /etc/default/subsonic (Ubuntu/Debian) or /etc/sysconfig/subsonic (Fedora/RPM).

On Mac, look for -Dsubsonic.httpsPort=0 in /Applications/ and change it to the desired port number.

Note that Subsonic uses a self-signed https certificate by default. This provides encryption but not proper authentication. To use your own certificate you must put it in a Java keystore, then specify the following Java system properties: subsonic.ssl.keystore (path to an alternate SSL keystore), and subsonic.ssl.password (password of the alternate SSL keystore). On Windows, you can set these system properties in C:\Program Files (x86)\Subsonic\subsonic-service.exe.vmoptions. On Mac, you can add them to /Applications/
Posts: 196
Joined: Tue Feb 13, 2018 1:11 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests