mapbox / mapbox/mapbox-gl-js

Does mapbox server block the ip from China for request "styles"

Open
#13,374 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged needs information :pray:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

mapbox-gl-js version: 0.51.0

browser: Chrome

Steps to Trigger Behavior
construct a web app with mapbox
run app and inspect the chrome dev-tool

The request "https://api.mapbox.com/styles/v1/mapbox/outdoors-v10?optimize=true&access_token=xxx" fail for 'net::ERR_CONNECTION_REFUSED',
and the request "https://api.mapbox.cn/styles/v1/mapbox/outdoors-v10?optimize=true&access_token=xxx" also failed.

But, turn on vpn , the request "https://api.mapbox.com/styles/v1/mapbox/outdoors-v10?optimize=true&access_token=xxx" successfully!!

It seems that mapbox server block the IP from China. Sorry for that said.
So, if it is possible to make it run successfully.
Anyone helps?

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

No repository file, test, or entry point is identified. Start by reproducing the requests to api.mapbox.com and api.mapbox.cn from China with and without a VPN, then determine whether the behavior is within mapbox-gl-js; done requires a confirmed supported resolution or a clear project-level explanation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
networking, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.