mapbox / mapbox/mapbox-maps-flutter

NetworkFailure errors when accessing Mapbox vector tiles

Open
#435 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

We are experiencing issues with network failures that are affecting the performance of our mobile application. These failures are logged as `NetworkFailure: cancelled` errors when our app attempts to retrieve vector tiles from Mapbox's API.

This issue has been consistently observed in our New Relic logs, specifically when accessing the following URLs:

- https://api.mapbox.com/v4/mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2/7/32/48.vector.pbf (GET) 180ms

- https://api.mapbox.com/v4/mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2/7/33/52.vector.pbf.

Flutter: 3.16.8
Mapbox Maps Flutter version: 0.5.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the listed vector-tile requests using Mapbox Maps Flutter 0.5.1 with Flutter 3.16.8, and inspect how the integration reports the logged `NetworkFailure: cancelled` errors. The issue names no source files or tests; done would require identifying the cause and confirming that the affected requests no longer produce the failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.