aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
2.95k stars 132 forks source link

Unable to connect to client through CLI #455

Open dxnnv opened 1 month ago

dxnnv commented 1 month ago

Describe the bug All .\spotify-player.exe <command> commands return Error: try to connect to a client Caused by: An existing connection was forcibly closed by the remote host. (os error 10054)

To Reproduce Install Rust Install the v0.18.2 binary for Windows (Also tested this by installing with scoop, same behavior) Extract the binary, open powershell/cmd and run .\spotify-player.exe to add credentials Run any subcommand

Expected behaviour The subcommand gets executed as expected, sending the request to spotify api.

Log and backtrace Backtrace was empty, log provided

Screenshots Screenshot

Environment

Additional context Seemed to work fine via the GUI in ps/cmd, was able to connect to the client and use controls just fine. Only happens when using CLI. Also tried with providing my own clientId for a valid application (also worked with GUI but not CLI)

aome510 commented 1 month ago

I don't have access to windows machine, so it's hard for me to debug this kind of issue. Seeking for help 👀