PMTiles icon indicating copy to clipboard operation
PMTiles copied to clipboard

Failed to fetch error on occasion

Open mapnrd opened this issue 1 year ago • 2 comments

I am hosting pmtiles on aws, rendering with pmtiles 3.0.5 + maplibre 4.1.2. The tiles work well, but on occasion will fail to load a map tile or at very least will throw fetch and cache errors to the console.

This is not generally a big deal, but it will seems to hang on that sometimes. Any help is greatly appreciated!

pmtiles_cache_error

mapnrd avatar Apr 11 '24 18:04 mapnrd

is this Chrome browser on windows? There are no tiles that fail to load that actually appear, right? When zooming there is many tile requests that are cancelled immediately and never make it to the screen, so it may be a benign error message, but worth investigating more.

bdon avatar Apr 14 '24 14:04 bdon

Commenting here to add I experience the same thing on Chrome, but my PMTiles file is hosted locally and rendered with OpenLayers.

Sidders22 avatar Apr 14 '24 16:04 Sidders22

I'm going to close this as a duplicate of #442 which has more information.

bdon avatar Sep 12 '24 15:09 bdon

@mapnrd @Sidders22 can you confirm that you're using Chrome on Windows?

Potential workaround described in https://github.com/protomaps/PMTiles/issues/442#issuecomment-2347943421

bdon avatar Sep 14 '24 04:09 bdon

Workaround is implemented in pmtiles 3.1.0 / ol-pmtiles 1.0.2.

bdon avatar Sep 19 '24 15:09 bdon

Yes, it is chrome on windows. On Sep 13, 2024, at 9:38 PM, Brandon Liu @.***> wrote: @mapnrd @Sidders22 can you confirm that you're using Chrome on Windows? Potential workaround described in #442 (comment)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

mapnrd avatar Sep 19 '24 16:09 mapnrd