janbar / noson-app

The essential to control music from your SONOS devices on Linux platforms
GNU General Public License v3.0
340 stars 28 forks source link

No Sonos Zone Found (after updates) #74

Open CajunDust opened 5 years ago

CajunDust commented 5 years ago

Hello, Up until recently the noson-app worked fine (linux Ubuntu 18.04.2 LTS - Budgie gnome 3.28.2 ), but i presume after an update, the noson (and also unofficial sonos appl) does not want to find the zones anymore. I have 3 sonos products:

I can provide a full dump of the debug log when starting noson-app.

When I start the CLI now, I can see a following output: noson-app --cli

Searching... (SONOS)ParseZoneGroupState: invalid or not supported content
(SONOS)<ZoneGroupState>
    <ZoneGroups>`
        <ZoneGroup Coordinator="RINCON_347E5C93C4D101400" ID="RINCON_347E5C93C4D101400:2051233283">
            <ZoneGroupMember UUID="RINCON_347E5C93C4D101400" Location="http://192.168.0.124:1400/xml/device_description.xml" ZoneName="TV Salon" Icon="x-rincon-roomicon:family" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="9" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CAB658E601400" ID="RINCON_7828CAB658E601400:2927473283">
            <ZoneGroupMember UUID="RINCON_7828CAB658E601400" Location="http://192.168.0.252:1400/xml/device_description.xml" ZoneName="Kantoor" Icon="x-rincon-roomicon:office" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="18" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="0" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CA0C38E001400" ID="RINCON_7828CA0C38E001400:287737260">
            <ZoneGroupMember UUID="RINCON_7828CA0C38E001400" Location="http://192.168.0.102:1400/xml/device_description.xml" ZoneName="Woonkamer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="24" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
    </ZoneGroups>
    <VanishedDevices/>
</ZoneGroupState>
Succeeded

So the first thing I see is the notification " (SONOS)ParseZoneGroupState: invalid or not supported content" Maybe the content/API has changed ?

Also when starting the application with noson-app --debug 2>&1 | tee noson.log and checking the output, at a certain point I see the same parse problem message

(SONOS)GetResponse: HTTP/1.1 200 OK
(SONOS)GetResponse: SID: uuid:RINCON_347E5C93C4D101400_sub0000000168
(SONOS)GetResponse: TIMEOUT: Second-300
(SONOS)GetResponse: Server: Linux UPnP/1.0 Sonos/50.1-63230 (ZPS14)
(SONOS)GetResponse: Connection: close
(SONOS)GetResponse: 
(SONOS)Process: accepting new connection
(SONOS)ParseQuery: NOTIFY / HTTP/1.1
(SONOS)ParseQuery: HOST: 192.168.0.215:1400
(SONOS)ParseQuery: CONNECTION: close
(SONOS)ParseQuery: CONTENT-TYPE: text/xml
(SONOS)ParseQuery: CONTENT-LENGTH: 6643
(SONOS)ParseQuery: NT: upnp:event
(SONOS)ParseQuery: NTS: upnp:propchange
(SONOS)ParseQuery: SID: uuid:RINCON_347E5C93C4D101400_sub0000000168
(SONOS)ParseQuery: SEQ: 0
(SONOS)ParseQuery: 
(SONOS)Process: ZoneGroupState =<ZoneGroupState><ZoneGroups><ZoneGroup Coordinator="RINCON_347E5C93C4D101400" ID="RINCON_347E5C93C4D101400:2051233283"><ZoneGroupMember UUID="RINCON_347E5C93C4D101400" Location="http://192.168.0.124:1400/xml/device_description.xml" ZoneName="TV Salon" Icon="x-rincon-roomicon:family" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="9" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/></ZoneGroup><ZoneGroup Coordinator="RINCON_7828CAB658E601400" ID="RINCON_7828CAB658E601400:2927473283"><ZoneGroupMember UUID="RINCON_7828CAB658E601400" Location="http://192.168.0.252:1400/xml/device_description.xml" ZoneName="Kantoor" Icon="x-rincon-roomicon:office" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="18" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="0" MoreInfo=""/></ZoneGroup><ZoneGroup Coordinator="RINCON_7828CA0C38E001400" ID="RINCON_7828CA0C38E001400:287737260"><ZoneGroupMember UUID="RINCON_7828CA0C38E001400" Location="http://192.168.0.102:1400/xml/device_description.xml" ZoneName="Woonkamer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="24" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/></ZoneGroup></ZoneGroups><VanishedDevices></VanishedDevices></ZoneGroupState>
....
(SONOS)Process: ThirdPartyMediaServersX =
....
(SONOS)Process: AvailableSoftwareUpdate = <UpdateItem xmlns="urn:schemas-rinconnetworks-com:update-1-0" Type="Software" Version="50.1-63230" UpdateURL="http://update-firmware.sonos.com/firmware/Dev/50.1-63230-v10.2-fkolfu-Beta-1/^50.1-63230" DownloadSize="0" ManifestURL="http://update-firmware.sonos.com/firmware/Dev/50.1-63230-v10.2-fkolfu-Beta-1/update_1553520432.upm"/>
(SONOS)Process: AlarmRunSequence = RINCON_347E5C93C4D101400:9:0
(SONOS)Process: ZoneGroupName = TV Salon
(SONOS)Process: ZoneGroupID = RINCON_347E5C93C4D101400:2051233283
(SONOS)Process: ZonePlayerUUIDsInGroup = RINCON_347E5C93C4D101400
(SONOS)Process: MuseHouseholdId = Sonos_EiDjKge9x9mWqsXowSnEUPXwF0.8KGJD2RlhrcCqnylQmN6
(SONOS)Process: AreasUpdateID = 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
(SONOS)Process: SourceAreasUpdateID = (null)
(SONOS)HandleEventMessage: uuid:RINCON_347E5C93C4D101400_sub0000000168 SEQ=0 PROPERTY
(SONOS)ParseZoneGroupState: invalid or not supported content
(SONOS)<ZoneGroupState>
    <ZoneGroups>
        <ZoneGroup Coordinator="RINCON_347E5C93C4D101400" ID="RINCON_347E5C93C4D101400:2051233283">
            <ZoneGroupMember UUID="RINCON_347E5C93C4D101400" Location="http://192.168.0.124:1400/xml/device_description.xml" ZoneName="TV Salon" Icon="x-rincon-roomicon:family" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="9" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CAB658E601400" ID="RINCON_7828CAB658E601400:2927473283">
            <ZoneGroupMember UUID="RINCON_7828CAB658E601400" Location="http://192.168.0.252:1400/xml/device_description.xml" ZoneName="Kantoor" Icon="x-rincon-roomicon:office" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="18" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="0" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CA0C38E001400" ID="RINCON_7828CA0C38E001400:287737260">
            <ZoneGroupMember UUID="RINCON_7828CA0C38E001400" Location="http://192.168.0.102:1400/xml/device_description.xml" ZoneName="Woonkamer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="24" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
    </ZoneGroups>
    <VanishedDevices/>
</ZoneGroupState>
....

Also here is a warning that displays "ParseZoneGroupState: invalid or not supported content"

janbar commented 5 years ago

Thanks for reporting the issue. I will check it soon with the given build "version 10.2 (build 50163230)".

janbar commented 5 years ago

Confirmed. I released the new version 3.11.4 to support this API change. Can you confirm the fix works for you ?

CajunDust commented 5 years ago

Hello @janbar Can you provide a (ubuntu) release package ? Because trying to build it myself resulted in an unresolved dependency (QT5)

As I am not familiar with build/develop and CMake, I was not able to resolve this...

-- Build noson: /opt/PROGRAMS/sonos/noson-app/noson-app/build/backend/lib/noson/noson
CMake Error at backend/NosonApp/CMakeLists.txt:5 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!
sandsmark commented 5 years ago

I can confirm that it is fixed (at least with latest git master).

so you can close this, unless you want to keep it open for others to see it for now and not open new ones (maybe put a "fixed" in the title).

bigchrisrogers commented 5 years ago

Worked for too.

CajunDust commented 5 years ago

Hello @janbar Can you provide a (ubuntu) release package ? Because trying to build it myself resulted in an unresolved dependency (QT5)

As I am not familiar with build/develop and CMake, I was not able to resolve this...

-- Build noson: /opt/PROGRAMS/sonos/noson-app/noson-app/build/backend/lib/noson/noson
CMake Error at backend/NosonApp/CMakeLists.txt:5 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!

Figured it out myself.... install extra lib dependencies : qtbase5-dev , qtquickcontrols2-5-dev, qtdeclarative5-dev, libqt5svg5-dev (the qt5core alone is not enough...) also had to install the modules qml-module-qt-labs-settings, qml-module-qtquick-controls2, qml-module-qtqml-models2 ...

janbar commented 5 years ago

@CajunDust , to compile full features it requires dependencies explained in the file "debian/control".

svirpridon commented 5 years ago

3.11.4 doesn't seem to work with my sonos (7 speakers), version 10.1 (build 49263270). The debug logs almost look like it filled a too-small buffer and then failed to parse it?

(SONOS)ParseZoneGroupState: invalid or not supported content
(SONOS)<ZoneGroupState>
    <ZoneGroups>
        <ZoneGroup Coordinator="RINCON_B8E937BF9C7E01400" ID="RINCON_B8E937BF9C7E01400:115">
            <ZoneGroupMember UUID="RINCON_B8E937BF9C7E01400" Location="http://10.0.0.187:1400/xml/device_description.xml" ZoneName="Kids Room" Icon="x-rincon-roomicon:masterbedroom" Configuration="1" SoftwareVersion="49.2-63270" MinCompatibleVersion="48.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="93" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="0" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_B8E9377D0D3C01400" ID="RINCON_B8E9377D0D3C01400:222">
            <ZoneGroupMember UUID="RINCON_B8E9377D0D3C01400" Location="http://10.0.0.238:1400/xml/device_description.xml" ZoneName="Living Room" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="49.2-63270" MinCompatibleVersion="48.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="112" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="0" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_B8E937DA034801400" ID="RINCON_B8E937DA034801400:120">
            <ZoneGroupMember UUID="RINCON_B8E937DA034801400" Location="http://10.0.0.139:1400/xml/device_description.xml" ZoneName="Kitchen" Icon="x-rincon-roomicon:kitchen" Configuration="1" SoftwareVersion="49.2-63270" MinCompatibleVersion="48.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="107" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="3" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="0" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_B8E937DA036A01400" ID="RINCON_B8E937DA036A01400:102">
            <ZoneGroupMember UUID="RINCON_B8E937DA036A01400" Location="http://10.0.0.134:1400/xml/device_description.xml" ZoneName="Dining Room" Icon="x-rincon-roomicon:dining" Configuration="1" SoftwareVersion="49.2-63270" MinCompatibleVersion="48.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="282" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="0" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_347E5C10BFD401400" ID="RINCON_347E5C10BFD401400:1322529683">
            <ZoneGroupMember UUID="RINCON_347E5C10BFD401400" Location="http://10.0.0.127:1400/xml/device_description.xml" ZoneName="Master Bedroom" Icon="x-rincon-roomicon:masterbedroom" Configuration="1" SoftwareVersion="49.2-63270" MinCompatibleVersion="48.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="7" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="0" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="0" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_347E5C10BFC201400" ID="RINCON_347E5C10BFC201400:1351601422">
            <ZoneGroupMember UUID="RINCON_347E5C10BFC201400" Location="http://10.0.0.109:1400/xml/device_description.xml" ZoneName="Family Room" Icon="x-rincon-roomicon:family" Configuration="1" SoftwareVersion="49.2-63270" MinCompatibleVersion="48.0-00000" LegacyCompatibleVersion=(SONOS)loadModel: 0x558064da8180 ()
janbar commented 5 years ago

@svirpridon , are you sure to have upgraded the app to the latest ? Your posted log seems to be printed with a previous version of libnoson. Can you check the version of the binary by going to the screen "About". There you should see the versions as follow:

Version: 3.11.4 (libnoson 1.12.4)

svirpridon commented 5 years ago

Yep, looks like the ubuntu repos are out of date and not updating (even with 19.04). I flipped to the snap and it is working.

ehoitinga commented 4 years ago

Hi,

I have the same issue. Only it started, as far a I know when updating to version 3.15.2. The Sonos app on IOS works fine. The version of my Sonos app and devices is 10.5 build 53270100. I installed Noson with:

    1. sudo add-apt-repository ppa:jlbarriere68/noson-app
    2. sudo apt-get update
    3. sudo apt-get install noson-app

When I start the CLI, I see the following output:

erik@laptop-erik:~$ noson-app --cli
Noson CLI using libnoson 1.16.2, Copyright (C) 2018 Jean-Luc Barriere
Searching... No SONOS zone found.
erik@laptop-erik:~$

When I start noson in debug mode, I see the following:

erik@laptop-erik:~$ noson-app --debug 2>&1 | tee noson.log
qt5ct: using qt5ct plugin
Signal handler is enabled.
"using file ':/i18n/noson_en.qm ' for translations."
thumbnailer: register API [LASTFM]
thumbnailer: register API [DEEZER]
installing thumbnails cache in folder "/home/erik/.local/share/janbar/io.github.janbar.noson/QML/OfflineStorage"
thumbnailer is initialized
(SONOS)Process: bind port 1400
qml: LANG=en_GB
thumbnailer: configure API [DEEZER]
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)ReceiveData: socket(0x7f1497ffeb98) timed out
(SONOS)unregisterModel: 0x556a2b2ca260 ()
(SONOS)unregisterModel: 0x556a2b6629f0 (Q:0)
(SONOS)unregisterModel: 0x556a2b45a7e0 ()
(SONOS)unregisterModel: 0x556a2b4581d0 (FV:2)
(SONOS)unregisterModel: 0x556a2b459b30 ()
(SONOS)unregisterModel: 0x556a2b43c3b0 (SQ:)
(SONOS)unregisterModel: 0x556a2b458e80 ()
(SONOS)Stop: event handler thread (0x556a2b345950)
(SONOS)__connectAddr: connected to socket(0x556a2b7667c8)
(SONOS)Process: accepting new connection
(SONOS)SendRequest: HEAD / HTTP/1.1
Host: 127.0.0.1:1400
User-Agent: libnoson/1.16.2
Connection: close
Accept-Charset: utf-8
Accept-Encoding: gzip, deflate

(SONOS)AnnounceStatus: (0x556a2b345950) STOPPED
(SONOS)ParseQuery: HEAD / HTTP/1.1
(SONOS)ParseQuery: Host: 127.0.0.1:1400
(SONOS)ParseQuery: User-Agent: libnoson/1.16.2
(SONOS)ParseQuery: Connection: close
(SONOS)ParseQuery: Accept-Charset: utf-8
(SONOS)ParseQuery: Accept-Encoding: gzip, deflate
(SONOS)ParseQuery: 
(SONOS)GetResponse: HTTP/1.1 200 OK
(SONOS)GetResponse: Server: libnoson/1.16.2
(SONOS)GetResponse: Connection: close
(SONOS)GetResponse: Content-Type: text/html
(SONOS)GetResponse: 
(SONOS)Stop: event handler thread (0x556a2b345950) stopped
(SONOS)UnregisterAllRequestBroker: unregister ([main-page])
(SONOS)UnregisterAllRequestBroker: unregister ([upnp-notification-broker])
(SONOS)UnregisterAllRequestBroker: unregister (images)
(SONOS)UnregisterAllRequestBroker: unregister (pulse)
(SONOS)UnregisterAllRequestBroker: unregister (track)
(SONOS)Stop: subscription thread (0x556a2b3454f8:1)
(SONOS)Stop: subscription thread (0x556a2b3454f8:1) stopped
Signal handler is destroyed.
erik@laptop-erik:~$
janbar commented 4 years ago

@ehoitinga , make sure you have deactivated any firewall and your Sonos device is on the same network as your first network card (the first network card is where you have configured the default route). If you have enabled firewall on the host the port range used by noson to communicate with Sonos devices can be blocked. Also the discovery uses the default broadcast address which is routed to the first network card (I am thinking to find a workaround for that, but even the official Sonos app uses that, and using subnet broadcast isn't supported by Sonos devices).

ehoitinga commented 4 years ago

@janbar I am so sorry. I am on Linux Mint 19.2 and I do not use the firewall when I am connected to my home network. The home profile in the firewall accepts traffic in both ways. I thought it was set and forget but apparently after an update I think my firewall profile has been set to public which blocks incoming connections.

Sorry, I had to look at this first before making my post.