HeroicGamesLauncher
HeroicGamesLauncher copied to clipboard
It is not possible to log in again at Amazon
Describe the bug
I logged out of my accounts because not all my games are listed even after forcing the library update. Now I can no longer play my Amazon games, I'm stuck at the "Preparing to login..." page.
Add logs
[29/12/2023, 23:01:54] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile --version
1.0.0 Jonathan Joestar
[29/12/2023, 23:03:06] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive
ERROR [CLI]: You are already logged in
[29/12/2023, 23:12:07] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile --version
1.0.0 Jonathan Joestar
[29/12/2023, 23:13:42] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive
ERROR [CLI]: You are already logged in
[29/12/2023, 23:15:39] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive
ERROR [CLI]: You are already logged in
[29/12/2023, 23:19:09] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive
ERROR [CLI]: You are already logged in
[29/12/2023, 23:21:57] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive
ERROR [CLI]: You are already logged in
[29/12/2023, 23:23:33] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile --version
1.0.0 Jonathan Joestar
[29/12/2023, 23:32:12] NILE_CONFIG_PATH=/home/eight/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive
ERROR [CLI]: You are already logged in
Steps to reproduce
- Go to 'Manage Accounts'
- Click on 'Amazon Log Out'
- Click on 'Amazon Login'
- See error
Expected behavior
After logging out, I can log back into my account.
Screenshots
https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/assets/66787796/21042338-ac70-4ffc-8161-6b2a4358d62e
Heroic Version
Latest Stable
System Information
CPU: 8x Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz Memory: 8.17 GB (used: 4.53 GB) GPUs: GPU 0: Name: NVIDIA Corporation GM108M [GeForce MX130] IDs: D=174d V=10de SD=128e SV=1025 Driver: nvidia GPU 1: Name: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] IDs: D=3ea0 V=8086 SD=128d SV=1025 Driver: i915 OS: Arch Linux 6.5.6-zen2-1-zen (linux)
The current system is not a Steam Deck We are not running inside a Flatpak container
Software Versions: Heroic: 2.11.0 Kumachi Legendary: 0.20.33 Undue Alarm gogdl: 0.7.3 Nile: 1.0.0 Jonathan Joestar
Additional information
No response
I can confirm this bug, cannot login in a Amazon Account. Reinstalled application but error continues. Below error in page of Amazon Login:
App.e96a446e.js:197 Loading amazon login data index.html#/loginweb/nile:1 Uncaught (in promise) Error: Error invoking remote method 'getAmazonLoginData': SyntaxError: Unexpected end of JSON input Promise.then (async) (anonymous) @ App.e96a446e.js:197 gl @ index.581367d9.js:41 Ei @ index.581367d9.js:41 G3 @ index.581367d9.js:41 Nr @ index.581367d9.js:41 Lh @ index.581367d9.js:41 Cr @ index.581367d9.js:39 (anonymous) @ index.581367d9.js:41
And this configuration log of application:
[1/8/2024, 9:39:02 PM] NILE_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/nile --version 1.0.0 Jonathan Joestar [1/8/2024, 9:39:14 PM] NILE_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive ERROR [CLI]: You are already logged in [1/8/2024, 9:42:43 PM] NILE_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/nile auth --login --non-interactive ERROR [CLI]: You are already logged in
simply delete the files "user.json, library.json and installed.json" in the following directory "Homedir/.config/heroic/nile_config/nile/" and restart Heroic, then it worked again for me
@SkalCore 's solution worked for me as well. For anyone who might find this and it using the Flatpak - the files to delete were located in the folder here:
~/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config/nile
Note: you'll need to reimport any Amazon games that were installed as Heroic won't recognize they are installed. You might also have to reinstall them.
OS: Ubuntu 23.10
Thanks! This solution by @SkalCore resolved the issue.