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

Bad Credentials Issue is back #30

Open
jpgrovy opened this issue Oct 11, 2023 · 6 comments
Open

Bad Credentials Issue is back #30

jpgrovy opened this issue Oct 11, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@jpgrovy
Copy link

jpgrovy commented Oct 11, 2023

Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials

Anyone else having this issue?

@jpgrovy jpgrovy added the bug Something isn't working label Oct 11, 2023
@dezegozer
Copy link

Same issue yeah, wonder how i keep having issues but the t4ils api stays on

@jpgrovy
Copy link
Author

jpgrovy commented Oct 11, 2023

I actually think his version on t4ils api isn't the old insights. I think his is a modified version... because his only shows 5 cities. It looks like he was porting it over from the last time the other endpoints stopped working.

I need to find an alternative to get the 50 cities. 5 is so much worse :(

@dezegozer
Copy link

Cities? What cities are we talking about? I thought this was used for playcounts i have no idea what cities mean

@jpgrovy
Copy link
Author

jpgrovy commented Oct 11, 2023

The artistinsights endpoint that we used in the past had the artists top 50 cities. I cant access that insights endpoint anymore at all due to Bad Auth.

The sample endpoint on here seems to be a modification. It's not the original endpoint. Thats why his is working.

@dezegozer
Copy link

Ohh like that, i was only focused on the playcount endpoints my bad

@Idmon
Copy link

Idmon commented Nov 14, 2023

Same issue here 😕

Launched a fresh new debian VM at Google Cloud. Installed Java, Git and Maven... then I cloned the repo and build the java jar.

Log:

idmon@spotify-api:~/sp-playcount-librespot$ java -jar ./core/target/librespot-core-jar-with-dependencies.jar '###########' '############' 
 
2023-11-14 19:38:22,195 INFO  ApResolver:66 - Loaded aps into pool: {accesspoint=[ap-guc3.spotify.com:4070, ap-guc3.spotify.com:443, ap-guc3.spotify.com:80, ap-gew4.spotify.com:4070, ap-gue1.spotify.com:443, ap-gae2.spotify.com:80], dealer=[guc3-dealer.spotify.com:443, gew4-dealer.spotify.com:443, gue1-dealer.spotify.com:443, gae2-dealer.spotify.com:443], spclient=[guc3-spclient.spotify.com:443, gew4-spclient.spotify.com:443, gue1-spclient.spotify.com:443, gae2-spclient.spotify.com:443]}

2023-11-14 19:38:22,284 INFO  Session:94 - Created new session! {deviceId: c70f928698cc099e39bddfd469f7de38e3b805db, ap: ap-guc3.spotify.com:4070} 

2023-11-14 19:38:22,805 INFO  Session:223 - Connected successfully!
Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials
        at xyz.gianlu.librespot.core.Session.authenticatePartial(Session.java:311)
        at xyz.gianlu.librespot.core.Session.authenticate(Session.java:231)
        at xyz.gianlu.librespot.core.Session$Builder.create(Session.java:583)
        at xyz.gianlu.librespot.Main.main(Main.java:18)` 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants