Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spotify Login failed for user #2749

Closed
1 task done
ppiixxii opened this issue Aug 12, 2024 · 21 comments
Closed
1 task done

spotify Login failed for user #2749

ppiixxii opened this issue Aug 12, 2024 · 21 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file Spotify upstream issue Issue depends on an issue outside MA

Comments

@ppiixxii
Copy link

What version of Music Assistant has the issue?

2.1.3

What version of the Home Assistant Integration have you got installed?

No response

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • Yes

The problem

while using correct spotify credentials, the system states that login has failed

How to reproduce

go to music provider and key in credentials,

Music Providers

spotify

Player Providers

n/a

Full log output

log.txt

Additional information

No response

What version of Home Assistant Core are your running

2024.8.1

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Raspberry Pi

@OzGav
Copy link
Contributor

OzGav commented Aug 12, 2024

Has it ever worked? Are you sure you are typing it correctly? Do you have any unusual characters in the passowrd? A slash maybe? Have you tried changing it to something simple to see if that works and then change it back?

@ppiixxii
Copy link
Author

ppiixxii commented Aug 12, 2024

yes until 2.1.2 it worked, no unusual characeters in password, the account works if i login via web on the spitify website with the same credentials.

@OzGav
Copy link
Contributor

OzGav commented Aug 12, 2024

Can you roll back using your backup to see if it works again. Nothing was changed with Spotify in this update.

@MorrisekN
Copy link

MorrisekN commented Aug 12, 2024

I have the same problem. Premium account individual

@OzGav
Copy link
Contributor

OzGav commented Aug 12, 2024

As above. Please roll back and confirm it works with 2.1.2. I use Spotify and it is working fine for me (although I am using my own client id)

@frodo777
Copy link

the same here:

Only Spotify Premium accounts are supported

@ppiixxii
Copy link
Author

rolled back to 2.1.2 problem remains, i also have the 2.1.1. version still in the backups, go to that one? (and yes paid spotify)

@ppiixxii
Copy link
Author

I do not use client ID. only account name and password.

@OzGav
Copy link
Contributor

OzGav commented Aug 12, 2024

Yeah so maybe it is a Spotify problem again.

@MorrisekN
Copy link

I have two paid individual accounts and I can't log in to either of them

@OzGav OzGav added the upstream issue Issue depends on an issue outside MA label Aug 12, 2024
@OzGav
Copy link
Contributor

OzGav commented Aug 12, 2024

I just tried mine on my dev account and it also failed. So could be a temporary Spotify outage or a bigger problem. Everyone will just have to sit tight and wait and see what happens this time,

@erkr
Copy link
Contributor

erkr commented Aug 12, 2024

@OzGav Spotify announced, to the Librespot library team, that username / password logins will be removed. If that is what is happening now, rolling back won't help. Let's monitor the implementation of OAuth in Librespot

@burghs
Copy link

burghs commented Aug 12, 2024

I am on Spotify Family Account which also worked fine and getting a login error in the MASS Server logs "ERROR (MainThread) [music_assistant] Error loading provider(instance) Spotify: Login failed for user". Pretty sure this is on Spotify side.

@spasypaddy
Copy link

i have this error as well on a duo account, i should add and maybe its a coincidence but i think spotify reported MA trying to login as suspicious behaviour and then forced me to change my password? Would be interested to know if this happened to anyone else

@ppiixxii
Copy link
Author

yes, they are forcing me to change the pwd also

@churchofnoise
Copy link

Also had to change Spotify password after multiple attempts to add Spotify as music provider (I also made an issue, presumably identical to this which I just closed as this issue exists #2750 ).

@kschmidtlarsen
Copy link

kschmidtlarsen commented Aug 12, 2024

Will just echo the issue today - I'm completely new to MA btw.

Premium Family account.
Adding my VT Music account worked great.
x86 i7 setup with Unraid, Home assistant as a VM and MA installed through HACS in HA.
Been messing with this for over an hour and then found this - will try to change my Spotify PW to see if this helps.

2024-08-12 19:26:40.755 WARNING (MainThread) [music_assistant.providers.spotify] Error while retrieving Spotify token after 0.21 seconds, details: 2024-08-12 19:26:40.962 WARNING (MainThread) [music_assistant.providers.spotify] Error while retrieving Spotify token after 0.21 seconds, details: 2024-08-12 19:26:41.169 WARNING (MainThread) [music_assistant.providers.spotify] Error while retrieving Spotify token after 0.21 seconds, details: 2024-08-12 19:26:41.383 WARNING (MainThread) [music_assistant.providers.spotify] Error while retrieving Spotify token after 0.21 seconds, details: 2024-08-12 19:26:41.616 WARNING (MainThread) [music_assistant.providers.spotify] Error while retrieving Spotify token after 0.23 seconds, details:

Edit:
Updated spotify PW to a super secure generated pw.
Did not allow me to login (same message as above)
Tried both the user name and my mail login.
ps use email login (no fb or google)

Edit again:
Also attempted to use the Client ID - did not work - so far unresolved for me

@dedors
Copy link

dedors commented Aug 12, 2024

Did a Music Assistant update today. A short while later I receive a mail from Spotify to change my password (happened like 6 times since I use MA). Changed password, but can't login with MA now.

@CultusMechanicus
Copy link

Yep, I set this up this afternoon, with Spotify working, it had just barely finished syncing artist art. Got an email saying "Suspicious activity, change your password". Changed the password, Spotify app accepts new password, Spotify web accepts new password, Music Assistant login fails.

@erkr
Copy link
Contributor

erkr commented Aug 12, 2024

Hi all, Spotify is phasing out the authorisation mechanism that is used by the Librespot library.
Librespot is used by MA, so the coming hours, all of us will be locked out using Spotify in MA.
Hopefully there is a fast update of Librespot, so wat can re-author the Spotify provider.
I locked this issue for further commends.
We will update the issue when there is new info

@music-assistant music-assistant locked and limited conversation to collaborators Aug 12, 2024
@erkr erkr added bug Something isn't working dependencies Pull requests that update a dependency file Spotify and removed triage labels Aug 12, 2024
@OzGav
Copy link
Contributor

OzGav commented Aug 13, 2024

Spotify is fixed in beta 6. For those running stable you will have to be a little more patient. Please thank Marcel for the unbelievable effort in turning this around so fast! https://music-assistant.io/help/#donations

@OzGav OzGav closed this as completed Aug 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working dependencies Pull requests that update a dependency file Spotify upstream issue Issue depends on an issue outside MA
Projects
None yet
Development

No branches or pull requests