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

Spotify session randomly invalidated #579

Closed
apprehensions opened this issue Oct 16, 2024 · 8 comments · Fixed by #570
Closed

Spotify session randomly invalidated #579

apprehensions opened this issue Oct 16, 2024 · 8 comments · Fixed by #570
Labels
bug Something isn't working

Comments

@apprehensions
Copy link
Contributor

Describe the bug
While i sit on my chair, enjoying my music, i suddenly realize that the music stopped, with no clear indication as to why, and i am forced to replay the same song, knowing it will never hit the same again, because it was interrupted.

To Reproduce
Play music.

Expected behaviour
I continue hearing the music

Log and backtrace

2024-10-16T12:08:49.080339Z  INFO spotify_player::streaming: Got a new player event: Changed { old_track_id: TrackId("6vMib26W91Ue1PbFilnJfu"), new_track_id: TrackId("4x6duj3S7xHFhEUfDSbWgQ") }
2024-10-16T12:08:50.215753Z  INFO spotify_player::streaming: Got a new player event: Playing { track_id: TrackId("4x6duj3S7xHFhEUfDSbWgQ"), position_ms: 0, duration_ms: 892853 }
2024-10-16T12:08:51.025125Z  INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 575ms
2024-10-16T12:19:57.181822Z  INFO spotify_player::client: Client's current session is invalid, creating a new session...
2024-10-16T12:19:57.926983Z  INFO spotify_player::auth: Successfully used the cached credentials to create a new session!
2024-10-16T12:19:57.927140Z  INFO spotify_player::client: Used a new session for Spotify client.

Environment

  • OS: Alpine Linux edge
  • Application version: "spotify_player 0.19.1 (git+https://github.com/aome510/spotifyplayer#8dcbc225cafd179b84b261b56ab1620dfcac1fc9)" = ["spotify_player"]
  • Application features: pulseaudio-backend,streaming,lyric-finder,media-control,sixel,notify

Additional context
It happened again as i was making this issue.

@apprehensions apprehensions added the bug Something isn't working label Oct 16, 2024
@aome510
Copy link
Owner

aome510 commented Oct 16, 2024

I also encounter a similar issue occasionally in my company. My first impression is because of unstable network but haven't really investigated it further.

@apprehensions
Copy link
Contributor Author

I also figured it was due to WI-FI issues, so i've disabled it and switched to Ethernet, and it still occurs.

@aome510
Copy link
Owner

aome510 commented Oct 16, 2024

interesting, good to know

@apprehensions
Copy link
Contributor Author

I can't take it anymore. It stopped as soon as the best part of a song began.

@TheGassyNinja
Copy link

I have been having the same issue for a couple of weeks. Same log output error as Apprehensions (OP)

@diegoulloao
Copy link

diegoulloao commented Oct 18, 2024

Having the same issue right now, has been happening since the last week and now it happened after only 45s of listening.

@aome510
Copy link
Owner

aome510 commented Oct 18, 2024

Possibly related: librespot-org/librespot#609. I will need to do some monitoring to see if it's the same issue. It seems to happen more often now compared to the past.

@aome510
Copy link
Owner

aome510 commented Oct 18, 2024

I'm pretty sure it's librespot-org/librespot#1340 after some monitoring and look like it is resolved in 0.5.0 release!

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

Successfully merging a pull request may close this issue.

4 participants