Giter Site home page Giter Site logo

Comments (8)

Matt17BR avatar Matt17BR commented on July 26, 2024 1

Right, followed those steps but the issue didn't seem to get fixed, I first tried adding both xpui.app.spotify.com and then gew-spclient.spotify.com to the whitelist before building as instructed in readme but that didn't do the trick.

However! What fixed it was whitelisting gew-dealer.spotify.com, api-partner.spotify.com, api.spotify.con After whitelisting the first one alone, I got the hompage and the search function to work. Whitelisting the second one finally provides proper support for the album and artist pages, while the third one makes the queue work again. So that seems to solve the issue. Will try using the client a bit and see if there's any adverse effects, but I doubt so.

from spotify-adblock-linux.

Matt17BR avatar Matt17BR commented on July 26, 2024 1

@GuessWhatBBQ When testing yesterday I pretty much tested all combinations of those 3 URLs, in order to check what whitelisting each one did and whether anyone was redundant, so no, unfortunately you need all 3. I'll try testing whether whitelisting *dealer works as soon as I'm home though, that does make sense!

from spotify-adblock-linux.

Matt17BR avatar Matt17BR commented on July 26, 2024 1

@GuessWhatBBQ I can now confirm that everything seems to work as expected by replacing dealer.spotify.com with *dealer.spotify.com on line 37 of the whitelist, as well as adding the two api links mentioned above.

from spotify-adblock-linux.

abba23 avatar abba23 commented on July 26, 2024 1

Nice work! I'll just go ahead and add api.spotify.com, api-partner.spotify.com and *dealer.spotify.com to the whitelist.

from spotify-adblock-linux.

abba23 avatar abba23 commented on July 26, 2024

Thanks for the report. Blocking requests to gew-spclient.spotify.com doesn't break anything for me, so I don't think that's the culprit. I can however see blocked requests to xpui.app.spotify.com in your log, which don't appear in mine.

Since I can't reproduce this myself, you'll have to test it by adding that domain to the whitelist and building yourself. Just follow the build steps in the readme, but add xpui.app.spotify.com to whitelist.h before running make. Then launch Spotify using LD_PRELOAD=./spotify-adblock.so spotify (in the same directory) and see if it works.

from spotify-adblock-linux.

GuessWhatBBQ avatar GuessWhatBBQ commented on July 26, 2024

Can confirm the testing by Matt17BR partially. Whitelisting both api-partner.spotify.com and api.spotify.com was required for spotify to be functional, I had the same issues outlined above by Matt17BR. I'm in the South Asia region by the way.

Now regarding the gew-dealer.spotify.com, my guess is that it's specific to Europe West as specified by the gEW at the beginning of the url, and after doing a dns lookup I saw that it has an alias gew-dealer-ssl.spotify.com which is most likely an ssl server. Furthermore it doesnt show up on my logs and the closest thing I could find is dealer.spotify.com which shows up in both our logs as a whitelisted connection, and after doing a dns lookup on dealer.spotify.com it ends up having an alias of global-dealer-ssl.spotify.com most likely another ssl server.

On a side note, after messing around with dns lookups in dig I ended up finding gae-dealer.spotify.com which has an alias gae-dealer-ssl.spotify.com. I'm sure you're noticing a pattern here.

All this makes me believe that your client was facing difficulties with the global server and thus tried connecting to one closer to your region and ended up getting blacklisted as it had a different url pattern than the whitelisted one. This could easily be solved by modifying the whitelist to *dealer.spotify.com, as there is already an entry for it, to account for any such cases in the future.

Testing from @Matt17BR regarding my solution would be appreciated. Also could you try to whitelist just the api urls to see if the issue with the dealer urls was a one off incident ?

Basically revert any changes to the whitelist.h file then add

"api-partner.spotify.com",
"api.spotify.com",

And if that doesnt work just modify "dealer.spotify.com" to "*dealer.spotify.com" at line 37.

from spotify-adblock-linux.

GuessWhatBBQ avatar GuessWhatBBQ commented on July 26, 2024

Looks like you've been pretty thorough hehe. Your research definitely saved me from a headache.

from spotify-adblock-linux.

GuessWhatBBQ avatar GuessWhatBBQ commented on July 26, 2024

It would be helpful if more people could test the solution before/if it's pushed to master. It's working fine for me now tho, which is better than it was a few hours ago when it was almost unusable.

@abba23 any chance of patching master so we can go back to using the AUR version ? I could open a PR if required

from spotify-adblock-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.