hrkfdn / ncspot

Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
BSD 2-Clause "Simplified" License
5.09k stars 212 forks source link

Error on valid login account #1525

Closed wengkit1 closed 1 month ago

wengkit1 commented 1 month ago

Describe the bug Bad credentials

To Reproduce Steps to reproduce the behavior:

  1. ncspot on command line
  2. enter credentials
  3. bad credentials error or os error 61

Expected behavior Should be able to login with student premium account, but i get a bad credentials error.

Screenshots

Screenshot 2024-10-02 at 6 18 09 PM Screenshot 2024-10-02 at 6 18 32 PM

System (please complete the following information):

[2024-10-02][18:15:40] [ncspot::authentication] [INFO] Attempting to resolve credentials via username/password commands [2024-10-02][18:15:40] [cursive_buffered_backend] [DEBUG] output_all_to_backend started [2024-10-02][18:15:40] [cursive_buffered_backend] [DEBUG] output_all_to_backend finished [2024-10-02][18:15:42] [cursive_core::views::list_view] [DEBUG] Available: 18 [2024-10-02][18:15:42] [cursive_core::views::list_view] [DEBUG] Offset: 9 [2024-10-02][18:15:51] [librespot_core::apresolve] [WARN] Ignoring blacklisted access point ap-gew4.spotify.com:80 [2024-10-02][18:15:51] [librespot_core::session] [INFO] Connecting to AP "ap-gae2.spotify.com:4070" [2024-10-02][18:15:52] [cursive_buffered_backend] [DEBUG] output_all_to_backend started [2024-10-02][18:15:52] [cursive_buffered_backend] [DEBUG] output_all_to_backend finished [2024-10-02][18:15:54] [ncspot] [ERROR] Didn't obtain any credentials

Additional context Add any other context about the problem here.

aadilayub commented 1 month ago

I'm experiencing this error as well.

rpfernandezjr commented 1 month ago

same here

Ahwxorg commented 1 month ago

@wengkit1 / @aadilayub / @rpfernandezjr Could you fix this error?

rpfernandezjr commented 1 month ago

@wengkit1 / @aadilayub / @rpfernandezjr Could you fix this error?

Still experiencing the problem, i tried a login once and was able to connect, but after a few hours i got kicked out. I haven't been able to login in the last couple of days

i keep getting this with valid creds

image

here's some debug output i too. Hoping someone can point me in the right direction to get it working again.

[2024-10-09][10:19:22] [cursive_core::views::list_view] [DEBUG] Available: 18
[2024-10-09][10:19:22] [cursive_core::views::list_view] [DEBUG] Offset: 9
[2024-10-09][10:19:22] [cursive_buffered_backend] [DEBUG] output_all_to_backend started
[2024-10-09][10:19:22] [cursive_buffered_backend] [DEBUG] output_all_to_backend finished
[2024-10-09][10:19:22] [ncspot::spotify] [DEBUG] No HTTP proxy set
[2024-10-09][10:19:22] [mio::poll] [TRACE] registering event source with poller: token=Token(93992147562496), interests=READABLE | WRITABLE
[2024-10-09][10:19:22] [librespot_core::apresolve] [WARN] Ignoring blacklisted access point ap-gue1.spotify.com:4070
[2024-10-09][10:19:22] [mio::poll] [TRACE] deregistering event source from poller
[2024-10-09][10:19:22] [librespot_core::apresolve] [WARN] Ignoring blacklisted access point ap-gew4.spotify.com:80
[2024-10-09][10:19:22] [librespot_core::session] [INFO] Connecting to AP "ap-guc3.spotify.com:4070"
[2024-10-09][10:19:22] [mio::poll] [TRACE] registering event source with poller: token=Token(93992147563648), interests=READABLE | WRITABLE
[2024-10-09][10:19:23] [mio::poll] [TRACE] deregistering event source from poller
[2024-10-09][10:19:23] [cursive_buffered_backend] [DEBUG] output_all_to_backend started
[2024-10-09][10:19:23] [cursive_buffered_backend] [DEBUG] output_all_to_backend finished
[2024-10-09][10:19:28] [cursive_buffered_backend] [DEBUG] output_all_to_backend started
[2024-10-09][10:19:28] [cursive_buffered_backend] [DEBUG] output_all_to_backend finished
[2024-10-09][10:19:28] [cursive_buffered_backend] [DEBUG] output_all_to_backend started
[2024-10-09][10:19:28] [cursive_buffered_backend] [DEBUG] output_all_to_backend finished

some system info:

OS: Fedora Linux 40 (Workstation Edition) x86_64 ncspot version

❯ ncspot --version
ncspot 1.1.2
Ahwxorg commented 1 month ago

Same issue here

rpfernandezjr commented 1 month ago

@wengkit1 any chance you can reopen this issue? seems like some people are still experiencing the problem. or if you found the solution, can you share what it was?

hrkfdn commented 1 month ago

Please have a look at #1500

wengkit1 commented 1 month ago

@wengkit1 any chance you can reopen this issue? seems like some people are still experiencing the problem. or if you found the solution, can you share what it was?

hi all sry for the confusion caused, i shouldve tagged the original issue i found the solution on.

Ahwxorg commented 1 month ago

Could you please tag it now?

wengkit1 commented 1 month ago

Could you please tag it now?

hi, the creator of this repo tagged the issue. but for more information, you could refer to this.

here are the exact steps.

https://github.com/hrkfdn/ncspot/issues/1512#issuecomment-2345469521

Ahwxorg commented 1 month ago

Thank you!