Skip to content

Commit 183e726

Browse files
authored
Treat navigation timeout errors as transient to enable automatic retry (#1234)
2 parents 2af677d + c8930cd commit 183e726

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
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).
44

5+
## Unreleased [minor]
6+
7+
> Development of this release was supported by [Reset Tech](https://www.reset.tech).
8+
9+
### Changed
10+
11+
- Treat navigation timeout errors as transient, enabling automatic retry when pages take too long to load
12+
513
## 10.5.0 - 2026-01-20
614

715
> Development of this release was supported by [Reset Tech](https://www.reset.tech).

src/archivist/fetcher/errors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class FetchDocumentError extends Error {
1010
'EAI_AGAIN', // DNS lookup temporary failure - DNS server is temporarily unavailable or overloaded
1111
'ETIMEDOUT', // Connection timeout - network latency or server load issues
1212
'ERR_NAME_NOT_RESOLVED', // DNS lookup temporary failure - DNS server is temporarily unavailable or overloaded
13+
'Timed out after', // Navigation timeout - page took too long to load, might be temporary server overload
1314
'HTTP code 500', // Internal Server Error - server encountered an error while processing the request
1415
'HTTP code 503', // Service Unavailable - server is temporarily overloaded or down for maintenance
1516
'HTTP code 504', // Gateway Timeout - upstream server took too long to respond, might be temporary

0 commit comments

Comments
 (0)