Skip to content
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

Heroic Launcher store won't let me log in #906

Closed
AlonsoCagi opened this issue Jan 15, 2022 · 27 comments
Closed

Heroic Launcher store won't let me log in #906

AlonsoCagi opened this issue Jan 15, 2022 · 27 comments
Labels
issue:investigating This issue is being actively investigated.

Comments

@AlonsoCagi
Copy link

IMPORTANT! Do not erase this template!

Is this a game issue? If YES please use our Discord to get help.

Open here only issues with Heroic like: Heroic doesn't open, some button is out of place, Heroic closes unexpectedly, installs got interrupted, etc.

Try to get help on our Wiki first: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/wiki/Troubleshooting

Describe the bug
A clear and concise description of what the bug is.

In the Store area of the launcher, trying to log in through my Epic account so I can claim free games and/or buy games, it shows an error if the Captcha is correct:

Incorrect response. Please refresh the page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Store section of the launcher.
  2. Click on Sign in, choose Epic account.
  3. Enter credentials and solve Captcha.
  4. See error.

Expected behavior
Complete login to manage my Epic account from Heroic.

Desktop (please complete the following information):

  • OS: Windows 10
  • Heroic Version: Latest from Winget
  • Hardware specs (RAM, CPU, GPU): i7 7700HQ, 16GB RAM, 1050ti

Any ideas?

@cspack77
Copy link

Same issue here. I was able to login using the SID option as a workaround.

@StaringWhere
Copy link

StaringWhere commented Jan 16, 2022

Same. And I can't login using SID either. After I paste the SID number and click login button, it will navigate to the "login with epic" page.

@StaringWhere
Copy link

I solved this problem by turning off the VPN. Hope this helps.

@flavioislima flavioislima added the issue:investigating This issue is being actively investigated. label Jan 16, 2022
@flavioislima
Copy link
Member

I solved this problem by turning off the VPN. Hope this helps.

So you were able to login with SID or using the epic login?

@StaringWhere
Copy link

I solved this problem by turning off the VPN. Hope this helps.

So you were able to login with SID or using the epic login?

Both way works after turning off the VPN.

@cspack77
Copy link

Tried with and without VPN, makes no difference for me.

@catalyst1987
Copy link

I have the same issue. I am using the launcher on Kubuntu. Get "Incorrect response. Please refresh the page." and then gives me an ID number. I don't get prompted to do a captcha nor am I using a VPN. Happens when trying to login with Epic Games account. Haven't tried any other account methods.

@pholostan
Copy link

pholostan commented Jan 17, 2022

I have this issue too, doesn't matter what I input as email or password, the hCaptcha always sends me back with the message "Incorrect response. Please refresh page." and an ID.

I can log into the store just fine in a web browser.

Edit: Logging in via SID still doesn't log me into the store, so it doesn't work.

@Nocccer
Copy link
Collaborator

Nocccer commented Jan 17, 2022

There will be a fix in the next version. For me logging in with google worked. You can still logging in via sid for now.

@AlonsoCagi
Copy link
Author

AlonsoCagi commented Jan 18, 2022

I'm not sure if the title is too generic, but I meant as @pholostan says. There's no issue logging in via SID and sync the account with Heroic. The issue is that if I want to log in to the STORE section of Heroic via my Epic account, the embedded web browser won't let me do it even if the hCaptcha is correct.

I'd like to add that if I click on the accessibility option of hCaptcha during this process, they close immediately with no time to choose any option.

After some more failed attempts I checked with the debug option and it shows something to do with NoScript. I'm no programmer, but maybe that's the root of the problems?

@Maltavius
Copy link

Installed on Arch today,
The ordinary e-mail Epic login doesn't work, SID does.

@flavioislima
Copy link
Member

If you guys have time, test the version from our latest build that has the fix:
https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/actions/runs/1705072468

@marhmm
Copy link

marhmm commented Jan 20, 2022

The new version fixed the problem for me, thanks!

@qwertfisch
Copy link

qwertfisch commented Jan 20, 2022

Trying to login with the SID does not work with neither the latest build nor the current release 2.0.2. Heroic keeps redirecting me to „Login with Epic“ page. For security reasons I did not try to login there.
Edit: I am using the Windows version, if this does any difference here.

@Zorrototo
Copy link

Zorrototo commented Jan 23, 2022

Trying your AppImage build, I don't have a Captcha error, it goes further, but after entering the 2FA code, I have an error popup https://i.imgur.com/EDkQAr2.jpg then when I click the OK button, it was hanging on Loading Library with the spinning icon, after a moment as it was not loading, I clicked on the left side on the Sign In menu link, the menu changed, I was logged in, I clicked Store, I was auto logged in the Store, and noticed I was also logged in the Heroic client (bottom left side with my user name).

