entriphy / sp-playcount-librespot

Modification of librespot-java to provide play count info from Spotify
Apache License 2.0
119 stars 16 forks source link

Bad Credentials Issue is back #30

Open jpgrovy opened 11 months ago

jpgrovy commented 11 months ago

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

Anyone else having this issue?

dezegozer commented 11 months ago

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

jpgrovy commented 11 months ago

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 commented 11 months ago

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

jpgrovy commented 11 months ago

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 commented 11 months ago

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

Idmon commented 9 months ago

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)`