AchetaGames / Epic-Asset-Manager

A frontend to Assets purchased on Epic Games Store
https://flathub.org/apps/details/io.github.achetagames.epic_asset_manager
MIT License
407 stars 21 forks source link

Failed to query EULA #249

Open EtereosDawn opened 9 months ago

EtereosDawn commented 9 months ago

image

flatpak run io.github.achetagames.epic_asset_manager
<epic_asset_manager> - [DEBUG] - /app/share/epic_asset_manager
<epic_asset_manager> - [DEBUG] - 
<epic_asset_manager> - [DEBUG] - 3.8.4
<epic_asset_manager::application> - [INFO] - Epic Asset Manager (io.github.achetagames.epic_asset_manager)
<epic_asset_manager::application> - [INFO] - Version: 3.8.4 ()
<epic_asset_manager::application> - [INFO] - Datadir: /app/share/epic_asset_manager
<epic_asset_manager::application::imp> - [DEBUG] - GtkApplication<EpicAssetManager>::startup
<epic_asset_manager::tools::epic_web> - [ERROR] - Error parsing json: reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) }
<epic_asset_manager::tools::epic_web> - [ERROR] - Failed to query EULA status: EulaQuery/hasAccountAccepted: Request failed with status code 401 with response: {"errorCode":"errors.com.epicgames.common.authentication.authentication_failed","errorMessage":"Authentication failed for /api/public/agreements/unreal_engine/identities/6f5b18b81b494a52943de110c4623d34","messageVars":["/api/public/agreements/unreal_engine/identities/6f5b18b81b494a52943de110c4623d34"],"numericErrorCode":1032,"originatingService":"com.epicgames.eulatracking.public","intent":"prod","errorStatus":401}
IBeTheBlueCat commented 9 months ago

Here to add that I am having the exact same issue Edit: Using the flatpak version downloaded from KDE discover Edit 2: I am now using the docker version as a workaround, but it would be nice to have both options :sweat_smile:

aknarts commented 9 months ago

What docker version?:) And I will look into it

aknarts commented 9 months ago

I got the docker version....yeah will look as to why we are getting 401

aknarts commented 9 months ago

So this one is a tough nut to crack. It seems like we are hitting some sort of CAPTCHA and it requires an actual browser to evaluate javascript. I will check if it cannot be bypassed somehow, but this is a change that is..painful. In the mean time I can put "manual" download in, meaning put in how to do it by hand.

Jopp-gh commented 7 months ago

Yeah, I'm downloading the Docker version for the same reason.

But I got yet another problem: Epic Asset Manager seems stuck with the extraction part. The download bar is full, but the Extraction bar doesn't move over 12/20. But there's a steady data flow - not sure what Epic Asset Manager really does!

Also, I tried to get UE running through wine, but this didn't work either as many popups don't render properly. Very frustrated :(((

aknarts commented 7 months ago

Just download the official build, that is what the non docker download does

https://www.unrealengine.com/en-US/linux

Also it is not stuck it is extracting the one big chunk and is problematic, but it would complete.

Jopp-gh commented 7 months ago

Thanks. My download finished right now and UE works perfectly. The progress bar of Epic Asset Manager was misleading sometimes (the pie diagram works best at the beginning of a download session, but fails to report the exact progress if the download session takes too long)

Finally I'm happy to have UE working, thanks!

aknarts commented 7 months ago

The entire Engine download process in the app is a mess, it was added as a possibility and was never considered to be the main focus, though I understand it is useful to be able to manage the installations inside one tool. By the way it will pick up the downloaded or compiled engine once it starts at least once, so you can use it as if it was installed by it.