spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Error Authentication Failure on Windows [SSL Error]

Open kyhou opened this issue 1 year ago • 60 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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))

image

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

kyhou avatar Nov 27 '23 14:11 kyhou

I'm guessing you've outdated ssl certificates in your system or Spotify's one got outdated and they've not yet updated

KRTirtho avatar Nov 27 '23 14:11 KRTirtho

I'm also facing same error.

raaj1v avatar Nov 27 '23 16:11 raaj1v

I have the same problem. Edit: It works now but I don't know how. It might be related to site certificate. Edit2: It is broken today again.

hawkeyed avatar Nov 27 '23 20:11 hawkeyed

I have the same problem, tried to install 3.3 and 3.2, same thing in both versions

andrepgaspar avatar Nov 28 '23 18:11 andrepgaspar

So, I was able to finally login. What I did was to logout and log back in with my spotify account and get the new sp_dc and sp_key.

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. Edit: I mean login again to spotify specifically.

kyhou avatar Nov 29 '23 16:11 kyhou

I just got the same error again. But, this time, I was not able to login again. I tried what I talked about in the previous post but it didn't work.

I will wait a bit more and try again, if anything changes I will make a new post.

kyhou avatar Nov 30 '23 17:11 kyhou

having the same error for both previous to new 3.3.0 version.

UPDATE: Tested on different Windows machine and still having this issue. not able to point where exactly this path the error is referring to.. couldn't find it on event viewer or logs. image

grcgela avatar Dec 02 '23 11:12 grcgela

Can you guys specify your region. I'm still unable to reproduce this

KRTirtho avatar Dec 04 '23 11:12 KRTirtho

I'm from Brazil.

kyhou avatar Dec 04 '23 13:12 kyhou

I'm from France and I have exactly the same error message on Windows 10.

mitch55500 avatar Dec 04 '23 17:12 mitch55500

hi same for me try to disconnect from spotify then clear cookies, the key change but same error

rod93 avatar Dec 05 '23 20:12 rod93

Can you guys specify your region. I'm still unable to reproduce this

I have the same issue on one device, while it works fine on the other device so maybe it is not region dependant.

atiktak avatar Dec 07 '23 21:12 atiktak

tried again and got the same error. Im using it from Philippines.

grcgela avatar Dec 08 '23 22:12 grcgela

Is that happening for all Windows 10 users, not any other devices?

KRTirtho avatar Dec 09 '23 03:12 KRTirtho

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

anrg77 avatar Dec 09 '23 10:12 anrg77

Same here on W11 using Parallels. Looking into it

karniv00l avatar Dec 09 '23 11:12 karniv00l

Works fine on:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.18.0-7.0.pre.55, on Microsoft Windows [Version 10.0.22621.2361], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.5.5)
[!] Android Studio (not installed)
[✓] VS Code (version 1.85.0)
[✓] Connected device (3 available)
[✓] Network resources

BoringSSL is an SDK dependency, maybe try releasing with the newer Flutter version

karniv00l avatar Dec 09 '23 12:12 karniv00l

Wow, thanks for finding out the root issue 💪 Does it work with beta channel, at least? Master channel is too much risky imo 😓

KRTirtho avatar Dec 09 '23 14:12 KRTirtho

Work fine for me on stable 3.16.3

karniv00l avatar Dec 10 '23 10:12 karniv00l

I updated Flutter to latest version in nightly. Please check if it works.

KRTirtho avatar Dec 10 '23 16:12 KRTirtho

Just tried on nightly 184, still doesn't work for me

atiktak avatar Dec 10 '23 17:12 atiktak

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)

Goteer avatar Dec 16 '23 08:12 Goteer

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.

mitch55500 avatar Dec 16 '23 15:12 mitch55500

Hello @Goteer

I have same scenario as you with the Windows. Can you elaborate further on the certutil and SST files?

Fizzify avatar Dec 25 '23 01:12 Fizzify

Never mind, I fixed it using this guide. Many thanks!

https://support.microfocus.com/kb/kmdoc.php?id=KM03573386

Fizzify avatar Dec 25 '23 01:12 Fizzify

Glad you were able to fix, hopefully that guide helps more people.

Might want to make the error suggest what might be wrong at least though

25 dic. 2023 10:21:00 Fizzify @.***>:

Never mind, I fixed it using this guide. Many thanks!

https://support.microfocus.com/kb/kmdoc.php?id=KM03573386

— Reply to this email directly, view it on GitHub[https://github.com/KRTirtho/spotube/issues/905#issuecomment-1868643150], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKOFN43XBUXVD6JE6IFCWTDYLDIHZAVCNFSM6AAAAAA74EDT7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGY2DGMJVGA]. You are receiving this because you were mentioned.[Imagen de rastreo][https://github.com/notifications/beacon/AKOFN4ZEOEV6YFVDZKFB7QDYLDIHZA5CNFSM6AAAAAA74EDT7OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTPME5U4.gif]

Goteer avatar Dec 25 '23 03:12 Goteer

Is this issue still relevant in 3.4.0?

KRTirtho avatar Jan 01 '24 03:01 KRTirtho

Never mind, I fixed it using this guide. Many thanks!

https://support.microfocus.com/kb/kmdoc.php?id=KM03573386

that works, thank you!

wayleung avatar Jan 01 '24 04:01 wayleung

Glad you were able to fix, hopefully that guide helps more people. Might want to make the error suggest what might be wrong at least though 25 dic. 2023 10:21:00 Fizzify @.***>: … Never mind, I fixed it using this guide. Many thanks! https://support.microfocus.com/kb/kmdoc.php?id=KM03573386 — Reply to this email directly, view it on GitHub[#905 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKOFN43XBUXVD6JE6IFCWTDYLDIHZAVCNFSM6AAAAAA74EDT7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGY2DGMJVGA]. You are receiving this because you were mentioned.[Imagen de rastreo][https://github.com/notifications/beacon/AKOFN4ZEOEV6YFVDZKFB7QDYLDIHZA5CNFSM6AAAAAA74EDT7OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTPME5U4.gif]

that works, thank you!

DoubleSheeps avatar Jan 02 '24 08:01 DoubleSheeps

how to change root certification on firefox v112 for mac?

happyeverydays414 avatar Jan 02 '24 09:01 happyeverydays414