Announcements

Help Wizard

Step 1

NEXT STEP

Proxy and "no Internet connection detected"? Read this

Proxy and "no Internet connection detected"? Read this

Hi all,

 

Concerned people (but maybe more): enjoying your Internet through a proxy you're able to install Spotify app, configure the proxy, and play music. Restarting the app or the computer leads to an offline error/No Internet connection detected

 

Solution in my case: the only working solution for me is the deletion of the file "index.dat" in the Spotify folder hence I wrote a script to do it and want to share it

 

The script:

If you installed Spotify the regular way under your own user you should not face any issue but see the next section if you do

 

1\ open the notepad application and past the below content

@echo off
ECHO ## Kill Spotify ##
taskkill /IM Spotify.exe /F
TIMEOUT /T 3 /NOBREAK >NUL
ECHO ## Delete index.dat ##
del "%LOCALAPPDATA%\Spotify\Storage\index.dat"
ECHO ## Restart spotify ##
START "" "%APPDATA%\Spotify\Spotify.exe"
ECHO ## ENJOY ##
TIMEOUT /T 3 /NOBREAK

 

2\Save the file wherever you want with a cmd extension

Example: save as "SpotifyFIX.cmd" on your desktop

 

Troubleshooting:

the script assumes the default installation hence the default paths used byt the application. If the script failed the most likely error should be the paths in

 these lines:

del "%LOCALAPPDATA%\Spotify\Storage\index.dat"

START "" "%APPDATA%\Spotify\Spotify.exe"

 

Correct them by searching the correct path if needed

 

 

I hope the Spotify team will fix this issue but in the meanwhile the workaround may do the trick

Reply
1 Reply

This also worked for me. I wonder if it has something to do with a Windows Update of some sort as it replicated across two of my Windows machines, but wasn't occurring on my Mac.

 

For reference, since I have the Windows app installed, I found it here:

%LocalAppData%\Packages\SpotifyAB.SpotifyMusic_zpdnekdrzrea0\LocalState\Spotify\Storage

 

Your directory name will be slightly different.

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random