Comments (4)
getting the same issue here too
from mapbox-gl-js.
it seems to be because of cloudfront.
using cloudfront you increase dependency and reduce reliability of your services.
professionals are massively removing their domains from the cloudfront
from mapbox-gl-js.
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:
> curl -i 'https://b.tiles.mapbox.com/3dtiles/v1/mapbox.mapbox-3dbuildings-v1/14/15064/9825.glb?access_token=[ACCESS_TOKEN]'
HTTP/1.1 504 Gateway Time-out
Content-Type: text/html
Content-Length: 1033
Connection: keep-alive
Server: CloudFront
Date: Wed, 01 May 2024 00:19:45 GMT
X-Cache: Error from cloudfront
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>504 ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
<BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
<BR clear="all">
<HR noshade size="1px">
<PRE>
Generated by cloudfront (CloudFront)
</PRE>
<ADDRESS>
</ADDRESS>
from mapbox-gl-js.
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.
from mapbox-gl-js.
Related Issues (20)
- Mapbox GL JS Not Displaying All Points When Vector Tiles Are Generated with --generate-ids Option in Tippecanoe
- When the map is scaled to level 11, the transparency of the vector graphics will not be consistent with the transparency I set, but will become 100%
- `text-offset` data-driven cause a warning when click ? HOT 2
- Features lose IDs in queryRenderedFeatures after setData with promoteId
- Using transform:scale in css causes mapbox mouse events to be offset HOT 2
- When using 3D Terrain raster layers with an id starting with a NUMBER forces the layer order to the bottom HOT 2
- why does view matrix need to be flipY?
- Using transform:scale in css causes mapbox mouse events to be offset HOT 1
- FitBounds done not function with projections other than Mercator.
- feature index out of bounds
- Cluster of Polygon feature
- No fullscreen button displayed on iPhone
- three-d Maps
- Threejs PositionalAudio isn't working in a customLayer
- Map.queryRenderedFeatures should respect the right-hand rule
- Mapbox marker does not scale with GeoJSON symbols during pitch and bearing adjustments HOT 1
- Config expression not evaluated in filter
- Bitwise operations in expressions for flag checking
- Support Custom Style with Globe Projection HOT 2
- Feature request: support of pmtiles source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-gl-js.