Comments (6)
I get the following error in the docker-compose log:
headwaymaps-valhalla_init-1 | http://: Invalid host name. headwaymaps-valhalla_init-1 | xz: (stdin): File format not recognized
The container named headwaymaps-valhalla_init
corresponds to services/valhalla/init.sh
Looking at that file, it seems likely that you're trying to download $VALHALLA_ARTIFACT_URL. But that shouldn't happen if you've built all the artifacts as the instructions describe.
I do have Earthly installed and running, but when I try to run the docker-compose,
Did you run the build? Something like:
earthly -P +build --area=Amsterdam
Did it succeed?
from headway.
For context, broadly speaking, there are two parts to this project.
- The part that compiles all the mapping data (e.g.
earthly +build
) - The services that hosts the compiled mapping data. (e.g.
docker compose up
)
We cant expect the second part to work without the first part being completed. Your original report was an error with starting docker compose, but first you'll have to figure out why building the data failed.
+pelias-import failed | Elasticsearch did not come up, check configuration
Any thoughts why elasticsearch didn't come up?
For very large builds (planet scale) I've had issues with what I suspect might actually be a timeout:
pelias/docker#217 (comment)
I haven't run into that issue on smaller builds, but I suppose that could depend on your machine setup. Adjusting your esclient timeout for the build portion as I did in the link could be one thing you try.
from headway.
NY+PA is a big extract, so I'd suspect memory pressure as a potential reason elasticsearch might not come up during import. Try setting your buildkit parallelism to 1 according to FULL_PLANET.md. Just a hunch :)
from headway.
Looks like I may not have documented buildkit parallelism, but you can follow this documentation to set up an earthly config file. Glancing through the docs it looks like running earthly config global.buildkit_max_parallelism 1
might also work.
from headway.
It's pretty easy to OOM while working with large extracts or planet builds if you allow earthly to run many tasks in parallel. I've done it even with 128gb of RAM. I don't think it's a timeout issue but that's certainly possible too. Super curious to see if the buildkit parallelism tweak fixes it. Failing that, another good data point would be building a small area like Amsterdam.
from headway.
It's impossible to diagnose this without build logs.
from headway.
Related Issues (20)
- The place URL doesn't update with subsequent searches unless you click "clear" HOT 1
- The map should start more zoomed in when possible HOT 1
- Allow to select other POIs while one is already selected HOT 5
- Show more data about POI when clicked HOT 1
- Change cursor when hovering over a POI HOT 1
- "Show my location" feature HOT 3
- What format are the codes in the `--countries` build argument? HOT 3
- Increase `retry_count` pelias/services/wait.sh or make configurable HOT 5
- valhalla-build-polylines aborts HOT 2
- Question - How to pass multiple OTP-Instances to Transitmux using Earthfile HOT 6
- Headway, helm & hardening HOT 2
- Headway shows trip-items as "Walk" instead of "Subway" HOT 2
- about.maps.earth certificate error HOT 1
- Is there more documentatin besides BUILD.md HOT 5
- Error when building with north-america-latest HOT 2
- Integrating Overture Map's "Places theme"? HOT 1
- README seems incomplete or maybe it's a me issue? HOT 2
- error: Earthfile line 401:4 copy artifact: apply build +gtfs-get-mobilitydb: earthfile2llb for +gtfs-get-mobilitydb: parse target name +debian:bookworm-slim: target name debian:bookworm-slim does not match ^[a-z][a-zA-Z0-9.\-]*$ HOT 18
- Fix build on macos 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 headway.