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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
When using mbgl-offline to generate offline tiles and running into errors (i.e. a 401/404 error if you use the wrong token or something in your style does not properly describe the tiles you're trying to download), the script will hang. Here's an example where I purposefully used an incorrect style URL:
The script simply hangs at that last line; one has to quit out and restart it after fixing the offending issue. This can be an especially annoying problem if you are missing a font or some other small resource that you'd be OK with not being included in the offline package.
It looks like we retry on 429 errors; could we include some type of retry logic for 404s? Or skip over that particular resource?
Related to #15819.
When using mbgl-offline to generate offline tiles and running into errors (i.e. a 401/404 error if you use the wrong token or something in your style does not properly describe the tiles you're trying to download), the script will hang. Here's an example where I purposefully used an incorrect style URL:
The script simply hangs at that last line; one has to quit out and restart it after fixing the offending issue. This can be an especially annoying problem if you are missing a font or some other small resource that you'd be OK with not being included in the offline package.
It looks like we retry on 429 errors; could we include some type of retry logic for 404s? Or skip over that particular resource?