ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

INFO: api.spotify.com does not support ipv6

Open Micaxs opened this issue 2 years ago • 0 comments

Issue: api.spotify.com does not support IPV6 connections, thus after logging in with ncspot and you do not see any "Tracks, Albums, Artists, Playlists, Podcasts, Browse" entries, you might be connecting over IPV6 instead of IPV4, in this case there is a simple solution:

Get the ipv4 address of api.spotify.com:

ping -4 api.spotify.com

Edit your hosts (/etc/hosts) file:

# replace 0.0.0.0 with the IP you got from the ping command above
0.0.0.0 api.spotify.com

Hope this helps someone. Could maybe add to README?

Micaxs avatar Feb 25 '23 03:02 Micaxs