abba23 / spotify-adblock

Adblocker for Spotify
https://github.com/abba23/spotify-adblock
1.89k stars 93 forks source link

Unable to navigate the app on Arch #7

Closed Kastakin closed 3 years ago

Kastakin commented 3 years ago

I've installed the blocker from the AUR choosing the default Spotify AUR package as dependencies provider.

The app opens and I can access/play my saved playlists but the home page returns a "timed out" error and the same is true for the Search tab.

Following is what my terminal reads when launching the ad-blocked Spotify from it:

LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify
spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/proc/self/exe: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
[+] cef_urlrequest_create:  https://apresolve.spotify.com/?time=1620735938&type=accesspoint
[+] getaddrinfo:        apresolve.spotify.com
[+] cef_urlrequest_create:  https://login5.spotify.com/v3/login
[+] getaddrinfo:        login5.spotify.com
[+] getaddrinfo:        gew1-accesspoint-e-v2tx.ap.spotify.com
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/user/1187210145/rootlist?decorate=revision%2Cattributes%2Clength%2Cowner&from=0&length=120
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/socialgraph/v2/dismissed/artist?include_timestamps=true&count=1000&source_uri=spotify%3Auser%3A1187210145
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/extended-metadata/v0/extended-metadata
[+] getaddrinfo:        spclient.wg.spotify.com
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/ad-logic/state/config
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChYMTE7IExpbnV4IHg4Nl82NCkgQXBwbGVXZWJLaXRcLzUzNi41IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lXC8xOS4wLjEwODQuOSBTYWZhcmlcLzUzNi41IFNwb3RpZnlcLzExNTYwMDU5NSAoODsgMDsgNSkiLCJzZXNzaW9uX2lkIjoiYjYzNjE0YjItZmUzNC00YTZiLTlhN2UtYWM0NzQ3ZTMyNTM5In0=
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/device-capabilities/v1/capabilities?device_type=computer&client_id=65b708073fc0480ea92a077233ca87bd&device_model=&device_brand=&client_version=1.1.56.595.g2d2da0de
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/social-connect/v2/sessions/current
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/extended-metadata/v0/extended-metadata
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/playlist/62vBVBVjK98QLBlrbX7nKd/diff?revision=694%2Cc3b46ca6048553dfab7f75df38ee18a1cb2c6b44&handlesContent=
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/user/1187210145/rootlist/diff?revision=149%2Cdc25ce99fa06a90fa612e5da1bdb22ddb58a7a3a&handlesContent=
[+] getaddrinfo:        spclient.wg.spotify.com
[+] getaddrinfo:        spclient.wg.spotify.com
[+] getaddrinfo:        dealer.spotify.com
[+] getaddrinfo:        dealer.spotify.com
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/facebook/config
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/socialgraph/v2/dismissed/artist?include_timestamps=true&count=1000&source_uri=spotify%3Auser%3A1187210145
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/recently-played/v3/user/1187210145/recently-played?limit=50&filter=default,track,collection-new-episodes
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/played-state/v1/items?fromTimestamp=1580485951145
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/collection/v2/delta
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/collection/v2/delta
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/collection/v2/delta
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/collection/v2/delta
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/facebook/user/1187210145
[+] getaddrinfo:        dealer.spotify.com
[-] getaddrinfo:        graph.facebook.com
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/facebook/user/1187210145/permissions
[+] getaddrinfo:        dealer.spotify.com
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/connect-state/v1/devices/583798e10ddca0d13fe6d4c29503070d4f0f881a
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/played-state/v1/updates
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/social-connect/v2/sessions/current
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/device-capabilities/v1/capabilities?device_type=computer&client_id=65b708073fc0480ea92a077233ca87bd&product_id=&device_model=&device_brand=&client_version=1.1.56.595.g2d2da0de
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/ads/v1/ads/hpto?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChYMTE7IExpbnV4IHg4Nl82NCkgQXBwbGVXZWJLaXRcLzUzNi41IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lXC8xOS4wLjEwODQuOSBTYWZhcmlcLzUzNi41IFNwb3RpZnlcLzExNTYwMDU5NSAoODsgMDsgNSkiLCJzZXNzaW9uX2lkIjoiYjYzNjE0YjItZmUzNC00YTZiLTlhN2UtYWM0NzQ3ZTMyNTM5IiwicmVxdWVzdF9pZCI6ImYzY2M5MWRhLTIwZWEtNGU5NS04YWJiLTkzNTQ4NTVmYTU2OSIsInBvZCI6eyJjb250ZXh0IjoxLCJzZXNzaW9uIjoxfSwib3ZlcnJpZGVzIjp7fSwidGFyZ2V0aW5nIjp7InBsYXliYWNrX2lkIjoiZjNjYzkxZGEtMjBlYS00ZTk1LThhYmItOTM1NDg1NWZhNTY5IiwiYWRicmVhayI6InZpZGVvLGFkc2NvcmUiLCJhZHBvZCI6IjEiLCJhcnRpc3QiOiI2elVZeUY4UWxzZ0o4ODNmR21lV25qIiwiY29udGV4dCI6InNwb3RpZnk6cGxheWxpc3Q6NjJ2QlZCVmpLOThRTEJscmJYN25LZCIsImZlYXR1cmUiOiJkZXNrdG9wLWNsaWVudC14IiwiZm9jdXMiOiJ0cnVlIiwidHJhY2siOiJzcG90aWZ5OnRyYWNrOjFia1FNZnBkd2pKeHNteW9TOUFrNmMifX0=
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-dealer.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-dealer.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[-] getaddrinfo:        gew-spclient.spotify.com
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/user-customization-service/v1/customize
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] cef_urlrequest_create:  https://spclient.wg.spotify.com/gabo-receiver-service/v3/events/
[-] getaddrinfo:        gew-spclient.spotify.com
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/playlist/37i9dQZF1DX0SM0LYsmbMT/diff?revision=1620735691%2C00000000d421e0fad95a48b17ac71315927e7bcf&handlesContent=
[-] getaddrinfo:        gew-spclient.spotify.com
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/playlist/37i9dQZEVXcHSoZfNgLrLw/diff?revision=0%2C00000000a1e04a4d003e2b39ee3edfb02d2a6883&handlesContent=
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/playlist/37i9dQZF1DWXLeA8Omikj7/diff?revision=1620735711%2C00000000b59e15a6b3b17f29fac76d3e65912959&handlesContent=
[+] getaddrinfo:        spclient.wg.spotify.com
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/playlist/37i9dQZF1DX4pbGJDhTXK3/diff?revision=1620735741%2C00000000d189ade9d1ce3dedc1e9e6fde1b1b756&handlesContent=
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/playlist/37i9dQZF1DX4MNIYb0mgSO/diff?revision=1620735751%2C000000001786c00c12cf2248d98027fec4ca6735&handlesContent=
[+] cef_urlrequest_create:  https://spclient.wg.spotify.com/playlist/v2/playlist/37i9dQZF1DWWQp0YMTvpD3/diff?revision=1620735761%2C0000000055ae610c01ceef23215301756f5083e0&handlesContent=
[-] getaddrinfo:        gew-spclient.spotify.com

I haven't touched the whitelist/denylist, all that is being blocked/allowed is as default.

I've seen that a similar problem had surfaced in the previous version of the adblocker for people in the EUW region as I am (I'm referencing this issue) but it appears that the suggested whitelisted urls are already in the allowed endpoints.

Let me know if more info it's needed to address the issue.

abba23 commented 3 years ago

The spotify-adblock-git package from the AUR places spotify-adblock.so in /usr/lib, not /usr/local/lib. The correct command would be:

LD_PRELOAD=/usr/lib/spotify-adblock.so spotify

It looks like you're currently using an out-of-date version that you manually installed some time ago, using the instructions in the readme.

Kastakin commented 3 years ago

Oh... well, that's embarrassing...

Thank you kindly for the help, sorry for wasting your time!