Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Plan
Premium
Country
Portugal
Device
Laptop
Operating System
Debian 5.10.24 x86_64 GNU/Linux (Parrot OS)
Browser
Firefox 87.0 (64-bit)
My Question or Issue
2 days ago I opened Spotify and was greeted with the blue box on the bottom left corner of the window saying "Offline". I was busy and didn't want to waste time debugging it so I just opened the web app and used Spotify through there.
Today I decided to take a look at it. I thought about uninstalling and reinstalling so I did it. When I opened it again I was greeted with the Login screen, so I clicked the button, got redirected to my browser where I inserted my account credentials and got redirected to a page confirming the authentication.
But I didn't get authenticated. I first found it odd because I was expecting the browser to issue and xdg-open command, which it didn't and my suspicion was confirmed when I returned back to the Spotify app and nothing happened.
I decided to try to find out what was going on, so I simulated the authentication again. I inserted my credentials and, while monitoring the network activity of the authentication tab, I pressed the "Continue to the App" button. In the network traffic there was a GET request to a local server.
I investigated with netstat and sure enough, it's Spotify...
Keep in mind that I'm using privacy add-ons, but that shouldn't prevent anything as I have joined zoom meetings through the browser with no problem.
In fact, I this problem only surfaced 2 days ago and I've had these add-ons for quite a while.
Also, I have access to the authentication code, is there a way to send a signal to spotify to
PS: I have tried disabling the add-ons and still can't authenticate.
Solved! Go to Solution.
Well it's solved.... I don't know what happened. I didn't open Spotify through the terminal in the session it got fixed so I couldn't tell you what happened.. I was pressing keys cause 90% of the time that's what leads to a problem and I pressed the sleep button. When I logged back on it was working.
I have dug a bit into the "spotify" command and it's --username and --password arguments and managed to log in again. But now I'm in the same situation. I enabled --console-show and I'll put here some info that might be interesting.
First error (red message)
Here it seems lit it's trying to go online but
Something crashes and it goes offline
Now the only thing it seems lit it's doing is sending pings and listening to pongs:
aq: LWS got LWS_CALLBACK_CLIENT_WRITEABLE
aq: LWS got LWS_CALLBACK_CLIENT_RECEIVE_PONG
I really don't understand anything that is going on in the console, so maybe if a Spotify dev could take a look at it I could solve my issue.
Hey @CaptRondo
Is there anything in your hosts file, like a Spotify-related address?
That could probably break something like that.
Do you also make use of any proxies / VPN?
Let me know how you get on 🙂
I only have localhost stuff in there and I don't use proxies. This only started happening 2 days ago and I've changed nothing in the meanwhile.
I just noticed something strange... take a look
It's even updating the current track in real time... so strange
Well it's solved.... I don't know what happened. I didn't open Spotify through the terminal in the session it got fixed so I couldn't tell you what happened.. I was pressing keys cause 90% of the time that's what leads to a problem and I pressed the sleep button. When I logged back on it was working.
This does look weird...
Just to try, what happens when you launch Spotify like that:
spotify --ap=194.132.196.162
...And I'm glad it's working now for you. 😄
Have a nice day!
Well, that seems to somewhat emulate what was happening before. Although before I wasn't even able to browse spotify and with that command I can, even with the annoying "Offline" warnings
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…