Question

The Sonos app will not start in Windows 10 version 2004


Userlevel 1
Badge

The Sonos app will not start in Windows 10 version 2004. The banner appears and the Sonos.exe process is listed in TaskManager. I’m not sure but I don’t think it worked since installing Windows 2004. I uninstalled the app and then installed the new S1 Sonos app but it does the same thing. Other Windows 10 version 2004 computers are able to run the app. 


This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

39 replies

FWIW the desktop controller can only connect to an existing system. 

That certainly points to some issue specific to that one computer. I would delete the Sonos app completely, then reboot the computer, and download a fresh copy from Sonos.com. When you install, be sure to ‘connect to existing system’, and don’t create a new one. 

Make sure your network is set to private

https://www.catenalogic.com/products/zonos/set-network-private/

did the trick for me

Userlevel 5
Badge +16

Hello @Thomass,

Thank you for the update. I guess this isn’t the first time in history that uninstalling a Windows update fixed something. 

I usually wait at least a few weeks to upgrade any OS software I’m using so that other folks can work the bugs out, but I speak only for myself here. 

Userlevel 7
Badge +23

The Library service is shared between both versions (though it lives in the V2 directory), so I would suggest:

  1. uninstall both apps
  2. Reboot the PC
  3. Install S2 and see if that starts up at least

I don’t have 2004 on any of my machines yet. One only just got 1909 for some reason.

Or you could use a third-party app Darryl :-)

Badge

I am having the same issue since 2004.

I was using the S1 App but having upgraded I switched to the S2 App.  Both had the same issue on my windows PC.

I now have to use the iOS app.

I have checked firewall settings etc.  There is definitely an issue with Sonos and 2004 on some machines.

Userlevel 7
Badge +23

I just took the final update (...745) and both apps still work fine for me. Sonos need to debug this on someone’s machine that isn’t so happy.

Hi,

I am running Windows 10 Pro Version 2004. Initially there were no issue/errors using the Winodws Sonos Desktop Controller.

 

Not sure when the error started, the software will launch.. and it shows “searching for your sonos system” and shut down on its own. Yet to find a solution!

Badge

I had a recent .net update from microsoft but that does not change my problem.  I have done some further reading of the error log and I notice that in addition to the exception message on the image data I also get this failure message.

<ApplicationData>@Module:svcmanifest @Message:Failed to read service manifest file C:\ProgramData\SonosV2,_Inc\jffs/manifests/9-manifest_8.json. Read 370 out of 386 bytes


Looking at this json file and it is.

{
    "schemaVersion": "1.0",
    "endpoints": [{
        "type": "browse",
        "uri": "https://spotify-v5.ws.sonos.com/v1/browse"
    }],
    "presentationMap": {
        "uri": "https://sonos-pmap.ws.sonos.com/spotify_pmap.24.xml",
        "version": 29
    },
    "strings": {
        "uri": "https://spotify-static.ws.sonos.com/strings.27.xml",
        "version": 29
    },
    "accountTiers": [ "free", "paidPremium" ]
}

Userlevel 2

I have just updated to Windows 10, version 2004 and am having the same problem as OP. Have uninstalled S1 rebooted and re-installed to no avail. Due to my products not being compatible with S2 this is not an option. Any ideas?

Userlevel 7
Badge +23

The manifest failure is unrelated to your problem. If you have trouble browsing Spotify then you can blame the manifest. However it could indicate a more general networking problem I guess.

Userlevel 7
Badge +23

My PCs have finally got Windows 2004 and have no issues with the Sonos apps.

Userlevel 7
Badge +23

That callstack is very interesting, it is crashing trying to load the icon on one of your music services, while it is building the Search popup menu. Reproducing this might not depend on the .NET version at all, it probably depends on which music services you are subscribed to.

So, can you remember which music services you are subscribed to? Run my app (see profile) if you need to refresh your memory (though mine might crash also as it reads those same icons for the same reason).

Badge

The network is set to private.

The app starts and shows the screen and what is currently playing (I have to use my iPhone to play anything on Sonos) and then it dies.

Badge

Using the iOS app I can see the following services

Amazon Music
Bandcamp
SoundCloud
Spotify

Sonos Radio

TuneIn


Nothing unusual.

The network is set to private.

The app starts and shows the screen and what is currently playing (I have to use my iPhone to play anything on Sonos) and then it dies.

Oh - that was not my problem. I installed S1 on a newly setup Win 10 - 2004 computer and it said it was connected to my system, but then it failed. My network was set to public. Changing it on one pc fixed it on another one too! Have used my Pixel to mange Sonos until now.

Userlevel 2

