[Support] binhex - Madsonic


Recommended Posts

I'm trying to access Madsonic over the Internet using an android app (DSub). I've used this app successfully for years accessing a subsonic server on another machine. I can access Madsonic locally over wifi using the web interface or DSub, but not over the Internet.

 

I have set up port forwarding on my router. I've gone over all my settings. I can't figure it out. Any help?

 

You can check out the Subsonic forums for more help, but I've had issue with using the *.subsonic.org address for a long time (it points to some random IP, not mine). Despite it "registering" ok, it never refers properly. If this is your problem, possible solutions for are either a) use your real IP instead of a dynamic domain name or b) use another DNS provider (there are tons of free ones - I use duckdns - it even has an auto-update docker!). But of course there are tons of other issues including double-NATing and firewalls and such.

 

BTW, just checked the forums and Subsonic.org was actually down for a few hours recently too

Link to comment
  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

would it be possible to update madsonic to the latest version?

 

done, i have now built the newer madsonic 6.0 stable, keep in mind if you do update to this there are two important things to remember:-

 

1. db and config files generated from 5.x are NOT compatible with 6.x, thus you need to create and export and playlists from 5.x BEFORE you upgrade, delete everything in the /config folder, let it create db etc and then import playlists back into 6.x

2. madsonic 6.x is now a paid product (although i can find no way of paying for it!), out of the box this will have a 28 day trial period, not sure exactly what happens when that expires, but be prepared for it not to work after this period (5.x does NOT have this restriction).

 

For people wanting to stick on the 5.x series please do so by specifying the tag name, if no tag given then docker will pull down latest (madsonic 6.x), tag for 5.x is "5.1.5260-01"

Link to comment

I'm trying to access Madsonic over the Internet using an android app (DSub). I've used this app successfully for years accessing a subsonic server on another machine. I can access Madsonic locally over wifi using the web interface or DSub, but not over the Internet.

 

I have set up port forwarding on my router. I've gone over all my settings. I can't figure it out. Any help?

 

You can check out the Subsonic forums for more help, but I've had issue with using the *.subsonic.org address for a long time (it points to some random IP, not mine). Despite it "registering" ok, it never refers properly. If this is your problem, possible solutions for are either a) use your real IP instead of a dynamic domain name or b) use another DNS provider (there are tons of free ones - I use duckdns - it even has an auto-update docker!). But of course there are tons of other issues including double-NATing and firewalls and such.

 

BTW, just checked the forums and Subsonic.org was actually down for a few hours recently too

 

I don't think Madsonc supports .subsonic.org addresses... anyway, I am not using a .subsonic.org address.

 

Is anyone able to connect to their Madsonic server from outside their LAN?

Link to comment

I'm trying to access Madsonic over the Internet using an android app (DSub). I've used this app successfully for years accessing a subsonic server on another machine. I can access Madsonic locally over wifi using the web interface or DSub, but not over the Internet.

 

I have set up port forwarding on my router. I've gone over all my settings. I can't figure it out. Any help?

 

You can check out the Subsonic forums for more help, but I've had issue with using the *.subsonic.org address for a long time (it points to some random IP, not mine). Despite it "registering" ok, it never refers properly. If this is your problem, possible solutions for are either a) use your real IP instead of a dynamic domain name or b) use another DNS provider (there are tons of free ones - I use duckdns - it even has an auto-update docker!). But of course there are tons of other issues including double-NATing and firewalls and such.

 

BTW, just checked the forums and Subsonic.org was actually down for a few hours recently too

 

I don't think Madsonc supports .subsonic.org addresses... anyway, I am not using a .subsonic.org address.

 

Is anyone able to connect to their Madsonic server from outside their LAN?

Yes, would be pretty useless for me if I couldn't, just port forward the madsonic http port and connect using web browser or madsonic android app

 

Sent from my SM-G900F using Tapatalk

 

 

Link to comment

Hmm... I have been using the subsonic Android app called dsub for years with my old subsonic server. I cannot for the life of me get it working with your madsonic server... It should work, right?

 

i wouldnt count on it, keep in mind madsonic is a fork of subsonic with a LOT of modifications, the only thing i can tell you for sure is that the official madsonic android app works with madsonic server, other than that your on your own mate :-).

