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

The operation has been retried too many times, cancelling #72

Closed
Haukinger opened this issue Mar 7, 2025 · 6 comments
Closed

The operation has been retried too many times, cancelling #72

Haukinger opened this issue Mar 7, 2025 · 6 comments

Comments

@Haukinger
Copy link

When trying to download, I get this error message before starting the first download ("The operation has been retried too many times, cancelling").

Is there anything I can do? Should I retry another day, hoping for a temporary block on gog's side?

@RikudouSage
Copy link
Owner

RikudouSage commented Mar 7, 2025

That's most likely an error on the gog-downloader side. What operating system do you use? And how exactly do you trigger gog-downloader? Using Docker, PHP binary, Windows installer? If Windows, do you use CMD or PowerShell?

@RikudouSage
Copy link
Owner

I released the version 1.12.1, if you update, the real error should be shown instead of the unhelpful "The operation has been retried too many times" message. If you run the command with the parameter -vvv, you should see more debug output which I'd appreciate you sending over.

@Haukinger
Copy link
Author

I'm on windows, downloaded the installer, installed with the installer and started with gog-downloader download --language de --language en --os windows z:\spiele\gog\

I started and ctrl-c'd a few times to get the options right at first

@Haukinger
Copy link
Author

Haukinger commented Mar 7, 2025

This is my output with -vvv:

C:\Users\Hauke>gog-downloader download --language de --language en --os windows -vvv z:\spiele\gog
[A.D. 2044] A.D. 2044 (windows, en): Skipping because it exists and is valid
[Akalabeth: World of Doom] Akalabeth: World of Doom (windows, en): Skipping because it exists and is valid
[Alder's Blood Prologue] Alder's Blood Prologue (windows, en): Skipping because it exists and is valid
[Ascendant] Ascendant (windows, en): Skipping because it exists and is valid
[Ascendant] Ascendant (32-bit version) (windows, en): Skipping because it exists and is valid
[Balls of Steel] Balls of Steel (windows, en): Skipping because it exists and is valid
[Beneath a Steel Sky (1994)] Beneath a Steel Sky (1994) (windows, en): Skipping because it exists and is valid
[Beneath a Steel Sky (1994)] Beneath a Steel Sky (1994) (windows, de): Skipping because it exists and is valid
0.00 B / 0.00 B [>---------------------------] 0% - Starting... 0.00 B / 0.00 B [>---------------------------] 0% - Starting... 0.00 B / 0.00 B [>---------------------------] 0% - Starting...[critical] Error thrown while running command "download --language de --language en --os windows -vvv "z:\spiele\gog\"". Message: "HTTP/1.1 416 Range Not Satisfiable returned for "https://gog-cdn-fastly.gog.com/token=nva=1741425993~dirs=6~token=0ffdc2933ab6169af[redacted]/secure/offline/1449569170/1449569170/52095375164862161/1544/setup_bio_menace_1.1_%2828043%29.exe"."

In CommonResponseTrait.php line 173:

[Symfony\Component\HttpClient\Exception\ClientException (416)]
HTTP/1.1 416 Range Not Satisfiable returned for "https://gog-cdn-fastly.gog.com/token=nva=1741425993~dirs=6~token=0
ffdc2933ab6169af1442/secure/offline/1449569170/1449569170/52095375164862161/1544/setup_bio_menace_1.1_%2828043%29.e
xe".

Exception trace:
at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\http-client\Response\CommonResponseTrait.php:173
Symfony\Component\HttpClient\Response\CurlResponse->checkStatusCode() at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\http-client\Response\TransportResponseTrait.php:65
Symfony\Component\HttpClient\Response\CurlResponse->getHeaders() at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\http-client\Response\TransportResponseTrait.php:265
Symfony\Component\HttpClient\Response\CurlResponse::stream() at n/a:n/a
Generator->next() at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\http-client\Response\ResponseStream.php:42
Symfony\Component\HttpClient\Response\ResponseStream->next() at C:\Users\Hauke\Programme\GOG Downloader\src\Command\DownloadCommand.php:306
App\Command\DownloadCommand->{closure:App\Command\DownloadCommand::execute():171}() at C:\Users\Hauke\Programme\GOG Downloader\src\Service\RetryService.php:26
App\Service\RetryService->retry() at C:\Users\Hauke\Programme\GOG Downloader\src\Command\DownloadCommand.php:171
App\Command\DownloadCommand->execute() at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\console\Command\Command.php:326
Symfony\Component\Console\Command\Command->run() at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\console\Application.php:1096
Symfony\Component\Console\Application->doRunCommand() at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\console\Application.php:324
Symfony\Component\Console\Application->doRun() at C:\Users\Hauke\Programme\GOG Downloader\vendor\symfony\console\Application.php:175
Symfony\Component\Console\Application->run() at C:\Users\Hauke\Programme\GOG Downloader\php-bin\app.php:22

download [--no-verify] [-o|--os OS] [-l|--language LANGUAGE] [--language-fallback-english] [-u|--update] [--exclude-game-with-language EXCLUDE-GAME-WITH-LANGUAGE] [--retry RETRY] [--retry-delay RETRY-DELAY] [--skip-errors] [--idle-timeout IDLE-TIMEOUT] [--chunk-size CHUNK-SIZE] [--only ONLY] [--without WITHOUT] [-b|--bandwidth BANDWIDTH] [-e|--extras] [--skip-existing-extras] [--no-games] [--skip-download SKIP-DOWNLOAD] [--] []

@RikudouSage
Copy link
Owner

Well, as a quick help you can use --skip-errors which will ignore downloads that error out, in the meantime I'll work on a solution.

@RikudouSage
Copy link
Owner

Should be fixed in 1.12.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants