Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Stuck Offline - Error Code 4 - Linux Desktop

Status: Not An Issue

Greetings,

 

My Ubuntu Desktop client has stopped being able to access online for a couple days at least.

 

spotify_stuck_offline.png

 

I've searched similar topics, and I've tried everything on the FAQ:

 

https://support.spotify.com/us/using_spotify/troubleshooting/connection-problem/

 

- tried restarting wifi

- reinstalling spotify client, and restarting

- wiping the configuration directory ~/.config/spotify, then re-installing, and restarting

- checked my firewall configuration (nothing has changed anytime related to when this stopped working)

 

I realize Linux isn't the most well supported distribution, but I have been a premium subscriber for over a year, would appreciate some more ideas on how to fix this.

 

Thanks!!

 

Edit: Also, when starting spotify from terminal, this shows up:

 

[0712/201019:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak
[0712/201019:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak

 

And after logging in, this shows up in the terminal:


[0712/201034:ERROR:PlatformKeyboardEvent.cpp(94)] Not implemented reached in static bool blink::PlatformKeyboardEvent::currentCapsLockState()

 

Nothing appears in /var/log/syslog.

 

Thanks for trying that out.

 

While we don’t officially support Linux, some of our developers are passionate about and spend some of their spare time working on it.

 

These developers keep an eye on Linux discussions in our forums, so that’s where you would report bugs, suggest features, or just talk through help requests. If the issue persists, you can always create a new thread over there.

 

Have a nice day!

Comments
kkomw

......... And I checked again 5 hours later, it seems to be fixed.  No idea what happened, but thanks!!

 

Edit: Spoke too soon, I restarted spotify and I'm back to the same error.. 

Aimee_T
Status changed to: Need more info

Hey @kkomw, welcome to the Spotify Community.

 

Keep in mind that we don't offer official support for the version of the app for Linux, but we'd recommend checking if your antivirus is blocking the Spotify app.

 

If it is, the best option is to remove it from the blocked list and try once again to use it.

 

Let us know how it goes 🙂

kkomw

Hi @Aimee_T, thanks.

 

Understood, Linux is not supported, so appreciate the response.

 

I don't actually have any antivirus software running, Linux rarely has a need for that.

 

I've also tried disabling my firewall, and using Spotify through my VPN, but no luck.

 

I'm able to use Spotify on my phone on the same wifi, so I'm beginning to suspect this is not a network issue, rather a bug in the spotify client.

 

Is it possible to confirm Spotify is working for anyone else on Linux with the latest client?

 

$ sudo apt-cache policy spotify-client
spotify-client:
Installed: 1:1.0.49.125.g72ee7853-111
Candidate: 1:1.0.49.125.g72ee7853-111
Version table:
*** 1:1.0.49.125.g72ee7853-111 500
500 http://repository.spotify.com stable/non-free amd64 Packages
100 /var/lib/dpkg/status

 

Some PC Information:

CPU: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz

OS: Ubuntu 16.04.2 LTS (64 bit)

 

Thanks.

 

Edit:  I started monitoring the network traffic with tcpdump, it never appears to make a single web request when starting the client.  Sounds like there's a problem with the client detecting if there's a network connection.

MonicaM_Bogota

Thanks for keeping us posted.

 

Can you try clearing up the cache and let us know if the issue persists? It's located in ~/.cache/spotify/.

 

Keep us on the loop. 

kkomw

Thanks  @MonicaM_Bogota, new error this time.  Wiped everything out and re-installed:

 

$> sudo apt-get purge spotify-client

$> rm -rf ~/.config/spotify

$> rm -rf ~/.cache/spotify

$> sudo apt-get update

$> sudo apt-get install spotify-client

 

Now I'm getting this:

 

spotify-error-code-2.jpg

 

 

"Service is temporarily unavailable, please try again later. (Error code 2)"

 

... progress? 😄

 

Edit: I'm in now 🙂 This post has a work around for me.

 

If I start the client with:

 

$> spotify --ap=194.132.196.162

 

I can successfully log in. I think I can take it from here.

 

Thanks!! 🙂

Maria_B
Status changed to: Not An Issue

 

Thanks for trying that out.

 

While we don’t officially support Linux, some of our developers are passionate about and spend some of their spare time working on it.

 

These developers keep an eye on Linux discussions in our forums, so that’s where you would report bugs, suggest features, or just talk through help requests. If the issue persists, you can always create a new thread over there.

 

Have a nice day!