spot icon indicating copy to clipboard operation
spot copied to clipboard

Spotify API error: No token

Open oae opened this issue 3 years ago • 4 comments

After pausing and not listening for a while, if I want to resume playback I get the following error

[2022-04-18T15:04:29Z ERROR spot::app::batch_loader] Spotify API error: No token

General information:

  • Distribution: Arch Linux
  • Installation method: Flatpak
  • Version: 0.3.3
  • Device used: Desktop

oae avatar Apr 18 '22 15:04 oae

Another time, I got the following error.

~ 
➜  flatpak run --env=RUST_BACKTRACE=full dev.alextren.Spot

(process:2): Adwaita-CRITICAL **: 18:11:03.719: adw_leaflet_set_visible_child: assertion 'contains_child' failed
[2022-04-18T15:45:36Z ERROR librespot_core::session] Connection reset by peer (os error 104)
[2022-04-18T16:20:22Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:22Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:25Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:25Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:29Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:29Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:30Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:46Z ERROR librespot_playback::player] Player Commands Error: channel closed
[2022-04-18T16:20:47Z ERROR librespot_playback::player] Player Commands Error: channel closed

oae avatar Apr 18 '22 16:04 oae

After pausing and not listening for a while, if I want to resume playback I get the following error

[2022-04-18T15:04:29Z ERROR spot::app::batch_loader] Spotify API error: No token

General information:

* Distribution: Arch Linux

* Installation method: Flatpak

* Version: 0.3.3

* Device used: Desktop

@oae I am also getting the same error while trying to login with my spotify account on Spot, any fixes you found yet?

spotted-cat avatar Apr 18 '22 17:04 spotted-cat

I have to exit and start again to make it work correctly again

oae avatar Apr 19 '22 07:04 oae

Hi! Thanks for the report. I need to have a closer look, but we might be able to catch that error and create a fresh session in librespot, I think.

xou816 avatar Apr 28 '22 21:04 xou816