Thanks for your response Jean, all of these settings were correct but the problem persisted. I have resorted to uninstalling the Windows Update and the controller works fine. Hopefully future updates from Microsoft will not replicate the issue.

Userlevel 7
Badge +23

Might be a corrupt bitmap in your cache I guess - delete the contents of C:\ProgramData\Sonos,_Inc\cache

Badge

Thanks for the suggestion tried this.  Unfortunately no change.

Name="Sonos" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="Sonos" ProcessID="20976" ThreadID="3" /><Channel/><Computer>TIM-HP</Computer></System><ApplicationData><TraceData><DataItem>Unhandled exception caught at the dispatcher. Dispatcher:</DataItem><DataItem>System.OverflowException: The image data generated an overflow during processing. ---&gt; System.ArithmeticException: Overflow or underflow in the arithmetic operation.&#xD;&#xA;   --- End of inner exception stack trace ---&#xD;&#xA;   at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()&#xD;&#xA;   at System.Windows.Media.Imaging.ColorConvertedBitmap..ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)&#xD;&#xA;   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()&#xD;&#xA;   at System.Windows.Media.Imaging.BitmapImage.EndInit()&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.ViewModel.Artwork.ArtworkDataEventSink.GenerateEventArgs(SCIArtworkData sender)&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.EventWrapper`2.OnEvent(TSender sender)&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.EventSink`1.dispatchEvent(SCIObj pSender, String sEventID)&#xD;&#xA;   at Sonos.SCLib.Interop.SCIEventSinkSwigBase.SwigDirectordispatchEvent(IntPtr pSender, String sEventID)&#xD;&#xA;   at Sonos.SCLib.Interop.sclibPINVOKE.SCILibrary_SCLibUIThreadCallback(HandleRef jarg1)&#xD;&#xA;   at Sonos.SCLib.Interop.SCILibrary.SCLibUIThreadCallback()&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.LibraryManager.&lt;CallUIThread&gt;b__c()&#xD;&#xA;   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&#xD;&#xA;   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</DataItem></TraceData></ApplicationData></E2ETraceEvent><E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"><System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>0</EventID><Type>3</Type><SubType Name="Critical">0</SubType><Level>1</Level><TimeCreated SystemTime="2020-08-18T13:07:34.4166252Z" /><Source Name="Sonos" /><Correlation

Badge

I wonder what changed in 2004 to create this issue.

Also mine crashes as it is trying to populate the app window with data.  But which image is causing this or is it all images on my device?

This is something SONOS needs to debug and solve.


Check Windows Update, do you have any .NET Framework updates pending? I do right now actually.

I’m not saying this fixes it, but a bug in .NET introduced in 2004 could cause this.


I am cautiously optimistic that @Tim E may be right. My laptop received the above update on the weekend. I have now installed Sonos S2 (again) and reproduced steps (such as log out and log in again; try start S2) that would have had it hang upon startup of the app. This time round, it has not hung!

Badge

The Library service is shared between both versions (though it lives in the V2 directory), so I would suggest:

  1. uninstall both apps
  2. Reboot the PC
  3. Install S2 and see if that starts up at least

I don’t have 2004 on any of my machines yet. One only just got 1909 for some reason.

Or you could use a third-party app Darryl :-)


I can confirm that the above recipe resolves the issue at hand. I run Windows 10 2004. I used to have Sonos S1 app and added S2 before the upgrade to Windows 10 2004.

Some time ago, I uninstalled S1 and wondered whether there might be fall-out. There has been. S2 has refused to start. Repairing the S2 installation has not helped. Finally, I have uninstalled S2, rebooted my laptop, installed S2 (installer SonosDesktopController1203). I have checked the Windows Firewall for presence of Sonos and Sonos library executables allowed on the private network (my home network). All good.

Now, peace and decorum have been restored. Sonos S2 launches again in my Windows 10 2004.

 

Update: I am afraid, the above solution that I have commented on only works the first time after fresh installation. Upon further start attempts, Sonos S2 only pops the start banner and gets no further.

 

Sonos, please, fix. Windows 10 2004 does not like S2.


It appears that this Windows Update solves the above issue:

Sonos, you are off the hook. :-)

Badge

Unfortunately it isn’t working for me - I still get the same arithmetic overflow processing image data.

 

Userlevel 3
Badge +3

Just to add +1 to this - I updated to v2004 Windows (which is, after all, a feature update so gets forced out to all W10 PCs) and the Sonos S1 application now won’t work. I added the reg keys for TLS1.1 and still had no luck. 

 

I did however download the latest Sonos S1 application (v1122) and it appears to work. 

Badge

The Library service is shared between both versions (though it lives in the V2 directory), so I would suggest:

  1. uninstall both apps
  2. Reboot the PC
  3. Install S2 and see if that starts up at least

I don’t have 2004 on any of my machines yet. One only just got 1909 for some reason.

Or you could use a third-party app Darryl :-)


I can confirm that the above recipe resolves the issue at hand. I run Windows 10 2004. I used to have Sonos S1 app and added S2 before the upgrade to Windows 10 2004.

Some time ago, I uninstalled S1 and wondered whether there might be fall-out. There has been. S2 has refused to start. Repairing the S2 installation has not helped. Finally, I have uninstalled S2, rebooted my laptop, installed S2 (installer SonosDesktopController1203). I have checked the Windows Firewall for presence of Sonos and Sonos library executables allowed on the private network (my home network). All good.

Now, peace and decorum have been restored. Sonos S2 launches again in my Windows 10 2004.

Badge

Thanks for the suggestion tried this.  Unfortunately no change.

Name="Sonos" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="Sonos" ProcessID="20976" ThreadID="3" /><Channel/><Computer>TIM-HP</Computer></System><ApplicationData><TraceData><DataItem>Unhandled exception caught at the dispatcher. Dispatcher:</DataItem><DataItem>System.OverflowException: The image data generated an overflow during processing. ---&gt; System.ArithmeticException: Overflow or underflow in the arithmetic operation.&#xD;&#xA;   --- End of inner exception stack trace ---&#xD;&#xA;   at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()&#xD;&#xA;   at System.Windows.Media.Imaging.ColorConvertedBitmap..ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)&#xD;&#xA;   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()&#xD;&#xA;   at System.Windows.Media.Imaging.BitmapImage.EndInit()&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.ViewModel.Artwork.ArtworkDataEventSink.GenerateEventArgs(SCIArtworkData sender)&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.EventWrapper`2.OnEvent(TSender sender)&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.EventSink`1.dispatchEvent(SCIObj pSender, String sEventID)&#xD;&#xA;   at Sonos.SCLib.Interop.SCIEventSinkSwigBase.SwigDirectordispatchEvent(IntPtr pSender, String sEventID)&#xD;&#xA;   at Sonos.SCLib.Interop.sclibPINVOKE.SCILibrary_SCLibUIThreadCallback(HandleRef jarg1)&#xD;&#xA;   at Sonos.SCLib.Interop.SCILibrary.SCLibUIThreadCallback()&#xD;&#xA;   at Sonos.Controller.Desktop.SCLib.LibraryManager.&lt;CallUIThread&gt;b__c()&#xD;&#xA;   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&#xD;&#xA;   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</DataItem></TraceData></ApplicationData></E2ETraceEvent><E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"><System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>0</EventID><Type>3</Type><SubType Name="Critical">0</SubType><Level>1</Level><TimeCreated SystemTime="2020-08-18T13:07:34.4166252Z" /><Source Name="Sonos" /><Correlation


I may have stumbled upon the solution. While searching the Windows System Event logs for anything related to Sonos, I noticed a lot of SCHANNEL errors that mentioned TLS credential failure. So, I went off to check the registry for SCHANNEL protocol settings. Here, I bolstered things a bit, as is recommended practice. However, there was a bit of twist.

First, I explicitly opened TLS 1.1 by adding some registry DWORDS.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client

 

For TLS 1.2, I configured the following:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client

 

Originally, for TLS 1.1, I had Enabled=0x00000001. However, upon rebooting my machine (for these protocols to take effect), my Sonos agains stalled at startup of the app. Bloody hell. BTW, I unstalled it, deleted the cache folder and reinstalled. No joy.

Then I recalled that Windows 10 had started blocking TLS 1.1 and older from about end of March 2020 - exactly when 2004 began its roll-out. So, I blocked TLS 1.1 (as shown in the above snippet) and rebooted. What do you know! Sonos resumed working again.

TLS = Transport Layer Security, and 1.2 is the latest broadly adopted version of the protocol (there is a 1.3 version, but .NET 4.8 in Windows 10 2004 and apps have not broadly adopted it yet). All internet comms over HTTP/1.1 and HTTP/2 do encryption of secure network data transfer using TLS protocols 1.0, 1.1, or 1.2, with the help of compatible encryption cypher suites. Sonos, too. I suspect, if TLS 1.1 is left open, Sonos tries it and somewhere in the Windows layers it gets wacked. Block TLS 1.1, and Sonos uses 1.2, which glides through. At least, that is my impression based on my observations.

I’ll keep an eye on my Sonos app following further reboots of my OS, since in the past Sonos S2 would work initially, then stop working after a reboot or two.

BTW, the SCHANNEL error events still appear in my Windows Event log, so they per sé are not connected to the above Sonos issue and my resolution. But their presence have led me onto the above TLS experiment and outcomes.