[PR #87] [MERGED] fix: try multiple times to connect to an AP #200

Closed
opened 2026-02-28 14:26:13 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: fix-ap-connection-refused


📝 Commits (1)

  • 910d694 fix: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/devgianlu/go-librespot/pull/87 **Author:** [@aykevl](https://github.com/aykevl) **Created:** 9/9/2024 **Status:** ✅ Merged **Merged:** 9/10/2024 **Merged by:** [@devgianlu](https://github.com/devgianlu) **Base:** `master` ← **Head:** `fix-ap-connection-refused` --- ### 📝 Commits (1) - [`910d694`](https://github.com/devgianlu/go-librespot/commit/910d6946ebccb9755b0f6010f54c58d1e7feca01) fix: try multiple times to connect to an AP ### 📊 Changes **1 file changed** (+17 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `ap/ap.go` (+17 -7) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:26:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-librespot#200
No description provided.