mapbox / mapbox/mapbox-maps-ios
Failed with Status 429 on Offline download
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
Offline downloads are taking a really long time. Even the shortest downloads are very slow. I am seeing a lot of warings like this:
[Warning, tile_store]: id=324, tag=offline, variant=maps:hiiker-maps.5d86w3u0/ coord=11[11->14]/1000/685 : failed with HTTP status 429 after 1.28213s; delaying for 58.8493s after 1 attempts; 4 downloads waiting
Would you have any insight into what is causing this, and how I can prevent it?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing an offline download and tracing the tile_store warnings showing HTTP 429 responses and long delays. Inspect how offline requests are scheduled and retried; done means identifying the cause of the rate limiting and a concrete way to prevent or reduce these failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100