bugsounet / EXT-Librespot

Librespot Extention for EXT-Spotify
MIT License
1 stars 0 forks source link

Authentication Issues with EXT-Librespot Module on Magic Mirror #86

Open Rahul120934 opened 3 weeks ago

Rahul120934 commented 3 weeks ago

I'm somewhat new to Magic Mirror development and have been trying to set up the EXT-Librespot module for quite some time. I have reinstalled this module hundreds of times, both on the same setup and on different ones, in an attempt to get it running. I've also logged into Spotify multiple times and regenerated Spotify tokens, but I still can't get it to work.

Error Codes:

Here are the relevant logs from the PM2 log for the librespot process:

Magic@Smartmirror:~/MagicMirror/modules/EXT-Librespot $ pm2 log librespot [TAILING] Tailing last 15 lines for [librespot] process (change the value with --lines option) /home/Magic/.pm2/logs/librespot-error.log last 15 lines: 1|librespo | [2024-10-02T19:13:41Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070" 1|librespo | [2024-10-02T19:13:42Z ERROR librespot] Connection failed: Login failed with reason: Bad credentials 1|librespo | [2024-10-02T19:13:42Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2024-09-21, Build ID: sLZHAX3P, Profile: release) 1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80 1|librespo | [2024-10-02T19:13:42Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070" 1|librespo | [2024-10-02T19:13:42Z ERROR librespot] Connection failed: Login failed with reason: Bad credentials 1|librespo | [2024-10-02T19:13:42Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2024-09-21, Build ID: sLZHAX3P, Profile: release) 1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:4070 1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80 1|librespo | [2024-10-02T19:13:42Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070" 1|librespo | [2024-10-02T19:13:43Z INFO librespot_core::session] Authenticated as "314acs7naowb2icq5tlumzhnoouy" ! 1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Cubic(40.0) 1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::convert] Converting with ditherer: tpdf 1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16

Despite multiple attempts, I keep encountering "Bad credentials" errors, preventing me from accessing my Spotify account.

Steps Taken:

  1. Reinstalled the EXT-Librespot module multiple times.
  2. Attempted to log in to Spotify repeatedly.
  3. Regenerated Spotify tokens.
  4. Verified my credentials and ensured they were entered correctly.

Request for Help:

I would greatly appreciate any guidance or suggestions on resolving these authentication issues. Are there specific steps or configurations I might be missing? Thank you for your assistance!

bugsounet commented 3 weeks ago

Hi, it's related to this

For correct this issue, EXT-Librespot v2 is under coding and will be release soon