mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1345] [MERGED] core: retry session connection #1348
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1348
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1345
Author: @kingosticks
Created: 9/19/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @roderickvd
Base:
dev← Head:session-retry-connect📝 Commits (1)
118a2f3core: retry Session access-point connection.📊 Changes
3 files changed (+48 additions, -7 deletions)
View changed files
📝
CHANGELOG.md(+2 -1)📝
core/src/connection/mod.rs(+23 -0)📝
core/src/session.rs(+23 -6)📄 Description
When session connection fails, retry the access point. If still fails for a non-auth-login reason, repeat for the other access points. Also some logging tweaks.
When blocking ap-gew1.spotify.com, now I see each a retry for each AP on that host, until it finds an AP on a different host and succeeds.
When using bad credentials, it does not retry:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.