Madsonic in Docker reports wrong IP to Sonos

Post your Server Bug Report

Madsonic in Docker reports wrong IP to Sonos

Unread postby Brady » 16 Aug 2017, 17:20

Sonos does not work when running Madsonic in a docker container because it sends the internal Docker IP in place of the actual IP that would be used to connect to the Madsonic web interface.

Take this example... The docker host is at and I access Madsonic by going to because the 4040 port is forwarded to the docker container.

When turning on Sonos in Madsonic, I see the following in the logs...

Code: Select all
[8/16/17 12:14 PM]   INFO   SonosServiceRegistration   Enabling Sonos music service, using Sonos controller IP, SID 244, presentationMap 15, stringVersion 8, and Madsonic URL is the IP that Docker assigns to Madsonic. Sonos should actually target

I know that the Docker really doesn't know the host IP... so what I would like to see is a way to override this IP in the file.

This was tested on 6.3.9540.3e2ad42.20170703.120 (the latest on the docker betas)
Posts: 1
Joined: 16 Aug 2017, 17:11
Has thanked: 0 time
Been thanked: 1 time

Re: Madsonic in Docker reports wrong IP to Sonos

Unread postby Madevil » 17 Aug 2017, 02:34

We will examine and test this option in an upcoming release.

best regards,
The Madsonic Team
User avatar
Posts: 942
Joined: 07 Dec 2012, 03:58
Has thanked: 1339 times
Been thanked: 964 times

Return to Bug Reports 6.x

Who is online

Users browsing this forum: No registered users and 1 guest