Firewall Blocking Spotify Error Code auth:16

Plan

Free/Premium

Country

United States

Device

MacBook Pro, Mid 2012

Operating System

macOS Mojave

 

My Question or Issue

As I've seen many people posting about here, I too seem to have fallen to the "firewall may be blocking Spotify" problem that many others are having.

 

I started off by deleting the app, clearing all cache and other Spotify files in Library, restarted, then tried to do a fresh install from Spotify's website. From there, I continuously got a "Download Failed" followed by an "Installation Failed" message. After searching through the forums, someone else posted a .dmg file that could be downloaded, and that at least worked to get the app reinstalled.

 

From the fresh install, I got the same firewall auth:16 message again. I then tried changing the Firewall settings to no avail, tried changing the "host" file to no avail. I have restarted and reinstalled at least six times.

 

Anybody from Spotify actually going to help us out with this? I have been a Premium member for years and this is making me want to cancel because you clearly don't care about customer service. 

 

Child Item
Child Item
Child Item

Accepted answers

Hey Mac users,

For anyone encountering this issue, please make sure you've gone through all the steps below.
When posting a reply, let us know what you've already tried out.

 

Click on each section to expand it.

 

 

We'd recommend starting off by clearing your hosts files with these steps:

  1. Open Finder and, in Finder’s menu bar, select Go > Go to Folder. In the box, type the following location: /private/etc/hosts and press return
  2. A new Finder window will open and your Mac’s hosts file will be selected. Click and drag it out of the Finder window and drop it on your desktop
  3. To open it, simply double-click and it will display the file’s contents in TextEdit 
  4. Check for any entries with Spotify in the address
  5. If you do find any lines with Spotify, please remove them
  6. Save your changes and restart Spotify

 

 

  1. Click in the top-right and select Settings.
  2. Scroll down and click SHOW ADVANCED SETTINGS.
  3. Scroll down to Offline songs storage to see where your cache is stored.
    Tip: Click CHANGE LOCATION to store your cache somewhere else.
  4. Go to that folder on your computer.
  5. Select and delete all the files in that folder.

 

 

If you're still having issues, try these steps.

  1. Quit Spotify.
  2. Open Finder.
  3. Click Go in the menu at the top, then hold the Option / Alt key ⌥ and select Library.
  4. Open Caches and delete the com.spotify.client and com.spotify.client.helper folders.
  5. Click the back arrow.
  6. Open Application Support and delete the Spotify folder.
  7. Restart your device.
  8. Download and install Spotify.

 

 

  1. Go to the 'update proxy' settings
  2. Choose 'No Proxy' from the dropdown in the top right corner
  3. Click 'Update Proxy' on the left, otherwise your change will not be saved!
  4. Click 'Back To Login'
  5. Restart the app

 

 

  1. Open Terminal.app.
  2. Enter one of the following commands:
    a.) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
    b.) sudo killall -HUP mDNSResponder


Many thanks! 🙂 

All comments

Hey @bthrane,

 

Thanks for your reply in this thread 🙂
 

Just to confirm, did you already try the steps recommended by @rukletsov? This could work for you as well.


On another note, did you use a VPN? Keep in mind Spotify doesn't officially support VPN. This means that issues with the app while using a VPN are expected behavior.


Lastly, you might need to check for any local settings on your device that could be blocking the app. In case there's an antivirus software or such that could be restricting access to the app, try whitelisting Spotify. 
 

 We'll keep an eye on your response!

I have a 2016 macbook pro, running Monterey, Nothing in the hosts file, reinstalled the app, tried to set "no proxy" in the app, no proxy needed in my network, tested at work and at home, firewall disabled and no antivirus client installed.
still red box with the firewall blocking, auth 16.
what do i do?

I think it's time for the Spotify eng team to improve on error messages. Error code 'auth: 16' makes me think that more is known about the underlying problem but this information is not exposed. Showing magic numbers to end users is a questionable practice anyway.

Hey @ulven_,

 

Thanks for your reply in this thread and for the info 🙂
 

In this case, just to confirm, are you using any kind of ad-blocker app? If yes, keep in mind it’s worth disabling it, since it could be causing this inconvenience.

 

Keep us in the loop and don't hesitate to get back to us if you have any other questions.
 

Cheers!

