Spotify Connection Terminated

error: Failed to install com.spotify.Client: While downloading http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.26.501.gbe11e53b-15_amd64.deb: Connection terminated unexpectedly

I got this error while trying to install Spotify. I got the same error while trying to install it through the Software Store. Any help?

Well deb files aren’t going to work for you, at all. There’s no way to install them.

I suggest using the flathub version. If there are any download errors, try again, they may have a service issue at flathub.org and best to tell them

flatpak install flathub com.spotify.Client

Use the flatpak like @ahkok has suggested, it works very well. I updated about 30 minutes ago without any error, it may just was a temporary problem.