You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tiles.btrfs.gz download fails due to instability and missing resume support
When running http-host-static with SKIP_PLANET=false in .env, we repeatedly run into a critical problem with downloading the large tiles.btrfs.gz file (~83 GB) from:
The download frequently aborts mid-transfer, possibly due to Cloudflare timeouts or instability (also on my local computer, having a very stable internet connection). Here's an example:
[#067e13 18GiB/83GiB(21%) CN:1 DL:23MiB ETA:48m13s]
[#067e13 18GiB/83GiB(21%) CN:1 DL:21MiB ETA:51m57s]
04/01 16:31:38 [ERROR] CUID#7 - Download aborted. URI=https://btrfs.openfreemap.com/areas/planet/20250326_001001_pt/tiles.btrfs.gz
Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://btrfs.openfreemap.com/areas/planet/20250326_001001_pt/tiles.btrfs.gz
-> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 19500875776-89946993411/89946993412, Response: 0-89946993411/89946993412
04/01 16:31:38 [NOTICE] Download GID#067e132e16c88ec2 not complete: /data/ofm/http_host/runs/_tmp/tiles.btrfs.gz
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
067e13|ERR | 22MiB/s|/data/ofm/http_host/runs/_tmp/tiles.btrfs.gz
Status Legend:
(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
🔁 Why resuming is not possible
Normally, aria2c or similar tools can resume large downloads using HTTP Range headers. However, in this case, Range headers are ignored by the server, presumably because Cloudflare is caching the file and refusing partial content delivery.
tiles.btrfs.gz
download fails due to instability and missing resume supportWhen running
http-host-static
withSKIP_PLANET=false
in .env, we repeatedly run into a critical problem with downloading the largetiles.btrfs.gz
file (~83 GB) from:💥 The real issue
The download frequently aborts mid-transfer, possibly due to Cloudflare timeouts or instability (also on my local computer, having a very stable internet connection). Here's an example:
🔁 Why resuming is not possible
Normally,
aria2c
or similar tools can resume large downloads using HTTP Range headers. However, in this case, Range headers are ignored by the server, presumably because Cloudflare is caching the file and refusing partial content delivery.Here's a manual test with curl:
Expected:
206 Partial Content
Actual:
200 OK
, full file returned – Range ignored.--split
) fails immediately.Maybe this could help: https://community.cloudflare.com/t/range-header-is-ignore-on-large-files/650787
The text was updated successfully, but these errors were encountered: