-
-
Notifications
You must be signed in to change notification settings - Fork 158
Description
Discussed in #582
Originally posted by jamaps June 15, 2025
Hi y'all
I've been using GitHub pages to host smaller .pmtiles (<50mb or so) for the past few months (and mostly loading and styling them in maplibre). Has been working great!
But recently I'm seeing that .pmtiles files hosted via Github pages are sometimes not loading and returning errors like this in my web browser:
-
In Chrome,
Error: Server returned no content-length header or content-length exceeding request. Check that your storage backend supports HTTP Byte Serving. -
In Firefox,
"Decoding failed."
My projects still work perfectly fine when testing locally and loading local files, or when loading .pmtiles coming from anywhere else other than a GitHub repo.
Anyone know if GitHub pages has changed how they serve .pmtiles or similar files that rely on range requests? or have any other ideas?
(Noticing as well that Chrome seems to not error as much compared to Firefox, but I don't really understand why there would a browser difference).
Thanks!
~ Jeff