legendary icon indicating copy to clipboard operation
legendary copied to clipboard

Legendary isn't authenticating

Open Anastazbnko opened this issue 1 year ago • 7 comments

Platform

Operating system and version: Fedora Linux 38 Legendary version (legendary -V): 0.20.33, "Undue Alarm", installed via DNF

Expected Behavior

Legendary successfully authenticates

Current Behavior

Legendary throws an error: (output of legendary -v auth) [cli] INFO: Testing existing login data if present... [WebViewHelper] DEBUG: Webview unavailable, disabling webview login (Exception: ModuleNotFoundError("No module named 'webview'")). Please login via the epic web login! If the web page did not open automatically, please manually open the following URL: https://legendary.gl/epiclogin Please enter the "authorizationCode" value from the JSON response: <redacted> [Core] ERROR: Logging in failed with JSONDecodeError('Expecting value: line 1 column 1 (char 0)'), please try again. [cli] ERROR: Login attempt failed, please see log for details.

  • Note - I have tried running with --disable-webview, results are the same

Steps to Reproduce

  1. Run legendary auth
  2. Legendary throws an error and authentication fails

Additional information

This first popped up when I tried list-games, while I was still supposed to be authenticated. I proceeded to clear my user.json and try to login again, which didn't work so I opened this issue.

Anastazbnko avatar Jul 30 '23 23:07 Anastazbnko

I am also having this issue. I haven't touched my legendary instance since 0.20.31. I replaced the exe with 0.20.33.

Drakonas avatar Aug 11 '23 03:08 Drakonas

I have what's probably a variation of this problem. In my case, it's impossible to authenticate with 0.20.33, as the webview window never appears. Instead, the program just hangs indefinitely when it would. I went back to 0.20.32 to authenticate and had no trouble.

SkyNinja avatar Aug 12 '23 02:08 SkyNinja

I have what's probably a variation of this problem. In my case, it's impossible to authenticate with 0.20.33, as the webview window never appears. Instead, the program just hangs indefinitely when it would. I went back to 0.20.32 to authenticate and had no trouble.

Thx, work for me too

68498468 avatar Aug 28 '23 12:08 68498468

I have what's probably a variation of this problem. In my case, it's impossible to authenticate with 0.20.33, as the webview window never appears. Instead, the program just hangs indefinitely when it would. I went back to 0.20.32 to authenticate and had no trouble.

Thx, work for me too

after a legendary auth --delete and legenray auth, the webview window appear in 0.20.33

68498468 avatar Aug 29 '23 13:08 68498468

I have what's probably a variation of this problem. In my case, it's impossible to authenticate with 0.20.33, as the webview window never appears. Instead, the program just hangs indefinitely when it would. I went back to 0.20.32 to authenticate and had no trouble.

Thx, work for me too

after a legendary auth --delete and legenray auth, the webview window appear in 0.20.33

Yeah that worked perfectly for me too 😄

Sangresz avatar Sep 05 '23 07:09 Sangresz

I got this issue as well

[cli] INFO: Testing existing login data if present...
[WebViewHelper] INFO: Opening Epic Games login window...
[WebViewHelper] DEBUG: Loaded url: https://www.epicgames.com/id/logout
[WebViewHelper] DEBUG: Loaded url: https://www.epicgames.com/id/login
[0131/181305.499:ERROR:check.cc(314)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0131/181312.151:ERROR:check.cc(314)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0131/181317.716:ERROR:check.cc(314)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0131/181323.368:ERROR:check.cc(314)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[WebViewHelper] DEBUG: Got exchange code (stage 1)!
[Core] ERROR: Logging in failed with JSONDecodeError('Expecting value: line 1 column 1 (char 0)'), please try again.
[WebViewHelper] DEBUG: Loaded url: https://legendary.gl/goodbye
[WebViewHelper] INFO: Closing login window...
[cli] ERROR: WebView login attempt failed, please see log for details.

AyraHikari avatar Jan 31 '24 11:01 AyraHikari

Just fixed it, i got that error because my home network using private vpn. Epic detected it as bot and require me to solve their captcha. legendary doesn't forward captcha header, so that's why i get null result and json decode error. Just whitelist ol.epicgames.com in your router for prevent route in vpn, and everything will be working

AyraHikari avatar Feb 12 '24 04:02 AyraHikari