What is happening
A bad content length can desynchronize sequential parsing. Independent gzip members, later WARC version lines, record IDs, and index offsets can help locate intact records, but revisit records may depend on earlier payloads.
WARC archive recovery
WARC files store web responses, requests, metadata, revisit references, and other records with headers, declared content lengths, identifiers, dates, and optional block or payload digests. Gzip-compressed WARC commonly uses one gzip member per record.
Understand the symptom
A bad content length can desynchronize sequential parsing. Independent gzip members, later WARC version lines, record IDs, and index offsets can help locate intact records, but revisit records may depend on earlier payloads.
What you may see
A header, content length, or delimiter may be malformed.
The final record payload or gzip member is incomplete.
Stored block or payload bytes differ from their digest.
The CDX entry and WARC stream may no longer align.
Protect the source
Original headers, spacing, offsets, and timestamps matter.
They may reference content stored in another record.
Candidate WARC lines inside payloads require validation.
Do this now
Hash every WARC, index, and manifest.
Keep logs, configuration, software version, and capture time.
Preserve parser messages and the last valid record ID.
Retain object history, multipart remnants, and source media.
NEPFOSYS process
NEPFOSYS maps version lines, headers, lengths, gzip members, IDs, and index offsets.
Structurally complete records are extracted with original provenance fields.
Payloads, revisit references, dates, and indexes are validated where evidence permits.
A clear next step
Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.
Start with a case reviewQuestions, answered
Often, especially when later boundaries or independent gzip members remain intact.
Not always; it may refer to a payload stored by another record.
Keep recovery output separate so the source archive remains unchanged.
DFW local · Nationwide mail-in