New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' #13155
Comments
getting the same issue here too |
it seems to be because of cloudfront. |
The CORS error seems to be because we're getting a 504, which cloudfront does not set CORS headers on. CloudFront claims that it could not connect to the mapbox tile servers. The issue seems to be intermittent, but when it's occurring it can be reproduced by curling the offending url:
|
Hi everyone! Sorry for the delay. There was an issue on the API side, and it was fixed recently. Please check that everything works now. I'll close the issue, but please feel free to comment and reopen it if it happens again. |
mapbox-gl-js version: "version": "3.2.0"
browser:
Steps to Trigger Behavior
accessToken: ,
container: 'map',
style: 'mapbox://styles/mapbox/standard',
center: [86.922623, 27.986065],
zoom: 16,
minZoom: 1,
testMode: true
});
Expected Behavior
Must work reliable
Actual Behavior
It began to show CORS error around a week ago in ~50% of cases of run the app with the same map options.
and it is only with URLs like tiles.mapbox.com/3dtiles/v1/mapbox.mapbox-3dbuildings-v1/:
This issue prevents map.on('load', ....
The text was updated successfully, but these errors were encountered: