Just downloaded and reinstalled EndeavourOS yesterday
Everything was fine until I hit a roadblock with Spotify-Launcher failing to execute spotify.
I ignored it and installed Spotify AUR, though the issue kept nagging me, partly because Spotify AUR has been unreliable in the past. So I tried spotify-launcher again, found out that you can run it from the CLI with -v flag, and in doing so I found out that the download from the server kept failing. Sometimes at 96%, sometimes at 1%, here is the output of the error.
If you visit their website and try to download the .deb with firefox the same issue happens: https://repository-origin.spotify.com/pool/non-free/s/spotify-client/
It’s the 18.104.22.1681 .deb that is the issue
So my workaround to get the .deb was to use wget, wget will automatically retry a failed download and just fetch the missing bytes.
Ultimately the sure workaround for me was to restore ~/.local/share/spotify-launcher from a backup from 3 days ago and I am now happily streaming.
As for this error message, I’ve seen something like this before, some issue with HTTP 1.0 prematurely closing a stream. I ended up resolving the issue by forcing HTTP 2.0 protocol, not sure if this is the case for spotify deb repo server.
Not sure how to proceed, who do I report this bug to? Is this even a bug or is it just me? how do I rule myself out? anybody else having issues?