[GH-ISSUE #33] Logout, Friends list, among others not working. #26

Closed
opened 2026-02-28 14:18:36 +03:00 by kerem · 16 comments
Owner

Originally created by @CharlieS1103 on GitHub (Jun 23, 2021).
Original GitHub issue: https://github.com/AnanthVivekanand/spotify-adblock/issues/33

On logout you recieve :
Uncaught (in promise) Error: POST request to sp://desktop/v1/logout failed with status code 404 at c.onSuccess (xpui.js:1) at onSuccess (xpui.js:1)

UpgradeStatus for friends list:
xpui.js:1 Error: SUB request to sp://desktop/v1/upgrade/status failed with status code 404 at c.onSuccess (xpui.js:1) at onSuccess (xpui.js:1) n @ xpui.js:1 onSuccess @ xpui.js:1 onSuccess @ xpui.js:1 xpui.js:1 Uncaught (in promise) Error: P

Originally created by @CharlieS1103 on GitHub (Jun 23, 2021). Original GitHub issue: https://github.com/AnanthVivekanand/spotify-adblock/issues/33 On logout you recieve : `Uncaught (in promise) Error: POST request to sp://desktop/v1/logout failed with status code 404 at c.onSuccess (xpui.js:1) at onSuccess (xpui.js:1)` UpgradeStatus for friends list: `xpui.js:1 Error: SUB request to sp://desktop/v1/upgrade/status failed with status code 404 at c.onSuccess (xpui.js:1) at onSuccess (xpui.js:1) n @ xpui.js:1 onSuccess @ xpui.js:1 onSuccess @ xpui.js:1 xpui.js:1 Uncaught (in promise) Error: P`
kerem closed this issue 2026-02-28 14:18:36 +03:00
Author
Owner

@AnanthVivekanand commented on GitHub (Jun 23, 2021):

Where are these errors occurring? Are these in the Spotify log or mitm.js log?

<!-- gh-comment-id:867205362 --> @AnanthVivekanand commented on GitHub (Jun 23, 2021): Where are these errors occurring? Are these in the Spotify log or mitm.js log?
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

@AnanthVivekanand These errors are in the spotify console, would you like me to send mitm.js log as well?

<!-- gh-comment-id:867206862 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): @AnanthVivekanand These errors are in the spotify console, would you like me to send mitm.js log as well?
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

Screen Shot 2021-06-23 at 6 44 40 PM
<!-- gh-comment-id:867207366 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): <img width="730" alt="Screen Shot 2021-06-23 at 6 44 40 PM" src="https://user-images.githubusercontent.com/60494758/123177330-12ef9f80-d453-11eb-9339-69a533bf0f88.png">
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

Screen Shot 2021-06-23 at 6 45 27 PM
<!-- gh-comment-id:867207649 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): <img width="737" alt="Screen Shot 2021-06-23 at 6 45 27 PM" src="https://user-images.githubusercontent.com/60494758/123177388-2f8bd780-d453-11eb-9405-bb304bc70092.png">
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

Believe it or not, atm nothing that requires a connection at all is working, probably not a bug with this but would appreciate any help with why this is happening

<!-- gh-comment-id:867208355 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): Believe it or not, atm nothing that requires a connection at all is working, probably not a bug with this but would appreciate any help with why this is happening
Author
Owner

@AnanthVivekanand commented on GitHub (Jun 23, 2021):

Could you start from a fresh git clone and paste a full log of how you set everything up?

<!-- gh-comment-id:867209033 --> @AnanthVivekanand commented on GitHub (Jun 23, 2021): Could you start from a fresh git clone and paste a full log of how you set everything up?
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

@AnanthVivekanand I don't think it's an issue with your app, I figured it out(proxy settings randomly reset.) My setup is spicetify with some custom themes and extensions set up, and I then wrote a script to toggle remove ads, wrapped that in a separate Spotify app(on mac.) for convenience, If it happens again I can always write a small script for recurrently checking the settings, however Logout and Friends list still don't work, which I believe is an issue with the spotify ad block.

<!-- gh-comment-id:867210552 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): @AnanthVivekanand I don't think it's an issue with your app, I figured it out(proxy settings randomly reset.) My setup is spicetify with some custom themes and extensions set up, and I then wrote a script to toggle remove ads, wrapped that in a separate Spotify app(on mac.) for convenience, If it happens again I can always write a small script for recurrently checking the settings, however Logout and Friends list still don't work, which I believe is an issue with the spotify ad block.
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

It seems to break whenever I hit the logout button, reset the proxy settings and such

<!-- gh-comment-id:867211711 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): It seems to break whenever I hit the logout button, reset the proxy settings and such
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

It works fine when spicetify is not applied, sorry for the trouble, I'll contact @khanas about it

<!-- gh-comment-id:867211963 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): It works fine when spicetify is not applied, sorry for the trouble, I'll contact @khanas about it
Author
Owner

@AnanthVivekanand commented on GitHub (Jun 23, 2021):

Ok, I wonder why spicetify conflicts with this. Please share any info if you discover anything.

