Docker datasource bypasses abortOnError: one transient Docker Hub EPIPE aborts the entire repository run (port #44326 to docker) #45057
Unanswered
lusoris
asked this question in
Request Help
Replies: 1 comment
|
Hi there, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the proposed change(s).
abortOnError: falsehost rules have no effect on the docker datasource:lib/modules/datasource/docker/{common,index}.tsthrowsExternalHostErrordirectly onRequestError/429/5xx, andlib/workers/repository/error.tsthen aborts the entire repository run unconditionally on anyExternalHostError.Practical effect (observed on v43.281.1, self-hosted): a repository scan extracted 777 dependencies, hit a single transient
RequestError: write EPIPEonGET https://index.docker.io/v2/for one anonymous Docker Hub lookup, loggedExternal host error causing abort - skipping, and finished"result": "external-host-error"after 855 s — discarding the whole 14-minute scan, including all pending helm lookups, because of one TCP reset on one unauthenticated endpoint. A scoped host rule (matchHost: "docker.io",abortOnError: false) was verified to be a no-op against the pinned source for exactly this reason.#44326 (merged 2026-07-07) fixed this same class by replacing the direct throw with
handleGenericErrors— but only for the repology datasource. This issue asks for the same treatment in the docker datasource, soabortOnError: falseregains its documented meaning there. Related discussion of the bug class: #44329.Happy to test a fix against our self-hosted setup — the failure reproduces multiple times per week at our scan volume.
All reactions