[GH-ISSUE #299] Login with premium account failing #216

Closed
opened 2026-02-28 14:31:25 +03:00 by kerem · 14 comments
Owner

Originally created by @ch1nq on GitHub (May 16, 2022).
Original GitHub issue: https://github.com/jpochyla/psst/issues/299

Describe the bug
When logging in today, I get the error: Authentication failed: premium account required.
This was not a problem yesterday and I have checked that my account is still premium on Spotify's website. I have also confirmed that the password is correct, as i get a different error when typing it wrong deliberately.

To Reproduce
Open settings and enter spotify credentials.

Expected behavior
No error on login.

Environment
Tested on both macOS + ubuntu with latest built action.

Originally created by @ch1nq on GitHub (May 16, 2022). Original GitHub issue: https://github.com/jpochyla/psst/issues/299 **Describe the bug** When logging in today, I get the error: `Authentication failed: premium account required`. This was not a problem yesterday and I have checked that my account is still premium on Spotify's website. I have also confirmed that the password is correct, as i get a different error when typing it wrong deliberately. **To Reproduce** Open settings and enter spotify credentials. **Expected behavior** No error on login. **Environment** Tested on both macOS + ubuntu with latest built action.
kerem 2026-02-28 14:31:25 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Anny0nn commented on GitHub (May 16, 2022):

+1

edit: (Premium Family account)

<!-- gh-comment-id:1127573377 --> @Anny0nn commented on GitHub (May 16, 2022): +1 edit: (Premium Family account)
Author
Owner

@jeromegn commented on GitHub (May 16, 2022):

Same. I have a Premium Family account.

<!-- gh-comment-id:1127573622 --> @jeromegn commented on GitHub (May 16, 2022): Same. I have a Premium Family account.
Author
Owner

@arrudagates commented on GitHub (May 16, 2022):

Same here, authentication API must have had a change, maybe a fix would be as simple as updating the underlying Spotify libraries being used, unless this has manually implemented the Spotify API.
Edit: Looks like it is manually implementing the API, so we'd need to find out what changed and update Psst code to reflect that.

<!-- gh-comment-id:1127582021 --> @arrudagates commented on GitHub (May 16, 2022): Same here, authentication API must have had a change, maybe a fix would be as simple as updating the underlying Spotify libraries being used, unless this has manually implemented the Spotify API. Edit: Looks like it is manually implementing the API, so we'd need to find out what changed and update Psst code to reflect that.
Author
Owner

@adv4ncr commented on GitHub (May 16, 2022):

+1

edit: (Premium Family account)

same here

<!-- gh-comment-id:1127584361 --> @adv4ncr commented on GitHub (May 16, 2022): > +1 > > edit: (Premium Family account) same here
Author
Owner

@kingosticks commented on GitHub (May 16, 2022):

I am seeing this same error on my libspotify-based application, which is not surprising considering they (finally) killed libspotify today.

Is Psst still using something from this older system? I've not got a librespot install on this machine but I don't think anyone has reported issues with that today.

<!-- gh-comment-id:1127627625 --> @kingosticks commented on GitHub (May 16, 2022): I am seeing this same error on my libspotify-based application, which is not surprising considering they (finally) [killed libspotify today](https://developer.spotify.com/community/news/2022/04/12/libspotify-sunset/). Is Psst still using something from this older system? I've not got a librespot install on this machine but I don't think anyone has reported issues with that today.
Author
Owner

@arrudagates commented on GitHub (May 16, 2022):

I am seeing this same error on my libspotify-based application, which is not surprising considering they (finally) killed libspotify today.

Is Psst still using something from this older system? I've not got a librespot install on this machine but I don't think anyone has reported issues with that today.

I believe the Psst Spotify API implementation is inspired by librespot, but is completely original and contained within.

<!-- gh-comment-id:1127629351 --> @arrudagates commented on GitHub (May 16, 2022): > I am seeing this same error on my libspotify-based application, which is not surprising considering they (finally) [killed libspotify today](https://developer.spotify.com/community/news/2022/04/12/libspotify-sunset/). > > Is Psst still using something from this older system? I've not got a librespot install on this machine but I don't think anyone has reported issues with that today. I believe the Psst Spotify API implementation is inspired by librespot, but is completely original and contained within.
Author
Owner

@jpochyla commented on GitHub (May 16, 2022):

Hi, thanks for the report, I'm on it!

<!-- gh-comment-id:1127635943 --> @jpochyla commented on GitHub (May 16, 2022): Hi, thanks for the report, I'm on it!
Author
Owner

@kingosticks commented on GitHub (May 16, 2022):

Yes but there are two versions of the reverse engineered APIs. I thought Psst had implemented the newer version (HTTPS-based CDN, like librespot-Java). Perhaps that doesn't also cover the login system.

<!-- gh-comment-id:1127636132 --> @kingosticks commented on GitHub (May 16, 2022): Yes but there are two versions of the reverse engineered APIs. I thought Psst had implemented the newer version (HTTPS-based CDN, like librespot-Java). Perhaps that doesn't also cover the login system.
Author
Owner

@arrudagates commented on GitHub (May 16, 2022):

Hi, thanks for the report, I'm on it!

Great to know you're actively maintaining Psst, I've ditched the official Spotify client a while ago and have been using exclusively Psst daily!

<!-- gh-comment-id:1127637740 --> @arrudagates commented on GitHub (May 16, 2022): > Hi, thanks for the report, I'm on it! Great to know you're actively maintaining Psst, I've ditched the official Spotify client a while ago and have been using exclusively Psst daily!
Author
Owner

@kingosticks commented on GitHub (May 16, 2022):

I've not got a librespot install on this machine but I don't think anyone has reported issues with that today.

if it's any help, I just found an old librespot install (dev branch from October 2021, not new-api) and it's still working fine.

<!-- gh-comment-id:1127646004 --> @kingosticks commented on GitHub (May 16, 2022): > I've not got a librespot install on this machine but I don't think anyone has reported issues with that today. if it's any help, I just found an old librespot install (dev branch from October 2021, not new-api) and it's still working fine.
Author
Owner

@jpochyla commented on GitHub (May 16, 2022):

librespot is indeed working fine, investigating!

<!-- gh-comment-id:1127648003 --> @jpochyla commented on GitHub (May 16, 2022): librespot is indeed working fine, investigating!
Author
Owner

@jpochyla commented on GitHub (May 16, 2022):

OK, seems like librespot is explicitly allow-listed on the Spotify side. I've implemented a quick fix in e403609e09, but we should transfer ASAP into another form of authentication (librespot-java is doing this correctly AFAIK).

So, please update to the latest master build.

<!-- gh-comment-id:1127691414 --> @jpochyla commented on GitHub (May 16, 2022): OK, seems like `librespot` is explicitly allow-listed on the Spotify side. I've implemented a quick fix in e403609e0916fe664fb1f28c7a259d01fa69b0e9, but we should transfer ASAP into another form of authentication (`librespot-java` is doing this correctly AFAIK). So, **please update to the latest master build**.
Author
Owner

@fabian-st commented on GitHub (Jun 21, 2022):

Installed from Snap, still cant login from spotify premium family ("premium account required")

<!-- gh-comment-id:1161634902 --> @fabian-st commented on GitHub (Jun 21, 2022): Installed from Snap, still cant login from spotify premium family ("premium account required")
Author
Owner

@yerke commented on GitHub (Jul 2, 2022):

@fabian-st Try to build from source.

<!-- gh-comment-id:1172958878 --> @yerke commented on GitHub (Jul 2, 2022): @fabian-st Try to build from source.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#216
No description provided.