<!-- gh-comment-id:867212313 --> @AnanthVivekanand commented on GitHub (Jun 23, 2021): Ok, I wonder why spicetify conflicts with this. Please share any info if you discover anything.
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

@AnanthVivekanand Will do, I think it's probably something where preferences are saved based on the user signed in so when I log out the proxy settings are reset and I'm unable to log in, I'm going to look into a way to set the default preferences

<!-- gh-comment-id:867213136 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): @AnanthVivekanand Will do, I think it's probably something where preferences are saved based on the user signed in so when I log out the proxy settings are reset and I'm unable to log in, I'm going to look into a way to set the default preferences
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

@AnanthVivekanand Yeah, I think that Spicetify actually doesn't conflict, but using Spicetify restore backup (resets proxy settings)will fix the issue however you won't be able to log out. I'm confused on a way to fix this other than just stopping your proxy to log out which would be annoying but not impossible, you could potentially implement something to fix this, although I'm not sure what.

<!-- gh-comment-id:867214092 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): @AnanthVivekanand Yeah, I think that Spicetify actually doesn't conflict, but using Spicetify restore backup (resets proxy settings)will fix the issue however you won't be able to log out. I'm confused on a way to fix this other than just stopping your proxy to log out which would be annoying but not impossible, you could potentially implement something to fix this, although I'm not sure what.
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

The proxy is still up on my computer even after I close the wrapper too which I find odd, I can't even find it in the processes

<!-- gh-comment-id:867218299 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): The proxy is still up on my computer even after I close the wrapper too which I find odd, I can't even find it in the processes
Author
Owner

@CharlieS1103 commented on GitHub (Jun 23, 2021):

Applications/SpotifyReal.app/Contents/MacOS/SpotifyReal ; exit;
Proxy is up on port 8082
2021-06-23 19:48:24.378 Spotify[2429:21432] This NSLayoutConstraint is being configured with a constant that exceeds internal limits.  A smaller value will be substituted, but this problem should be fixed. Break on BOOL _NSLayoutConstraintNumberExceedsLimit(void) to debug.  This will be logged only once.  This may break in the future.
Allowing: login5.spotify.com
Allowing: apresolve.spotify.com
Allowing: guc3-accesspoint-a-n4f7.ap.spotify.com
Allowing: guc-dealer.spotify.com
Allowing: guc-spclient.spotify.com
Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0=
Allowing: api-partner.spotify.com
Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0=
Allowing: xpui.app.spotify.com
Error: getaddrinfo ENOTFOUND xpui.app.spotify.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'xpui.app.spotify.com'
}
Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0=
Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0=
Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0=
Blocked: https://spclient.wg.spotify.com/ad-logic/flashpoint
Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0=

<!-- gh-comment-id:867229685 --> @CharlieS1103 commented on GitHub (Jun 23, 2021): ``` Applications/SpotifyReal.app/Contents/MacOS/SpotifyReal ; exit; Proxy is up on port 8082 2021-06-23 19:48:24.378 Spotify[2429:21432] This NSLayoutConstraint is being configured with a constant that exceeds internal limits. A smaller value will be substituted, but this problem should be fixed. Break on BOOL _NSLayoutConstraintNumberExceedsLimit(void) to debug. This will be logged only once. This may break in the future. Allowing: login5.spotify.com Allowing: apresolve.spotify.com Allowing: guc3-accesspoint-a-n4f7.ap.spotify.com Allowing: guc-dealer.spotify.com Allowing: guc-spclient.spotify.com Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0= Allowing: api-partner.spotify.com Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0= Allowing: xpui.app.spotify.com Error: getaddrinfo ENOTFOUND xpui.app.spotify.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) { errno: 'ENOTFOUND', code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'xpui.app.spotify.com' } Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0= Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0= Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0= Blocked: https://spclient.wg.spotify.com/ad-logic/flashpoint Blocked: https://spclient.wg.spotify.com/ads/v2/config?payload=eyJ1c2VyX2FnZW50IjoiTW96aWxsYVwvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzM2LjAuMTk0NC4wIFNhZmFyaVwvNTM3LjM2IFNwb3RpZnlcLzExNjAwMDY3MiAoOTsgMDsgMikiLCJzZXNzaW9uX2lkIjoiZGMyYjgyYmUtMTNkZi00OGY2LWEyYmYtZWEwNGU0NmE2YTA2In0= ```
Author
Owner

@AnanthVivekanand commented on GitHub (Jun 25, 2021):

What is SpotifyReal.app? Is this a modded Spotify?

<!-- gh-comment-id:868156099 --> @AnanthVivekanand commented on GitHub (Jun 25, 2021): What is SpotifyReal.app? Is this a modded Spotify?
Author
Owner

@CharlieS1103 commented on GitHub (Jun 25, 2021):

@AnanthVivekanand It's the wrapper I made to run spotify and spotify adblock at the same time and together (So i don't have to see spotify adblock console as well.)

<!-- gh-comment-id:868172323 --> @CharlieS1103 commented on GitHub (Jun 25, 2021): @AnanthVivekanand It's the wrapper I made to run spotify and spotify adblock at the same time and together (So i don't have to see spotify adblock console as well.)
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/spotify-adblock#26
No description provided.