Comments (5)
I'm getting error 504:
<title>504 Gateway Time-out</title>504 Gateway Time-out
nginx/1.13.5
from open-elevation.
If you directly open the URL:
https://api.open-elevation.com/api/v1/lookup?locations=10,10|20,20|41.161758,-8.583933
using a web browser around this posting time, then it eventually a time out request.
I also tried it today (Sep 11, 2020), it was also returning error. It returned 504 error.
Probably the server was down or currently unable to handle your request.
It happened to me too, so I try to host the server myself on localhost and it works.
However, you need to do the setup by yourself and find a proper geotiff map that covers your area.
Setting up the server with Docker is the easiest approach to me.
PS: Request with cURL command line needs the backspace character on the URL to escape the question mark ?
and pipe |
characters. But when testing it on a web browser, omit the backspace character from the URL.
from open-elevation.
docker run -t -i -v /data:/code/data openelevation/open-elevation /code/create-dataset.sh
--2020-11-13 12:16:00-- http://gisweb.ciat.cgiar.org/TRMM/SRTM_Resampled_250m/SRTM_NE_250m_TIF.rar
Resolving gisweb.ciat.cgiar.org (gisweb.ciat.cgiar.org)... 45.5.186.33
Connecting to gisweb.ciat.cgiar.org (gisweb.ciat.cgiar.org)|45.5.186.33|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-11-13 12:16:01 ERROR 404: Not Found.
from open-elevation.
SRTM data are now located at https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/. You can either change the download-srtm-data.sh script and rebuild your own image or download the data yourself and mount them on your container as described in the documentation.
from open-elevation.
Hi.
For the better part of the last 2 years, the API has been completely overloaded (sadly, very little comes in the way of donations, and so I can't really pay for a more beefed up machine).
As of two days ago, though, I have done some tweaks to the backend and the API should be handling the workload much better. Give it a try again!
I will also be pushing a series of updates to the repository and dockerhub, to modernize the project and make it work again.
I will close this issue because I believe that the public API is now working, but feel free to reopen it if it is not. If you have any other issues, please open a separate issue for that.
from open-elevation.
Related Issues (20)
- How to run open-elevation to support 50,000 queries at a time HOT 2
- How to change config file
- moved permanently HOT 1
- "429 Too Many Requests" Error when requesting elevation data
- How can I make a javascript call?
- 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
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.