Announcements
The Spotify Stars Program: Celebrating Values Week!

Help Wizard

Step 1

NEXT STEP

Error code 17 Spotify on Mac

Error code 17 Spotify on Mac

None of thscreenshot of error messagescreenshot of error message

 

Plan

Premium (Yet to be reactivated after card expired)

Country

 USA

Device

(Macbook Pro 2017 - A1706)

Operating System

(MacOS High Sierra version 10.13.6 - 17G65)

 

My Question or Issue

i can login to my spotify account on the web but have never been able to logon to it using spotify app i downloaded from www.spotify.com. I get the attached error code 17. Anybody with a solution to this please...

Screen Shot 2018-08-22 at 4.20.34 PM.png
Reply
4 Replies

Hi there!

I know it sounds simple, but it's often overlooked. Could you try restarting your device? If that doesn't help, try a quick clean reinstall of the app. Just follow these steps.

If you're still having trouble, could you let me know the exact version of Spotify and the exact version of the operating system you're running?

I'll see what I can suggest next!

Hey buddy,

Follow this link for the weblink to the Spotify app.


https://www.spotify.com/us/download/mac/

Also see attached the operating system I am running.

I reinstalled the app as you directed but I am still getting the same error code 17 message.

Thanks


Hey @Chomax,

 

I can suggest you something that might help you 🙂

Just follow the steps below:

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 followed the guide as prescribed and got stuck at the point where I hold COMMAND and O to save. A new window opens at that after I hold the COMMAND and Q, the window disappears leaving the sudo nano terminal..is there something I am not doing right? See attached screenshot for further details

Suggested posts