diff --git a/CHANGELOG.md b/CHANGELOG.md index e7472d838..184d8fbca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased [minor] + +> Development of this release was supported by [Reset Tech](https://www.reset.tech). + +### Changed + +- Treat navigation timeout errors as transient, enabling automatic retry when pages take too long to load + ## 10.5.0 - 2026-01-20 > Development of this release was supported by [Reset Tech](https://www.reset.tech). diff --git a/src/archivist/fetcher/errors.js b/src/archivist/fetcher/errors.js index f5e8161bf..97853131d 100644 --- a/src/archivist/fetcher/errors.js +++ b/src/archivist/fetcher/errors.js @@ -10,6 +10,7 @@ export class FetchDocumentError extends Error { 'EAI_AGAIN', // DNS lookup temporary failure - DNS server is temporarily unavailable or overloaded 'ETIMEDOUT', // Connection timeout - network latency or server load issues 'ERR_NAME_NOT_RESOLVED', // DNS lookup temporary failure - DNS server is temporarily unavailable or overloaded + 'Timed out after', // Navigation timeout - page took too long to load, might be temporary server overload 'HTTP code 500', // Internal Server Error - server encountered an error while processing the request 'HTTP code 503', // Service Unavailable - server is temporarily overloaded or down for maintenance 'HTTP code 504', // Gateway Timeout - upstream server took too long to respond, might be temporary