HGL
flat-fuchsia

Heroic needs a re-login too often

it always close and have credential issues so every time i close heroic and open i have to login again.
116 Replies
rare-sapphire
rare-sapphire3y ago
hmmm it started happening to me, legendary shows not logged in in the status and I have nothing to accept in my account, I'll keep testing if it happens again tomorrow
robust-apricot
robust-apricot3y ago
It happend for me too. But only every couple days. No pattern as far as I can see. Started happening since update 2.6 i think https://discord.com/channels/812703221789097985/1076899143525617825
modern-teal
modern-teal3y ago
same with me, my credentials expired almost everyday, maybe every 2 day, i just have to log out and log in again, but it's annoying
foreign-sapphire
foreign-sapphire3y ago
same! gosh i have to login to epic literally EVERY DAY :\
CommandMC
CommandMC3y ago
Open up ~/.config/legendary/user.json (~/.var/app/com.heroicgameslauncher.hgl/config/legendary/user.json on Flatpak) and check what refresh_expires_at says. That date should be around a month after you last logged in
modern-teal
modern-teal3y ago
my last login is yesterday and refresh_expires_at : 2023-03-23 it's around a month
robust-apricot
robust-apricot3y ago
ok, i was logged out today. My token expires now at 2023-03-01 T17:26 that's in 7 hours. huh? expires in 28800 so, 8h, probably timezone difference. But why so early? how do I change that? ah no wait refresh that's march 24
CommandMC
CommandMC3y ago
Those both sound alright Now just continue using Heroic & see if you're ever logged out before that date
robust-apricot
robust-apricot3y ago
i will. but I'm 100% sure i was never logged in for more than ~5 days since the heroic 2.6 update. ok, maybe last login did work for 10 days. :PepeLaughing:
broad-brown
broad-brown3y ago
Same issue here, EGS just logs out
modern-teal
modern-teal3y ago
just opened heroic now
modern-teal
modern-teal3y ago
No description
foreign-sapphire
foreign-sapphire3y ago
hmmm if i try to locate user.json on my linux there's nothing anywhere 🤔
modern-teal
modern-teal3y ago
you used flatpak?
foreign-sapphire
foreign-sapphire3y ago
i've used the .deb file, i'm un ubuntu 22.04 latest update
modern-teal
modern-teal3y ago
eh, no idea, never used ubuntu, can you send screenshot of your file manager?
foreign-sapphire
foreign-sapphire3y ago
any folder in particular? the problem is that if i use "locate" to find the json you asked before nothing is shown, and i don't know how to check for the settings files for the launcher ^^"
other-emerald
other-emerald3y ago
.config/legendary
foreign-sapphire
foreign-sapphire3y ago
found! thanks 😄 it should refresh in date 2023-03-25 at 5.36.57pm 🤔 i'm quite sure i have to relog tomorrow ^^^" though there's the string "expires_at": "2023-03-03T01:36:57.494Z" that looks like it will expire tomorrow at 1.36 am, so in about 5 hours and change
CommandMC
CommandMC3y ago
That's normal. When that token expires, the refresh token will be used to, well, refresh it That's why only refresh_expires_at matters
foreign-sapphire
foreign-sapphire3y ago
so my token should expires in about 5 hours and then it should automatically refresh with the other token to last untill 25-03-2023 🤔 i'll check back tomorrow morning i guess ^^
robust-apricot
robust-apricot3y ago
I'm logged out again. I was logged in 3 hours ago. No idea what is happening... refresh token was 24th of March yesterday
CommandMC
CommandMC3y ago
Head to ~/.config/heroic/logs and send in all legendary logs that are from today/yesterday
robust-apricot
robust-apricot3y ago
Will do that tomorrow. Time for bed for me :KEKL:
rare-sapphire
rare-sapphire3y ago
do you have any non-english character in your user name or? like î or ®? that \xae character relates to some of those it seems like legendary can't handle those characters properly
robust-apricot
robust-apricot3y ago
no as i said. Before heroic 2.6 this problem wasn't there I mean, my username is in the log at least in the last one
rare-sapphire
rare-sapphire3y ago
oh it seems like legendary is having issues parsing a game with one of those characters, do you have any game with the copyright sign in the name? like rocket league for example I think has that
robust-apricot
robust-apricot3y ago
idk. Why would that even be a thing? I'm also not the only one where heroic/legendary logs out every couple days I just send my logs like @CommandMC suggested
rare-sapphire
rare-sapphire3y ago
but apart from that error it says Successfully logged in as "bastiHST" are you having the issue with being logged out right now? I'm not sure either, I was just looking at the log and saw that error, now I think it's unrelated but I was trying to figure that out
robust-apricot
robust-apricot3y ago
I need to login manually every couple days. Normally the login should be like 1 month or so. Idk I just know that this wasn't a problem before heroics 2.6 update I also think that it maybe isn't day related, more like how often you start heroic. But could be wrong And the successfully login in the last log is probably my manually login I did because I was logged out again
other-emerald
other-emerald3y ago
Yes, that's true but it is also a coincidence. If you look at our code you will see that we did not change anything related to login from 2.5 to 2.6. This is not the first time epic does that to us. The time they were asking for birthday as well, making login do not work at all on heroic, was in the same day we did a release. And people thought that was on heroic but was actually epic There are things we can't control
robust-apricot
robust-apricot3y ago
yeah, i can imagine. But it's just the timeframe where it happend / when I noticed this problem epic :ReallyMad:
stormy-gold
stormy-gold3y ago
I am facing the same problem ever since the v2.6.1 dropped. I literally have to login everyday on Heroic and the annoying part is that, it logs out but when clicked on Login it just uses previous login details and logs back in every time. I even tried deleting the .config folder to reset credentials but that didn't work as well. Is this something related to Heroic or Legendary? It's getting pretty annoying right now to use Heroic and having to login every single day.
deep-jade
deep-jade3y ago
I've been having the same problem. Here's my logs. Also I cannot find the user.json file which is supposed to store the refresh token.
deep-jade
deep-jade3y ago
Okay, this may have something to do with me aborting the alternative login method half way a few weeks back. There was one time where I clicked the Epic alternative login method in Steam Deck game mode, and since it cannot display the browser so I then tried the normal login. Maybe that messed thing up I'm not sure. I just tried using alternative login in Desktop mode again and this time it created the user.json file, with refresh_expires_at set to 27 March, access_token will expire in about 10 hours. Let's see this time if it will log me out again.
fair-rose
fair-rose3y ago
I have the same issue should i post my heroic log?
foreign-sapphire
foreign-sapphire3y ago
so... i could play untill yesterday night, my login lasted around 2 days
stormy-gold
stormy-gold3y ago
That's not the point though, the problem is that people are facing this issue and we don't have a conclusion on whether it's something related to Heroic or Legendary.
foreign-sapphire
foreign-sapphire3y ago
I've got a question for you all, when you get to the stores account settings and the store page on heroic, do you have your account logged in and you have to press on "log out" to log in back again choosing a method or is it just me? 🤔
other-emerald
other-emerald3y ago
This is the worst type of issue to investigate. Does not affect everyone. For some people works for a few days for other one day only. And it's hard to test since it takes sometime to trigger the issue. For me it was solved after logged in into the epic games store In my browser and update some information there. Any information. After that I'm using for I believe 2 weeks and no issues And I'm logged in into 4 different devices. Steam deck, Linux, Mac and Windows. I still think it is something on the account that is not working with the authorization code we use and then logs the person out
CommandMC
CommandMC3y ago
[EPCAPI] ERROR: Login to EGS API failed with errorCode: errors.com.epicgames.account.auth_token.invalid_refresh_token
[Core] ERROR: Stored credentials are no longer valid! Please login again.
[EPCAPI] ERROR: Login to EGS API failed with errorCode: errors.com.epicgames.account.auth_token.invalid_refresh_token
[Core] ERROR: Stored credentials are no longer valid! Please login again.
Well, there we go. Epic is reporting that your refresh token is invalid (even if it shouldn't be yet) Nothing we can do here then, and also nothing relating to Heroic versions Starting the alternative login & then going back does absolutely nothing In general, the "normal" and alternative logins do the same thing really (one opens up the login page in Heroic while the other opens it in your browser) The store page is not where you manage logged in accounts. For that, go to, well, "Manage Accounts"
deep-jade
deep-jade3y ago
So if it’s not an issue with either Heroic or Legendary, I guess it’s just Epic being naughty and randomly invalidates people’s refresh tokens before they expire. If you are unlucky. 🤷‍♂️
stormy-gold
stormy-gold3y ago
So all the folks who are having this issue are supposed to remain on the mercy of Epic not randomly invalidating our login tokens, is that the case?
CommandMC
CommandMC3y ago
For now, yes The real question would now be why this is happening, but I doubt we can figure this out without any help from Epic's side. And considering that's a little unlikely, you'll probably just have to live with it
fair-rose
fair-rose3y ago
sad :(
foreign-sapphire
foreign-sapphire3y ago
hmmmm sounds like my login lasts randomly from 1 to 2 days 🤔 seems like that if i don't log in for 1 day it log me off 🤔 what's weird is that sometimes i'm still appearing logged in from the "manage accounts" page, and sometimes, like right now i'm not logged in and i have the "epic games login" and "epic games login alternative method" buttons 🤔 while if i go to the "stores" page i'm theoretically logged off, but on the page i see there i'm logged in! O.O i can't understand why
CommandMC
CommandMC3y ago
The Store is a completely separate thing from "normal" Heroic. You can think of it as an integrated Web browser
like-gold
like-gold3y ago
It only happened when I updated the Heroic version that it bugs me with "Your credentials have expired, please log out and log in again." With the old version it never happened.
robust-apricot
robust-apricot3y ago
i had this today. Games were shown, but my credentials were expired, i had to logout and login again. (with credentials etc) Before, the games were just gone and I had to login (which heroic/epic did automatically)
extended-salmon
extended-salmon3y ago
Does thos happen for every package type? Someone said it only happens for appimage but not for flatpak
robust-apricot
robust-apricot3y ago
i use flatpak on steam deck
fair-rose
fair-rose3y ago
I'm on aur
robust-apricot
robust-apricot3y ago
at first the games were just gone and I had to login again, which worked automatically when I clicked on the login button. Now my credentials always expire and I need to login manually (with email, password + verification code) which is super annoying and unfortunate
fair-rose
fair-rose3y ago
Idk about u guys but mine is magically fixed, I've done nothing but it works now
robust-apricot
robust-apricot3y ago
Hm. no. Still bad for me
CommandMC
CommandMC3y ago
@MULTAIVERSE @y0ur5h4d0w @Cycle Jackson @don @Fix @olas.cavie (did I forget anyone?) This issue should now be fixed with the latest Heroic release
stormy-gold
stormy-gold3y ago
@CommandMC It's happening again in v2.7.1 Both yesterday and today, it failed again to launch the game and showed the login error.
stormy-gold
stormy-gold3y ago
This has been popping up ever since I updated from v2.7.0 to the Hotfix Update v2.7.1 around 2 days ago.
No description
graceful-blue
graceful-blue3y ago
Hi mine can't login to epic at all. I tried both login method. First login with epic game, it will appear incorrect response please refresh the page. The alternative method: I typed the token but nothing happen
other-emerald
other-emerald3y ago
The alternative login has a problem that it is not showing any login feedback. But it works. Just paste the code, click login and wait a few seconds This is something we need to improve
stormy-gold
stormy-gold3y ago
For now, I have reverted back to v2.7.0 where we do have First Startup Black Screen but everything else fine and login fail doesn't happen. I hope we get some fix for this in next update. 🤞🏻
other-emerald
other-emerald3y ago
But login was failing on 2.7 as well Several users and I included could not login as well Even reverting the changes for me doesn't work
xenogeneic-maroon
xenogeneic-maroon3y ago
+1 here heroic is asking me to login everytime that i startup my pc also the first login method never works, have to use the alternative one
stormy-gold
stormy-gold3y ago
It was fixed in v2.7.0. I even acknowledged that when @CommandMC stated the fix with newer update. Only thing that happened for me was the First Startup Black Screen but rest was working fine and I am currently on v2.7.0 and it's working fine. I reinstalled it yesterday and it hasn't yet asked me to re-login again. Both login methods are working fine for me on v2.7.0 but on v2.7.1 I could login using normal login whereas SID method wasn't working for some reason, I have no clue if I am the only one or not but normal login was working fine but not SID one.
other-emerald
other-emerald3y ago
Alt Login is working fine just make sure you are not using the same Code twice once you use it it wont work again maybe we need to add this info to the screen
stormy-gold
stormy-gold3y ago
I did use different code but it wasn't working so I just used normal method it worked just fine. One thing I do need help on is, Is there anyway to disable the Heroic Update notification on every startup? Or is it just gonna pop up each time I open Heroic?
broad-brown
broad-brown3y ago
This is still an issue, i just get kicked out randomly.
stormy-gold
stormy-gold3y ago
Like login-wise in heroic? Day before yesterday before I reported the login issue, I had to login twice in Heroic I don't know why but it did kick me out randomly twice in v2.7.1
other-emerald
other-emerald3y ago
that is pretty random because for me 2.7 also does not work and I thought it was because our user agent for the webview was using an old firefox version, so I updated it and was working, but since yesterday its not working anymore
other-emerald
other-emerald3y ago
here from 2.7
No description
other-emerald
other-emerald3y ago
there is an option in settings
stormy-gold
stormy-gold3y ago
I did uncheck it if you are referring to "Check for Heroic Updates on Startup" For me it's working fine since yesterday when I reinstalled Heroic on 2.7.0 after full cleanup. Maybe it's random I guess
other-emerald
other-emerald3y ago
yes, some other people can login just fine yes so maybe thats another bug I will check
stormy-gold
stormy-gold3y ago
Sure, take your time. No worries!
other-emerald
other-emerald3y ago
just tested here, the setting is working fine I disabled it, opened 2.7 and it does not show any notification for an update and does not show on the sidebar then I enabled it and it shows a notification of a new version and also shows on the sidebar so just uncheck it if you want
broad-brown
broad-brown3y ago
For the record; i have no problems with logging in with 2.7.1 or neither did with 2.7 either. Problem is i have to login practically every day 🐸
stormy-gold
stormy-gold3y ago
I do have it unchecked right now and it still shows the notification I guess some things are working fine for me and some things are working fine for you That's the only problem in 2.7.1 that I faced. I had to login each day and had to login even twice once on same day But it's all random, for me it happened but for others it didn't
broad-brown
broad-brown3y ago
Yep, that is frustrating
stormy-gold
stormy-gold3y ago
Oh, one more thing I forgot to mention is that. While I used normal method on 2.7.1 and even before the login bug was happening on older version before 2.7.0 if you are using normal method for logging and you get logged out. Just clicking on login via Normal method restores the credentials and logs back in without showing Epic Login Screen. It simply restored the login once I got logged out in Heroic by just clicking on Login (via normal Epic login)
other-emerald
other-emerald3y ago
thats because you will keep logged in at the store so it will use the credentials you have there
stormy-gold
stormy-gold3y ago
Oh okay, gotcha! Well, I tried toggling on and off in v2.7.0 and it still shows the update pop-up regardless of option toggled ON or OFF for me right now Maybe it's a bug so keep an eye on this one as well 🙂
rare-sapphire
rare-sapphire3y ago
@"Leopard" do you have to re-login only on 2.7.1? or if you go back to 2.7.0 it happens too?
broad-brown
broad-brown3y ago
Also happens on 2.7.0.
other-emerald
other-emerald3y ago
You guys haing issues with the login, can you try the build from this PR on github (you need to login to download the artifacts): https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/actions/runs/4906572797?pr=2688 the above for linux, this one for windows: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/actions/runs/4906572802?pr=2688
stormy-gold
stormy-gold3y ago
As of yesterday, I am getting this error on both v2.7.0 and v2.7.1 on both Portable as well Setup version of the Heroic.
stormy-gold
stormy-gold3y ago
No description
stormy-gold
stormy-gold3y ago
Is this related to Legendary only or something in Heroic? It just popped up yesterday out of nowhere while I was launching a game like usual.
CommandMC
CommandMC3y ago
Yup, Epic screwed this up on their end, both the EGL and Heroic have this issue https://twitter.com/CommandMC_DE/status/1662024814238875648
stormy-gold
stormy-gold3y ago
😭
CommandMC
CommandMC3y ago
Well, the error doesn't mean anything You can just ignore it
stormy-gold
stormy-gold3y ago
I did but game wasn't launching after few tries
CommandMC
CommandMC3y ago
That's caused by something else then
stormy-gold
stormy-gold3y ago
Is this the same thing that screwed up Heroic earlier with those token things?
CommandMC
CommandMC3y ago
No
stormy-gold
stormy-gold3y ago
Alright then
CommandMC
CommandMC3y ago
Epic put a specific character (\t, the character that "means" the tab key) into the internal name of a game; we try to save a file with that name but filenames can't contain that character The EGL simply ignores this specific app (it's one of the DLCs for Fallout New Vegas), while Heroic throws an error
stormy-gold
stormy-gold3y ago
So until Epic removes this specific character from the internal name of the games, we are stuck with this pop-up error?
CommandMC
CommandMC3y ago
Well, chances are they will, since it also means you can't install this DLC in the EGL
stormy-gold
stormy-gold3y ago
They did release Fallout New Vegas Ultimate Edition as a free game yesterday, so let's hope they fix this.
rare-sapphire
rare-sapphire3y ago
check this thread about fall out new vegas https://discord.com/channels/812703221789097985/1111439828995809290 to make it work
stormy-gold
stormy-gold3y ago
So this is back again
No description
stormy-gold
stormy-gold3y ago
I updated from v2.7.0 to v.2.80 and we are back Is there any specific source for this problem that has been identified cause I think many users don't face this issue at all and some still does like me.
CommandMC
CommandMC3y ago
The issue is known (it's a race condition, two processes write to the same file & if the timing is bad, one overwrites the information the other just saved) & resolved in https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/2770. If you're using a native version of Heroic (.deb, .rpm, .pacman, etc.), you can download the AppImage file from that PR and use it for now Problem with this issue is that as a developer, you have no idea if you've just caused this issue (there's no warnings or anything about this, it just doesn't work for some users)
stormy-gold
stormy-gold3y ago
I am on PC so I can only use portable or setup and both have this error At least it saves credentials due to Epic Store access which saves a click but I have to restart Heroic for this 😦
CommandMC
CommandMC3y ago
I see, the original post was tagged with "Linux" so I was assuming that's what you're using as well The portable Windows version for that PR is also downloadable (https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/actions/runs/5164789200)
magic-amber
magic-amber3y ago
Where is the AppImage ?
CommandMC
CommandMC3y ago
That would be https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/actions/runs/5164789203 (scroll down to "Artifacts", click the name to download; note that you need to be logged in to download)
magic-amber
magic-amber3y ago
Now it say me "expired" and the download is disabled.
adverse-sapphire
adverse-sapphire3y ago
GitHub
[Mac] Allow disabling automatic Applications shortcut creation (#28...
A Native GOG and Epic Games Launcher for Linux, Windows and Mac. - [Mac] Allow disabling automatic Applications shortcut creation (#2811) · Heroic-Games-Launcher/HeroicGamesLauncher@417cf5c
equal-aqua
equal-aqua3y ago
heh i need help its possible? @HELPERS hey @OOOOOF123
equal-aqua
equal-aqua3y ago
No description
fair-rose
fair-rose3y ago
Don't ping random people, and be more specific, and open a new support post.
CommandMC
CommandMC3y ago
This looks like standard snap issues. The package's on edge for a reason

Did you find this page helpful?