The error occurs when WordPress cannot retrieve the core archive from wordpress.org or downloads.w.org. The request fails due to network blocks, timeout limits, SSL handshake problems, or PHP settings that prevent remote file access.
Recent core releases add strict ZIP validation, so malformed URLs inside the archive also trigger the failure. The issue surfaces during updates, theme or plugin installations, and health checks.