Link to comment

Hmm... I have been using the subsonic Android app called dsub for years with my old subsonic server. I cannot for the life of me get it working with your madsonic server... It should work, right?

 

Dsub works just fine with Madsonic 5.1.5260.  I've not tried the newer 6.0 branch.

Link to comment

Hmm... I have been using the subsonic Android app called dsub for years with my old subsonic server. I cannot for the life of me get it working with your madsonic server... It should work, right?

dSUB works perfectly with Madsonic, however Madsonic is now updated to version 6.0 recently.  The update from 5.x to 6.x broke my DB, and now enabled a premium license trial. Once that trial is over, dSUB will stop working because Madsonic disables API support.

 

Rather ridiculous.  Oh, and you can't buy a premium license since the dev hasn't opened it up for another 3 months time.  The trial expires in 30 days though.

/Rant

 

It seems that Madsonic 6.0 transcoder isn't working in this docker at the moment. :( Not a big deal unless you use FLAC, it seems to have the windows .exe of ffmpeg instead.

Link to comment

Hmm... I have been using the subsonic Android app called dsub for years with my old subsonic server. I cannot for the life of me get it working with your madsonic server... It should work, right?

dSUB works perfectly with Madsonic, however Madsonic is now updated to version 6.0 recently.  The update from 5.x to 6.x broke my DB, and now enabled a premium license trial. Once that trial is over, dSUB will stop working because Madsonic disables API support.

 

Rather ridiculous.  Oh, and you can't buy a premium license since the dev hasn't opened it up for another 3 months time.  The trial expires in 30 days though.

/Rant

 

It seems that Madsonic 6.0 transcoder isn't working in this docker at the moment. :( Not a big deal unless you use FLAC, it seems to have the windows .exe of ffmpeg instead.

 

yes i 100% agree with you, the state of 6.0.x is not great, ridiculous that its a trial but you cant purchase a licence to unlock it. ok well you can roll back to the 5.x series by simply changing the tag as i tag every release i do for just such a case. tbh i have personally done just that, i have a pull request to fix the transcode, apparently the transcode tar has another folder depth to it for some bizarre reason.

 

question for anybody using madsonic and watching this thread, is anybody bothered if i revert back to 5.x as the default (as in tag latest), at least and still this all settles down?.

Link to comment

If you roll it back just beware you will likely need to delete your db and start fresh.

 

a good point, a nice way of switching without loosing too much config is to export playlists, if you "star" tracks like i did you can even convert starred tracks into a playlist, then export and import, worked a treat for me.

 

I don't think you should make it default to an older version but tagging is a great idea! How do I do that exactly though?

 

go to unraid webui/docker/edit madsonic container, click on advanced view (top right) and change the repository from:-

 

binhex/arch-madsonic

 

to

 

binhex/arch-madsonic:5.1.5260-01

 

a list of all the tags can be seen on docker hub:- https://hub.docker.com/r/binhex/arch-madsonic/builds/

Link to comment

Hmm... I have been using the subsonic Android app called dsub for years with my old subsonic server. I cannot for the life of me get it working with your madsonic server... It should work, right?

dSUB works perfectly with Madsonic, however Madsonic is now updated to version 6.0 recently.  The update from 5.x to 6.x broke my DB, and now enabled a premium license trial. Once that trial is over, dSUB will stop working because Madsonic disables API support.

 

Rather ridiculous.  Oh, and you can't buy a premium license since the dev hasn't opened it up for another 3 months time.  The trial expires in 30 days though.

/Rant

 

It seems that Madsonic 6.0 transcoder isn't working in this docker at the moment. :( Not a big deal unless you use FLAC, it seems to have the windows .exe of ffmpeg instead.

 

Thanks very much. That explains a lot. Gotta say, I don't know what the draw is to Madsonic. I think I am going to switch to pure Subsonic. Can either of you recommend a container? Would either of you be willing to provide a Subsonic container with musiccabinet preinstalled?

Link to comment
  • 1 month later...