I nuked every Heroic folder in my Home before trying this AppImage for info.

I tried to buy one of the Free Games, it worked (with the usual Device Not Supported message before buying it).

PS: I reported the issue four (or two if you count the exact issue) days before this one, but it was closed, putting link for reference #895

@derrod
Copy link

derrod commented Jan 23, 2022

That's a curious error, since it appears that the SID exchange in Legendary fails. But I'm not sure what would cause that. I cannot reproduce it either when logging in normally. I wonder if there's something that invalidates the SID obtained from the embedded browser or similar.

@Zorrototo
Copy link

Zorrototo commented Jan 23, 2022

I tried again, started the AppImage, logged out, then logged in with my Epic credentials, put the 2FA code, and it logged me in right away, loaded the library instantly this time, and then I got the error popup again, but it still seems to work properly.

https://i.imgur.com/G2Cienf.jpg

Tell me if (and how) I can provide more info to troubleshoot the issue.

PS: I don't have Captcha at all in this AppImage, I had one before for login and store purchase.

PS2: after closing Heroic, I notice I still have the tray icon, and I can't get rid of it, right clicking it and clicking EXIT doesn't get rid of it. I have to kill the process. Nothing happens whatever menu item I hit.

@flavioislima
Copy link
Member

That's a curious error, since it appears that the SID exchange in Legendary fails. But I'm not sure what would cause that. I cannot reproduce it either when logging in normally. I wonder if there's something that invalidates the SID obtained from the embedded browser or similar.

Its happening because, for some reason, after the first login (that is successful), Heroic re-renders the State(since the user state was changed), but this is so fast that is making it heroic to call Legendary with the same SID again. So actually the error is from a second login trial.

so I need to figure it out how to do not cause a re-render of the GlobalState on Login. But for now I will just skip this error message dialog and keep it on console only.

@derrod
Copy link

derrod commented Jan 24, 2022

Ah that would explain it, SIDs are one-time use only.

@Zorrototo
Copy link

Looking forward to a new release to reinstall and continue to use it as an AUR package 👍

@flavioislima
Copy link
Member

Fixed since v2.1

@gazhay
Copy link

gazhay commented Feb 8, 2022

Just downloaded latest version today as heroic prompted me to.

Hitting this bug. Unable to login via epic login or sid.

Says "Loading games list" then just get text

{"redirectUrl":"https://epicgames.com/account/personal","authorizationCode":null,"sid":"<redactedSID>"}

`12:17:26) INFO: [Legendary]: [cli] INFO: Getting game list... (this may take a while)

(12:17:26) INFO: [Legendary]: [cli] INFO: Getting game list... (this may take a while)

(12:17:26) INFO: [Legendary]: [Core] INFO: Fetching metadata for 1 app(s).

(12:17:26) INFO: [Legendary]: [Core] INFO: Fetching metadata for 1 app(s).

(12:17:27) ERROR: [Frontend]: Error: Error invoking remote method 'refreshLibrary': TypeError: Cannot read properties of null (reading 'title')

(12:17:27) INFO: [Frontend]: No cache found, getting data from legendary...

(12:17:27) ERROR: [Frontend]: Error: Error invoking remote method 'refreshLibrary': TypeError: Cannot read properties of null (reading 'title')

(12:17:27) INFO: [Frontend]: No cache found, getting data from legendary...

(12:17:27) INFO: [Legendary]: Refreshing library...

(12:17:27) INFO: [Legendary]: Refreshing library...`

@gazhay
Copy link

gazhay commented Feb 8, 2022

Closing the appimage and relaunching worked.

@MatthewMSaucedo
Copy link

MatthewMSaucedo commented Nov 9, 2022

Hitting this issue - neither standard login, nor SID login work. Relaunched and retried several times; login is as expected in Web Browser.

OS: Fedora 36
Heroic version: heroic-2.3.9-1.x86_64

** EDIT

Nuking my install and redownloading like this worked for me:

dnf copr enable atim/heroic-games-launcher
dnf install heroic-games-launcher-bin

@arielj
Copy link
Collaborator

arielj commented Nov 9, 2022

login is broken on versions older than 2.4.3 (epic server changes), that's why it was not working and it worked after reinstall (you probably installed 2.4.3)

@TheAbstractDev
Copy link

Hello guys,

After installing Heroic (macOS) 2 days ago, it was working fine but today, when trying to launch a game, I had an error message from Heroic telling me to logout and re-login.

Now, I can unfortunately confirm that the login doesn't work now, either with the SID.

I'm currently using the 2.6.2 (Hotfix).

@flavioislima
Copy link
Member

@TheAbstractDev

open a new issue and attach some logs to it for us to check if there is any error during the login 👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue:investigating This issue is being actively investigated.
Projects
None yet
Development

No branches or pull requests