Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy setting doesnt work? #451

Open
awnrt opened this issue May 17, 2024 · 2 comments
Open

proxy setting doesnt work? #451

awnrt opened this issue May 17, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@awnrt
Copy link

awnrt commented May 17, 2024

Describe the bug
Setting up a proxy in app.toml doesn't do anything
tried both
proxy = "http://ip:port"
and
proxy = "ip:port"

Expected behaviour
Loading artist and album pages

Log and backtrace

2024-05-17T13:18:35.090618Z ERROR client_request{request=GetContext(Album(AlbumId("4il76IU7nxK7XwLDn5ta3T")))}: spotify_player::client::handlers: Failed to handle client request: http error: status code 403 Forbidden
2024-05-17T13:18:36.009379Z  INFO client_request{request=GetContext(Album(AlbumId("4il76IU7nxK7XwLDn5ta3T")))}: spotify_player::client: Get album context: spotify:album:4il76IU7nxK7XwLDn5ta3T
2024-05-17T13:18:36.099925Z ERROR client_request{request=GetContext(Album(AlbumId("4il76IU7nxK7XwLDn5ta3T")))}: spotify_player::client::handlers: Failed to handle client request: http error: status code 403 Forbidden
2024-05-17T13:18:37.016939Z  INFO client_request{request=GetContext(Album(AlbumId("4il76IU7nxK7XwLDn5ta3T")))}: spotify_player::client: Get album context: spotify:album:4il76IU7nxK7XwLDn5ta3T
2024-05-17T13:18:37.104006Z ERROR client_request{request=GetContext(Album(AlbumId("4il76IU7nxK7XwLDn5ta3T")))}: spotify_player::client::handlers: Failed to handle client request: http error: status code 403 Forbidden
2024-05-17T13:18:38.022382Z  INFO client_request{request=GetContext(Album(AlbumId("4il76IU7nxK7XwLDn5ta3T")))}: spotify_player::client: Get album context: spotify:album:4il76IU7nxK7XwLDn5ta3T
2024-05-17T13:18:38.114480Z ERROR client_request{request=GetContext(Album(AlbumId("4il76IU7nxK7XwLDn5ta3T")))}: spotify_player::client::handlers: Failed to handle client request: http error: status code 403 Forbidden

Environment

  • OS: Artix Linux
  • Application version: 0.17.2-1 and 0.18.1-1
  • Application features: pulseaudio-backend,lyric-finder,media-control,sixel,streaming,notify,daemon

Additional context
Using proxychains to launch spotify-player works thought.

@awnrt awnrt added the bug Something isn't working label May 17, 2024
@aome510
Copy link
Owner

aome510 commented May 17, 2024

the proxy setting is used to configure the third-party library https://github.com/librespot-org/librespot/wiki/Behind-web-proxy, so it might not work with normal spotify API request though.

@aome510 aome510 added enhancement New feature or request and removed bug Something isn't working labels May 17, 2024
@aome510
Copy link
Owner

aome510 commented May 17, 2024

I guess scope of this issue will be updating the client code to support proxy when making a Spotify API request. Not familiar with the proxy concept myself, so this is not something I can look into

@aome510 aome510 added the help wanted Extra attention is needed label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants