-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error Authentication Failure on Windows [SSL Error] #905
Comments
I'm guessing you've outdated ssl certificates in your system or Spotify's one got outdated and they've not yet updated |
I'm also facing same error. |
I have the same problem. |
I have the same problem, tried to install 3.3 and 3.2, same thing in both versions |
So, I was able to finally login. The thing is, when I opened the spotify page I didn't need to login again, the saved credentials worked but in the Spotube app it gave that error. When I manually logged off and logged back in it generated new credentials and those worked. Maybe this is just a case of showing a better error msg informing the user that he needs to logout and log back in again. |
I just got the same error again. I will wait a bit more and try again, if anything changes I will make a new post. |
Can you guys specify your region. I'm still unable to reproduce this |
I'm from Brazil. |
I'm from France and I have exactly the same error message on Windows 10. |
hi same for me try to disconnect from spotify then clear cookies, the key change but same error |
I have the same issue on one device, while it works fine on the other device so maybe it is not region dependant. |
tried again and got the same error. Im using it from Philippines. |
Is that happening for all Windows 10 users, not any other devices? |
the same is happening with windows 10 and 11 23h2 in Indian region |
Same here on W11 using Parallels. Looking into it |
Works fine on:
BoringSSL is an SDK dependency, maybe try releasing with the newer Flutter version |
Wow, thanks for finding out the root issue 💪 |
Work fine for me on stable |
I updated Flutter to latest version in nightly. Please check if it works. |
Just tried on nightly 184, still doesn't work for me |
Had this error, and because I have a very slimmed down version of windows 10 I decided to manually update my ssl certificates using certutil and powershell. After restarting spotube it now works (At least under nightly 184, haven't checked release yet) For anyone with this same issue, check windows updates, as you might just need to get new certificates (Or update them manually if you refuse to use windows updates, look up certutil and SST files) |
Hi all, for any reason I can't explain, I can now login in without any problem. Maybe thanks of a windows update as @Goteer would say it. Works with master ou nightly versions on windows 10. |
Hello @Goteer I have same scenario as you with the Windows. Can you elaborate further on the certutil and SST files? |
Never mind, I fixed it using this guide. Many thanks! |
很显然的,如果一个人可以在github描述一个软件的bug,那么这个人是有VPN的。所以这个问题根本不是因为VPN。 |
(Note sure if the translation is correct) This was the solution that worked last time https://support.microfocus.com/kb/kmdoc.php?id=KM03573386 This issue was happening due to outdated ssl certificates used by Flutter framework. But, that issue is fixed because the certificates were updated by Flutter framework. The errors you're facing are entirely different. Also, I should've closed this thread and directed everyone with this issue to a new issue thread. That's my bad.
I'm not sure if it got messed in the translation but Try to help fix the issue. Everyone here is willingly volunturing, so be thankful for their valuable time and cooperate if possible. |
May I mention that that updating root certificates manually doesn't work for now... |
@KRTirtho since my last comment it was working just fine. Btw, how do I get some logs to help with this? The logs menu is empty. |
Same Problem again, i am on win11, tried installing new WIndows update but didnt fix it. I am also on V3.6.0 in Germany Funny thing is on another machine in the same Network wich also runs on Win11 newest Updates installed i dont have a Problem.... |
@kyhou I got it fixed. The Region in Settings was somehow completly wrong, i set the Region to my Region again and then everything loaded and i didnt get the error. Maybe this helps |
* fix: certificate error by using custom ssl certificate * Cd/docker linux ar (#1468) * cd: use docker buildx * cd: use linux host for linux arm instead of macos m1 m1 doesn't support nested virtualization. (Apple truly sucks) * cd: don't specify arch in Dockerfile * cd: use custom Dockerfile from ubuntu instead of flutter image * cd: add setup java for android * cd: add flutter distributor pre-built docker image for arm * cd: save me from this cursed arm build * cd: ?? * cd: ?? * cd: use docker build * fix: windows SSL Exception for Signing in * refactor: extract update checker as a basic function instead of a hook
Ok, so only for login part I allowed ignoring SSL errors for only You can find the update in the nightly builds |
works, hopefully merge to the stable version soon |
humm, tried and for me didn't work :/
@KRTirtho Just tried and it worked!! |
非常感谢作者回复。实际上我之前已经更新过证书了,更新过程并无任何错误,但错误无法登录。今天再次尝试登录竟然成功了,我猜测之前无法登录的原因是:更新了证书后没有重启电脑(我猜的) |
I reinstalled and it works |
Not working windows 10 21H2 New Zealand region |
Same here |
If you are using Spotify free tier, check the country in your account settings. Spotify doesn't allow connections from outside the country in your profile. This fixed it for me. |
not working, same issue-- US region. freshly updated windows, spotify free |
Same problem with v3.6; Windows 10 updated; BD Region in account and app settings |
* chore: fix analyzer issues * fix(updater): dead link (#1408) * docs: broken link in README.md (fixes #1310) (#1311) * docs: remove appimage link in readme #1082 (#1171) * Updating Readme according to #1082 Updating Readme according to #1082 * Added explanation The explanation is now given and the expression is more formal and explanatory, instead of just linking the issue. * Update use_update_checker.dart --------- Co-authored-by: MerkomassDev <70111455+MerkomassDev@users.noreply.github.com> Co-authored-by: Karim <37943746+ksaadDE@users.noreply.github.com> Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com> * fix(linux): tray icon not showing #541 upgrade old packages * fix(search): load more button not working #1417 * fix: spotify friends and user profile icon (mobile) showing when not authenticated #1410 * chore: add docker and m1 based linux arm build * cd: fix sed failing us * cd: use docker cask * fix: windows SSL Certificate error breaking login #905 (#1474) * fix: certificate error by using custom ssl certificate * Cd/docker linux ar (#1468) * cd: use docker buildx * cd: use linux host for linux arm instead of macos m1 m1 doesn't support nested virtualization. (Apple truly sucks) * cd: don't specify arch in Dockerfile * cd: use custom Dockerfile from ubuntu instead of flutter image * cd: add setup java for android * cd: add flutter distributor pre-built docker image for arm * cd: save me from this cursed arm build * cd: ?? * cd: ?? * cd: use docker build * fix: windows SSL Exception for Signing in * refactor: extract update checker as a basic function instead of a hook * cd: fix windows build error due to nightly version format * cd: fix github versioning scheme * chore: remove assets/ca entry in pubspec.yaml * fix(macos): Logs directory not created by default #1353 * refactor: Dart based Github Workflow CLI (#1490) * feat: add build dart script for windows * feat: add android build support * feat: add linux build support * feat: add macos build support * feat: add ios build support * feat: add deps install command and workflow file * cd: what? * cd: what? * cd: what? * cd: update workflow inputs * cd: replace release binary * cd: run flutter pub get * cd: use dpkg zstd instead of xz, windows disable innoInstall, fix channel enum.name and reset pubspec after changing build no for nightly * cd: fix tar copy path * cd: fix copy linux command * cd: fix windows inno depend and fix android aab path * cd: idk * cd: linux why??? * cd: windows choco copy failed * cd: use dart tar archive for creating tar file * cd: fix linux file copy error * cd: use tar command directly * feat: add linux_arm platform * cd: add linux_arm platform * cd: don't know what? * feat: notification about nightly channel update * chore: fix some errors parsing nightly version info * refactor: move dart scripts as commands under CLI * chore: add translated message command to command list * feat(translations): add Basque translation (#1493) * added Basque translation * chore: fix country codes and language native name --------- Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com> * feat(translations): add georgian language (#1450) * feat: add georgian language * feat: translate more georgian words * feat(translations): add Finnish translations (#1449) * docs: broken link in README.md (fixes #1310) (#1311) * docs: remove appimage link in readme #1082 (#1171) * Updating Readme according to #1082 Updating Readme according to #1082 * Added explanation The explanation is now given and the expression is more formal and explanatory, instead of just linking the issue. * added finnish translation * chore: fix arb syntax errors and language in l10n entries --------- Co-authored-by: MerkomassDev <70111455+MerkomassDev@users.noreply.github.com> Co-authored-by: Karim <37943746+ksaadDE@users.noreply.github.com> Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com> Co-authored-by: Onni Nevala <nevalaonni@gmail.com> * feat(translations): add Indonesian translation (#1426) * docs: broken link in README.md (fixes #1310) (#1311) * docs: remove appimage link in readme #1082 (#1171) * Updating Readme according to #1082 Updating Readme according to #1082 * Added explanation The explanation is now given and the expression is more formal and explanatory, instead of just linking the issue. * Add Indonesia translation --------- Co-authored-by: MerkomassDev <70111455+MerkomassDev@users.noreply.github.com> Co-authored-by: Karim <37943746+ksaadDE@users.noreply.github.com> Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com> * feat(translations): Improve tr locales (#1419) * docs: broken link in README.md (fixes #1310) (#1311) * docs: remove appimage link in readme #1082 (#1171) * Updating Readme according to #1082 Updating Readme according to #1082 * Added explanation The explanation is now given and the expression is more formal and explanatory, instead of just linking the issue. * Improve tr locales --------- Co-authored-by: MerkomassDev <70111455+MerkomassDev@users.noreply.github.com> Co-authored-by: Karim <37943746+ksaadDE@users.noreply.github.com> Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com> * feat(player): add volume slider floating label showing percentage (#1445) * docs: broken link in README.md (fixes #1310) (#1311) * docs: remove appimage link in readme #1082 (#1171) * Updating Readme according to #1082 Updating Readme according to #1082 * Added explanation The explanation is now given and the expression is more formal and explanatory, instead of just linking the issue. * add volume level tooltip in volume_slider --------- Co-authored-by: MerkomassDev <70111455+MerkomassDev@users.noreply.github.com> Co-authored-by: Karim <37943746+ksaadDE@users.noreply.github.com> Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com> * fix: fallback to LRCLIB when lyrics line less than 6 lines #1461 * feat: Local music library (#1479) * feat: add one additional library folder This folder just doesn't get downloaded to. I think I'm going to rework it so that it can be multiple folders, but I'm going to commit my progress so far anyway. Signed-off-by: Blake Leonard <me@blakes.dev> * chore: update dependencies so that it builds I'm not sure if this breaks CI or something, but I couldn't build it locally to test my changes, so I made these changes and it builds again. Signed-off-by: Blake Leonard <me@blakes.dev> * feat: index multiple folders of local music If you used a previous commit from this branch, this is a breaking change, because it changes the type of a configuration field. but since this is still in development, it should be fine. Signed-off-by: Blake Leonard <me@blakes.dev> * refactor: manage local library in local tracks tab This also refactors the list to use slivers instead. That's the easiest way to have multiple scrolling lists here... The console keeps getting spammed with some intermediate layout error but I can't hold it long enough to figure out what's causing it. Signed-off-by: Blake Leonard <me@blakes.dev> * refactor: use folder add/remove icons in library Signed-off-by: Blake Leonard <me@blakes.dev> * refactor: remove redundant settings page Signed-off-by: Blake Leonard <me@blakes.dev> * refactor: rename "Local Tracks" to just "Local" Not sure if this would be the recommended way to do it... Signed-off-by: Blake Leonard <me@blakes.dev> * fix: console spam about useless Expanded Signed-off-by: Blake Leonard <me@blakes.dev> * chore: remove completed TODO Signed-off-by: Blake Leonard <me@blakes.dev> * chore: use new Platform constants; regenerate plugins Signed-off-by: Blake Leonard <me@blakes.dev> * refactor: put local libraries on separate pages Signed-off-by: Blake Leonard <me@blakes.dev> --------- Signed-off-by: Blake Leonard <me@blakes.dev> * fix: local track not showing up in queue * feat: local library folder cards * feat: personalized stats based on local music history (#1522) * feat: add playback history provider * feat: implement recently played section * refactor: use route names * feat: add stats summary and top tracks/artists/albums * feat: add top date based filtering * feat: add stream money calculation * refactor: place search in mobile navbar and settings in home appbar * feat: add individual minutes and streams page * feat(stats): add individual minutes and streams page * chore: default period to 1 month * feat: add text to explain user how hypothetical fees are calculated * chore: ensure usage of route names instead of direct paths * cd: add cache key * cd: remove media_kit_event_loop from git * fix: some text are garbled in different parts of the app #1463 #1505 * refactor: use replace http with dio and use it as the default * cd: use dio in cli as well * chore: fix home feed not showing up * chore: downloaded tracks folder not opening * feat: play initially available tracks of playlist/album immediately and fetch rest in background #670 * feat: upgrade to Flutter 3.22.0 * refactor: migrate deprecated warnings * fix(playback): skipping tracks with unplayable sources instead of falling back #1492 * chore: migrate android gradle to declarative config syntax * chore: disable impeller for now * fix(windows): installer tries to install in current directory * chore: upgrade deps and appbar bg fix * chore: podspec update * chore: bump version and generate changelogs --------- Signed-off-by: Blake Leonard <me@blakes.dev> Co-authored-by: Kshamendra <github@ghoulcloud.slmail.me> Co-authored-by: MerkomassDev <70111455+MerkomassDev@users.noreply.github.com> Co-authored-by: Karim <37943746+ksaadDE@users.noreply.github.com> Co-authored-by: Josu Igoa <josuigoa@ni.eus> Co-authored-by: Omari Sopromadze <omari.sopromadze@gmail.com> Co-authored-by: ctih <78687256+ctih1@users.noreply.github.com> Co-authored-by: Onni Nevala <nevalaonni@gmail.com> Co-authored-by: Yusril Rapsanjani <yusriltakeuchi@gmail.com> Co-authored-by: W͏ I͏ N͏ Z͏ O͏ R͏ T͏ <75412448+mikropsoft@users.noreply.github.com> Co-authored-by: Akash Pattnaik <akashjio66666@gmail.com> Co-authored-by: Blake Leonard <blake@1024256.xyz>
I'll offer a thought, I had the same login problem at first, and tried some of the methods under this topic, but it didn't work. In the end, I added a proxy in the system environment variable, like this, I added three kinds at once, and then restarted the explorer or computer, and the login was successful. Friends can try to see if it works! |
I turned on Clash's |
I found a solution, for example, my place of registration is Japan, then I need to open the global agent Japan before landing, if I open the Singapore agent, although I can log in to spotify, but sp_dc is not available at this time, you need to log out, open the global agent of registration, and then log in, sp_dc is available!(translate) |
I also ran into this problem, but I figured it out. If there's no certificate (in my case there wasn't), you must first install, then login using the Spotify App (not the Web browser). I was using a freshly installed Windows 11 (Tiny 11 23h2) but never had the Spotify App installed, so I was just trying to use the Spotify Web App (which I could login successfully and access my account). So I just decided to install the Spotify App, and then I was able to login to the Spotify App (dc_sp key was the same). Once I did that, I closed the Spotify App, and launched Spotube 3.6.0 (3.7.0, 3.7.1 and 3.8.0 aren't launching). I was then able to connect via dc_sp key. Hope this might help some who encounters this issue. |
Is there an existing issue for this?
Current Behavior
When trying to login on windows I'm getting and Authentication error: Error Authentication Failure - HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:393))
Expected Behavior
Login process should work.
Steps to reproduce
Open app.
Go to settings.
Try to login.
Operating System
Windows 10 Pro 22H2
Spotube version
v3.2.0
Installation source
GitHub Releases (Binary)
Additional information
No response
The text was updated successfully, but these errors were encountered: