mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[PR #87] [MERGED] fix: try multiple times to connect to an AP #200
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#200
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/devgianlu/go-librespot/pull/87
Author: @aykevl
Created: 9/9/2024
Status: ✅ Merged
Merged: 9/10/2024
Merged by: @devgianlu
Base:
master← Head:fix-ap-connection-refused📝 Commits (1)
910d694fix: try multiple times to connect to an AP📊 Changes
1 file changed (+17 additions, -7 deletions)
View changed files
📝
ap/ap.go(+17 -7)📄 Description
I sometimes get "connection refused" for no apparent reason, even though the same AP works at other times. So when that happens, try again with a different AP.
I don't know why this happens, but with this patch the connecting code is a bit more robust. I've verified that it works: it connects to the next in the list which usually works.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.