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

Application Error #18

Open jpgrovy opened 2 years ago

jpgrovy commented 2 years ago

Was trying to test the api. Getting an Application Error on all calls. Was testing with Postman and keep getting this error "Application Error".

jpgrovy commented 2 years ago

Sorry .. to be clear the errors are happening on your hosted version.

jpgrovy commented 2 years ago

Any possibility of fixing the issue ? 🙏🙏🙏

entriphy commented 2 years ago

Sorry about that, seems like Spotify changed something with logging in and it broke quite a bit since this hasn't project hasn't been updated in a while. I'll try to fix it within the next 24 hours.

jpgrovy commented 2 years ago

Thanks so much. Appreciate it!

entriphy commented 2 years ago

Hmm, seems like Spotify might be blocking certain IP addresses. Works completely fine on my end but does not work when I deploy it to Heroku. Trying a temporary solution on api.t4ils.dev for now, though it might not work for long.

I also made a new release that might fix the BadCredentials error in the previous version if you want to self-host it: https://github.com/entriphy/sp-playcount-librespot/releases/tag/v1.4.1

jpgrovy commented 2 years ago

It looks like your API hangs now. No error though. Did something change again ?

jpgrovy commented 2 years ago

@entriphy - What did you do to make it work on Heroku ?

Your hosted version is working again... but can you let me know how you got it to run on Heroku? I cannot get it working there. Anywhere you can recommend for hosting this?