Announcements
The Spotify Stars Program: Celebrating Values Week!

Help Wizard

Step 1

NEXT STEP

Mac Error 39

Mac Error 39

 

I've been trying to log into my spotify application on my mac for a couple days now. Whenever I try to log in it displays this message: 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: 39).

 

My firewall is not on, I have changed the proxy settings to no proxy, have reinstalled spotify five times, restarted my mac, restarted my router, tried on a different wifi, and anything else that spotifycares has told me to do but nothing has made a difference. I have not left the country and my country is right in my account. Any solution would be greatly appreciated!  

Reply
3 Replies

Hi @caitlinberray1,

 

sorry to hear that...

It seems that you've tried already a lot of things...

I googled  'error code 39 Mac' and found this article:

http://fixmacissue.com/fix-error-code-39-on-mac.html

I hope this might help you

Good luck and have a nice day 🙂

 

Hey @caitlinberray1, welcome to the Community.

Hope you are doing great!

 

I can suggest you something that might help you 🙂

 

Before you follow the steps listed below please check for any pending updates on your system or for Spotitfy 🙂


If those didn't work, follow these steps:

You can search for Terminal using Spotlight or by selecting it in Finder.

  1. Open a Finder window.
  2. Select Applications from the sidebar.

    Open Finder, then click on Applications

  3. Double-click on Utilities.
  4. Double-click Terminal.

    Double-click on Utilities, then double-click on Terminal

In the Terminal window, you will need to enter a command to open the Nano text editor. You will need your administrator password, as well.

  1. Type sudo nano /etc/hosts and then hit return.
  2. Enter your administrator password and then hit return.

    Enter enter Nano Text Editor in Terminal

You're now in the Nano text editor. You should see something that looks like this:

Map the IP address in the Nano text editor

If you want to add a new device or domain, move the cursor using the arrow keys and position it after the text in the window. Then, begin typing 🙂
I'll help you skip the typing part, just copy and paste the following addresses there for Spotify 😉
0.0.0.0 weblb-wg.gslb.spotify.com
0.0.0.0 prod.b.ssl.us-eu.fastlylb.net

 

 

Once you're done, hold down the Command and O keys to save the file, then Command and Q to exit.


If the terminal is not for you I got another way of doing it.
Again just follow me:

To find the hosts file, open Finder and, in Finder’s menu bar, select Go > Go to Folder. In the box, type the following location and press Return.

520131215_edithostsfileosx_1.jpg
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. This will let you freely edit the file.
620131215_edithostsfileosx_2.jpg
To open it, simply double-click and it will display the file’s contents in TextEdit (or the text editor of your choice). By default, the hosts file is relatively simple. It contains a number of lines of descriptive text which are “commented out” with the pound or number sign (#). For each line, any text after the pound sign is ignored by the computer, making it a good way to add notes and descriptions to your files. It also contains default IP values for localhost and broadcasthost. To edit the file, you’ll add your own lines after broadcasthost.
720131215_edithostsfileosx_3.jpg

Again, just copy and paste the following addresses there for Spotify and save the changes 😉
0.0.0.0 weblb-wg.gslb.spotify.com
0.0.0.0 prod.b.ssl.us-eu.fastlylb.net


If you ever make a mistake or want to change it back and you’re not sure how to fix it, you can always restore the default hosts file contents by using one of the methods above to enter the following default information:
##

# Host Database

#

# localhost is used to configure the loopback interface

# when the system is booting. Do not change this entry.

##

127.0.0.1                   localhost

255.255.255.255   broadcasthost

 

::1                              localhost

fe80::1%lo0            localhost

One last thing!
Back at the command line, type sudo killall -HUP mDNSResponder then type return. That will flush your Mac's DNS cache, so it doesn't get confused by any changes you've made to the Hosts file.

sudo-killall-mac-screenshot.jpg


Let me know how it goes 🙂

Hi,

 

I keep getting Error 39 when trying to log in via email and password, or Error 11 when trying to connect via Facebook.

 

I have tried all of the below the suggestions, including:

- try another account

- reinstall macOS

- de-activate all firewalls

- reinstall spotify

- changing hosts on terminal

 

This started happening when I upgraded to a Macbook Pro 2017 15 Inch.

 

The one thing I noticed that it has "Offline mode" ticked, even though I am not logged in... does anyone have the same issue?

 

Suggested posts