For mac users check the setting of host based firewall app such as hands off or little snitch and ensure that your connections for SPOTIFY  are all ALLOWED 

Edit (SOLVED): I connected to a different wifi network and for some reason I'm able to log in again. The problem may be related to my ISP. Highly recommend you try this step if you have a similar issue - have never seen auth 16 or any error really after 6+ years of Spotify so this is definitely a rare thing.

 

Hi AlejaR / Spotify Mods,

 

I'm now experiencing the auth16 error on my MacBook Pro (16-inch, 2019), macOS Monterey: 12.3.1.

 

This is a newer issue, but I can't recall any changes I might have made locally that would have resulted in this.

 

In terms of steps, I've tried the following:

  1. Set Spotify proxy settings to "No proxy"
  2. Restart application
  3. Delete Spotify folder in Library/Application Support
  4. Delete Spotify cache folders in Library/Caches (.com.spotify.client, .com.spotify.installer)
  5. Delete Spotify from Applications Folder
  6. Reinstall Spotify
  7. Check for Spotify host data in /private/etc/hosts (N/A for Mac, or could not find anything relevant here)
  8. Ensure Firewall is turned off in System Preferences/Security and Privacy/Firewall
  9. Ensure AdGuard (Safari-only ad-blocker software) is turned off
    1. This should only affect Safari browsing but I disabled it anyways in case - doesn't seem to affect Spotify in the browser when enabled anyway

None of the above seem to work and I'm at a loss. I don't know what else to do. I only experience this on Desktop Mac. Spotify in the browser works totally fine, as does via the mobile app. 

 

Please help me!

 

Alex

RE: above, are there any steps to getting Spotify to work on a 5g wifi connection? I'd been able to connected without issues before but somehow after I factory reset my Mac I'm having issues connecting on this network - curious if there are common steps Mac users can take to resolve. Thanks.

doenst work !

 

Hey @simonvriesema-nl,

 

Could you let us know which of the proposed troubleshooting steps you've already tried and what errors you're encountering while doing them?
This would help us narrow down what we can do next 🙂
Thanks!

P.S. Screenshots are always appreciated!

Hi. I fixed it in several steps
1. Delete spotify

2. Go to Clean my Mac and uninstall everything related to Spotify (use search)

3. Start smart cleaning

4. Make sure there is no folders left in ~/Library/Caches ("com.spotify.installer" and "com.spotify.client" folders)

5. Restart your mac

6. Install Spotify 

7. Go to the 'update proxy' settings
8. Choose 'No Proxy' from the dropdown in the top right corner
9. Click 'Update Proxy' — Back To Login — Restart the application
10. Now you can try to log in to your account)

Plan

Premium 

Device

Macbook Pro, 2017

Operating System

MacOS Monterey

 

My Question or Issue

I have been experiencing all sorts of sudden problems with Spotfiy on the desktop app on my computer and the webplayer on firefox, and chrome (not safari funnily enough). Anyway this is specifically about the app, the screenshot below shows what it comes up with when I try to login. I just tried to login after a clean reinstall because of issues within the app. I honestly don't know what to do because Spotify is whitelisted in my firewall section in settings so I don't know what's going on. Any help is appreciated.

Hey @Ferret0332,

 

Thank you for reaching out here in the Community!
 

We appreciate you taking the time to report this but we can't see the screenshot, so we were not able to find the root cause of what you are experiencing. Can you try to attach it again? 

 

In the meantime, here are a few other things you can try:

  • Disable any antivirus or ad-blocking software that might be affecting the app
  • Turning off VPN if in use.
  • Remove host files. Head here to find out how.
  • Try changing your network. For example try with different Wi-Fi network.  In case you don't have another one available, you can start a hotspot and connect to it to test it. 

Let us know how things work out, 

 

Cheers!

Hey Lyubka, Sorry about that. I've now attached it below, so hopefully this time it works. I have tried all of those things and none have worked.

Hi there @Ferret0332,

 

This is very strange indeed. 


Can you let us know, if you can recall if those issues started after a recent OS update? Since you've tried a different WiFi network, and that's not the cause it might be some settings which have been updated on your Macbook itself.

 

On another note you can try this:

1. When you open the Spotify app, click the Setting button on the bottom, underneath the Log in panel.
2.  Go to the 'Update proxy' settings
3.  Choose 'No Proxy' from the dropdown and restart the app.

4. Try logging in again.

 

Let us know how you get on.

Hey Alex,

Yeah, it is really strange. No, the problems did not start occurring after a recent update. I have done exactly those steps and still to no avail.

I have the same Problem which appeared our of nowhere, no software changes, updates etc. on a MacBook Pro 2021 running Monterey. No Firewall active. I tried everything that was proposed in this thread over the last 2 years, nothing worked. Please advice, this has already cost me days! Best, Markus

 

Hey @Ferret0332,

 

Thanks for your reply and for keeping us posted.

 

We'd recommend to continue by clearing your hosts files with these steps:

  1. Open Finder and, in Finder’s menu bar, select Go > Go to Folder. In the box, type the following location: /private/etc/hosts and press return
  2. A new Finder window will open and your Mac’s hosts file will be selected. Click and drag it out of the Finder window and drop it on your desktop
  3. To open it, simply double-click and it will display the file’s contents in TextEdit
  4. Check for any entries with Spotify in the address
  5. If you do find any lines with Spotify, please remove them
  6. Save your changes and restart Spotify

If your issue persists, would you mind sending us the exact Spotify version you have running?

 

Keep us in the loop. We'll be here if you have any other questions. 

 

Cheers!

Hey AlejaR,

I tried this and it is still coming up with the same message as in the screenshot higher up in this thread (see my reply to Lyubka). How do I find out which spotify I am running?

Hey Mac users,

For anyone encountering this issue, please make sure you've gone through all the steps below.
When posting a reply, let us know what you've already tried out.

 

Click on each section to expand it.

 

 

We'd recommend starting off by clearing your hosts files with these steps:

  1. Open Finder and, in Finder’s menu bar, select Go > Go to Folder. In the box, type the following location: /private/etc/hosts and press return
  2. A new Finder window will open and your Mac’s hosts file will be selected. Click and drag it out of the Finder window and drop it on your desktop
  3. To open it, simply double-click and it will display the file’s contents in TextEdit 
  4. Check for any entries with Spotify in the address
  5. If you do find any lines with Spotify, please remove them
  6. Save your changes and restart Spotify

 

 

  1. Click in the top-right and select Settings.
  2. Scroll down and click SHOW ADVANCED SETTINGS.
  3. Scroll down to Offline songs storage to see where your cache is stored.
    Tip: Click CHANGE LOCATION to store your cache somewhere else.
  4. Go to that folder on your computer.
  5. Select and delete all the files in that folder.

 

 

If you're still having issues, try these steps.

  1. Quit Spotify.
  2. Open Finder.
  3. Click Go in the menu at the top, then hold the Option / Alt key ⌥ and select Library.
  4. Open Caches and delete the com.spotify.client and com.spotify.client.helper folders.
  5. Click the back arrow.
  6. Open Application Support and delete the Spotify folder.
  7. Restart your device.
  8. Download and install Spotify.

 

 

  1. Go to the 'update proxy' settings
  2. Choose 'No Proxy' from the dropdown in the top right corner
  3. Click 'Update Proxy' on the left, otherwise your change will not be saved!
  4. Click 'Back To Login'
  5. Restart the app

 

 

  1. Open Terminal.app.
  2. Enter one of the following commands:
    a.) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
    b.) sudo killall -HUP mDNSResponder


Many thanks! 🙂 

Hey @markusgerhard19,

 

Could you please confirm you've tried all of the abovementioned steps?
Any additional details would also be of help.
Much appreciated!

Hooray! This solution worked for me. Thank you!

Quit Spotify. Open Finder. Click Go in the menu at the top, then hold
the Option / Alt key ⌥ and select Library. Open Caches and delete
the com.spotify.client and com.spotify.client.helper folders. Click the
back arrow. Open Application Support and delete the Spotify folder. Restart
your device. Download <> and install
Spotify. Update proxy settings Go to the 'update proxy' settings Choose 'No
Proxy' from the dropdown in the top right corner Click 'Update Proxy' on
the left, otherwise your change will not be saved! Click 'Back To Login'
Restart the app
"A firewall may be blocking spotify. Please update your firewall to allow Spotify. Additionally you could try changing the currently used proxy settings. (Error code:2)." My firewall is turned off and I have tried each of the proxy settings to no avail.
Child Item
Child Item