mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #535] Connectivity issue with IPv6 enabled #342
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#342
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?
Originally created by @utomsig on GitHub (Nov 1, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/535
Not sure if this is a bug or some problem with my computer/ISP/router.
When “IPv6 Method” is set to “Automatic”, librespot takes about 3 min to authenticate. I’m running Ubuntu desktop 20.04 and the IPv6 setting is in the usual gui settings app. If I use “Automatic, DHCP only” it works without problems, but then I only got a local ipv6 address.
According to http://test-ipv6.com/ I can reach ipv6 sites (with the “Automatic” setting).
Thanks for a great app!
/Simon
librespot_bug.txt
@kescherCode commented on GitHub (Dec 28, 2020):
I use IPv6, and I don't have such an issue. Are you testing the dev branch?
@Malvineous commented on GitHub (Feb 27, 2021):
See the line in the log that says:
Try to connect to this manually, e.g.
telnet gew1-accesspoint-b-3ml0.ap.spotify.com 4070and see how long it takes to connect. If you get the same delay, the problem is not with librespot but with your IPv6 setup.@roderickvd commented on GitHub (Jun 14, 2021):
Same here. I also have no connectivity issues on an IPv6-enabled LAN (but without IPv6 connectivity to the Internet). I'm closing this because multiple users cannot reproduce it and there are no further replies. But feel free to reopen if this is a different issue.
@klemensn commented on GitHub (Dec 31, 2023):
Dual-stack networks, i.e. clients with both IPv4 and IPv6 connectivity, ought to work.
However, In IPv6-only networks without migration features such as DNS64/NAT64 or the like, Spotify yields APs without
AAAADNS records, so there's no IPv6 address to connect to:Asking one of Spotify's nameservers directly:
There is indeed only an
Arecord:Same with other APs
spotifydends up connecting to, e.g.ap-guc3.spotify.com:443ap.spotify.com:443ap-gew1.spotify.com:443I remember Spotify's official desktop client failing to connect on Linux in an IPv6-only network, although that was years ago and DNS64/NAT64 was probably deployed.
There some command line flag or environment variable made the proprietary, electron-based app work, but that's all I remember.
https://community.spotify.com/t5/Live-Ideas/Desktop-IPv6-support-for-the-desktop-client/idc-p/5475568/highlight/true#M249926 mentioning
--experimental-networkseems to support that.