Comments (6)
Hi, thank you for your feedback :)
Support has been added for CORS. It's obvious it should have been added from the very start.
Cheers!
from open-elevation.
Agree, when calling the api from code (javascript) I am getting:
Failed to load https://api.open-elevation.com/api/v1/lookup?locations=10%2C10: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Works fine when called live from the browser url
from open-elevation.
Hi,
We experience the same issue, not sure if you have updated the server or added som patch but again when calling the API through JS receiving a CORS error.
Thanks for checking,
from open-elevation.
Hi.
Our service has recently reached a bottleneck once more. Some developers are using it carelessly and, since we don't enforce API keys or similar measures -- and are low on donations -- the servers are blowing up. In particular, I can tell you that the app "Ski Tracker" uses our services and is completely bombarding us with requests non-stop. This made the service unusable for most other users.
As a measure to try to workaround Ski Tracker's aggressive usage of our service (we're being bombarded with hundreds of requests per second), we implemented a more thorough rate limiting system. Sadly, I believe this system is leading to your problems. I have just done some adjustments that might improve your situation. Please tell me if the situation has improved or not.
Sorry for the inconvenience. It's not easy to maintain a free service :(
EDIT: I have noticed that in your logs you received a 504. This is just a general timeout and failure. It may fail due to CORS but it isn't actually a CORS problem, just a problem with the server being overloaded. Sadly, no amount of rate limiting is going to fix this issue (only a beefier machine will help, sadly)
from open-elevation.
from open-elevation.
from open-elevation.
Related Issues (20)
- Public API is down HOT 1
- TLS certificate for `open-elevation.com` has expired HOT 1
- geojson format in the requests
- Issued certificate has expired. To connect to srtm.csi.cgiar.org insecurely, use `--no-check-certificate'.
- Public api does not work HOT 11
- Expired certificate
- replace the .sh scripts with py scriprts HOT 5
- Docker installation help HOT 3
- Elevation=0 HOT 1
- Public POST API not working HOT 1
- latitude, logitude reversed HOT 1
- SSL crt and key files
- Is the elevation value from mean sea level or from the ellipsoid or ?
- TLS certificate for open-elevation.com has expired
- Multiple Access-Control-Allow-Origin headers causing CORS error HOT 1
- Dead repository - Maintained fork available! HOT 4
- WKT
- Altitudes above 60 not working
- Extending API for LandXML input type
- Sonny's LiDAR Digital Terrain Models of Europe
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 open-elevation.