Your device and operating system: XPS 13 9350 with Debian 9
Type of Spotify account you have (Free/ Premium): Premium
The app version of Spotify you’re using: 1.0.69 // 1.0.70 (both I tried).
Brief description of the issue: I recently installed Debian 9 on my laptop coming from a Fedora that gave me a lot of problems recently, including one where spotify did work sometimes but when not, said that there was no internet conection and gave me a error code: 4 (Internet worked well).
I installed debian 9 and the first time gave me the same error but then started working ok. Until today that there was no way to get it working again. I tried to delete the spotify cache but I ended deleting by mistake all the content from the file /.cache/spotify/ so after a restart, spotify was just trying to load but didn't load anything, the wheel of loading appeared for ever. Tried to reinstall with purge spotify-client and install spotify-client. This time I could introduce my username and password but I got loading screen again. I tried to install deb files from http://repository.spotify.com/pool/non-free/s/spotify-client/ but with both I had same results. There's no way to get it working. I tried restarting the computer a few times between installations.
Steps to reproduce the issue:
Delete entire content of folder .cache/spotify
Infinite loading screen
6. Attach the spotify-dump.txt ( $HOME/spotify-dump.txt ) from Advanced troubleshooting 4.
P.D: I went home and it seems it started working again. In college it appeared again the same error. (Error code 4). In my home works fine. Doesn't know what's happenning.