Firstly, thanks very much for this docker. It plays everything just great and I love the interface.  Although no matter what I do I can't seem to reach this from outside my LAN. I've forwarded all the ports correctly. I am able to VPN home using my noip DDNS address, and connect to plex this way as well so I know the port forwarding and DDNS are working. Is there something I'm missing? I have ports 4040 and 4050 forwarded to the unraid machine, but in Madsonic I keep getting :

Status: Could not connect to https://mikedpitt420.ddns.net. (HttpHostConnectException)

When I try to enter my custom URL. What am I missing?

Link to comment

Firstly, thanks very much for this docker. It plays everything just great and I love the interface.  Although no matter what I do I can't seem to reach this from outside my LAN. I've forwarded all the ports correctly. I am able to VPN home using my noip DDNS address, and connect to plex this way as well so I know the port forwarding and DDNS are working. Is there something I'm missing? I have ports 4040 and 4050 forwarded to the unraid machine, but in Madsonic I keep getting :

Status: Could not connect to https://mikedpitt420.ddns.net. (HttpHostConnectException)

When I try to enter my custom URL. What am I missing?

 

Hi,

 

Try without the secure part (ie. http://mikedpitt420.ddns.net.), you may not have a valid certificate to communicate - not a trusted host.

You may also need to disable https in madsonic settings.

Link to comment

Well unfortunately that's a deal breaker for me :( I'm not a huge fan of forwarding ports through my router in the 1st place, and having to leave the VPN connected all the time to do this would drain too much battery I think. So there's no way of generating a self signed certificate or something like that so at least there is SSL encryption? Do the other Madsonic (or similar) dockers also have this same issue or are there other ones that will work with https? Is there a way to specify that I do in fact want to use https? I thought I read that it was a definable environment variable somewhere, is that in fact the case?

Link to comment

Well it is definitely possible with the web front end (to use the self-signed cert), but I'm not so sure with the mobile client. It has to be told specifically to accept the unsigned certificate, but I think that has to be coded as an option - or maybe there's another way in CA store management on your phone (export/import cert).

 

The setting to disable or enable SSL is in the docker settings environment variables (Advanced view) - also see the docker description.

 

Link to comment

Firstly, thanks very much for this docker. It plays everything just great and I love the interface.  Although no matter what I do I can't seem to reach this from outside my LAN. I've forwarded all the ports correctly. I am able to VPN home using my noip DDNS address, and connect to plex this way as well so I know the port forwarding and DDNS are working. Is there something I'm missing? I have ports 4040 and 4050 forwarded to the unraid machine, but in Madsonic I keep getting :

Status: Could not connect to https://mikedpitt420.ddns.net. (HttpHostConnectException)

When I try to enter my custom URL. What am I missing?

 

if your using a VPN then port forwarding on your router wont make any difference, if your connected via VPN then you should be trying to connect using your local ip address not the npip ddns address, so try https://<your internal unraid ip>:4050 once you have the tunnel up.

 

alternatively drop the vpn tunnel and try connecting to  https://mikedpitt420.ddns.net:4050 if that doesnt work then identify your current public ip and use that instead of your ddns address to rule that out being the issue.

 

needless to say this does all work, i have my libresonic server running with a port forward to the https port and can connect using dsub on my android phone, or the web interface.

Link to comment

Doesn't work with http either from outside my LAN :( Also, when I load the madsonic UI from within my LAN, it defaults to using https. I can connect to my VPN and use the local LAN IP, but I'd rather to be able to not drain my phone battery with an always on VPN. When I load the UI of this docker from my LAN, it loads in https. I did not specify any extra flags or anything. But is there something I can try to see if this docker, with all the proper ports forwarded, will allow remote access? I've tried my actual IP, my DDNS address, and neither work. I can access my VPN via my DDNS address, so I know that DDNS is working.

 

EDIT: I am now just getting a 404 not found, when using my DDNS address:4050. I can use my DDNS address to access plex via a forwarded port in this same fashion. I can accept the Self Signed Cert on my phone and connect to Plex using this certificate, but this docker will not allow remote connection no matter what I try. NMAP from another place shows ports 4050 and 4040 as both closed. They are definitely both properly forwarded to be able to be reaching this unRAID machine and this docker. I cannot reach it from outside my LAN with either http, or https.

Link to comment
  • 2 months later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.