All GOG games fail to update

Trying to update any GOG game on my Linux system fails after a few seconds with the progress at 0% in the UI. Below is the section of the Heroic log from trying to update A Hat in Time.
(23:17:41) ERROR: [Gog]: stdout = false and res.abort = false in getInstallInfo
(23:17:41) INFO: [DownloadManager]: A Hat in Time was added to the download queue.
(23:17:41) INFO: [Gog]: Running command: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json auth
(23:17:41) INFO: [Gog]: Updating 1686426343: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json update 1686426343 --platform windows "--path=/extrapool/aidan/heroic/A Hat in Time" --token <redacted> --with-dlcs --lang=en-US
(23:17:41) DEBUG: [Gog]: Logging to file "/home/aidan/.config/heroic/GamesConfig/1686426343.log"
(23:17:43) INFO: [Gog]: Running command: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json auth
(23:17:43) INFO: [Gog]: Getting game metadata: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json info 1686426343 --token <redacted> --lang=en-US --os windows
(23:17:44) ERROR: [Gog]: stdout = false and res.abort = false in getInstallInfo
(23:17:45) ERROR: [DownloadManager]: Update of 1686426343 failed with:
(23:17:45) WARNING: [DownloadManager]: Update of 1686426343 failed!
(23:17:41) ERROR: [Gog]: stdout = false and res.abort = false in getInstallInfo
(23:17:41) INFO: [DownloadManager]: A Hat in Time was added to the download queue.
(23:17:41) INFO: [Gog]: Running command: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json auth
(23:17:41) INFO: [Gog]: Updating 1686426343: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json update 1686426343 --platform windows "--path=/extrapool/aidan/heroic/A Hat in Time" --token <redacted> --with-dlcs --lang=en-US
(23:17:41) DEBUG: [Gog]: Logging to file "/home/aidan/.config/heroic/GamesConfig/1686426343.log"
(23:17:43) INFO: [Gog]: Running command: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json auth
(23:17:43) INFO: [Gog]: Getting game metadata: /nix/store/1823dbyhv9kzi55wdgb8j0p78xdhbwln-heroic-unwrapped-2.9.1/share/heroic/build/bin/linux/gogdl --auth-config-path /home/aidan/.config/heroic/gog_store/auth.json info 1686426343 --token <redacted> --lang=en-US --os windows
(23:17:44) ERROR: [Gog]: stdout = false and res.abort = false in getInstallInfo
(23:17:45) ERROR: [DownloadManager]: Update of 1686426343 failed with:
(23:17:45) WARNING: [DownloadManager]: Update of 1686426343 failed!
6 Replies
foreign-sapphire
foreign-sapphireOP2y ago
extended-yellow
extended-yellow2y ago
looks like we have crazy timeout of 1 second which might be an issue on slower connections or in case where server takes some time to respond
foreign-sapphire
foreign-sapphireOP2y ago
I have submitted a pull request to address the too-short timeouts in gogdl: https://github.com/Heroic-Games-Launcher/heroic-gogdl/pull/37
GitHub
Fix insanely-short timeouts of 1 second by aidalgol · Pull Request ...
One second is far too short to allow for slow connections or the server being slower than usual. Increase it to 10 seconds. I have tested these changes with Heroic 2.9.1.
extended-yellow
extended-yellow2y ago
I assume it works
foreign-sapphire
foreign-sapphireOP2y ago
Yes, I have tested it, and it resolves the issue of operations in Heroic that require talking to GOG servers stalling in the UI or failing.
extended-yellow
extended-yellow2y ago
great

Did you find this page helpful?