Comments (5)
pelias test run also returns the enotfound error
root@jeremy-TECRA-Z40-C-pipl:/home/jeremy/pelias_docker/docker/projects/portland-metro# pelias test run
{ Error: getaddrinfo ENOTFOUND api api:4000
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'api',
host: 'api',
port: '4000' }
from docker.
sorry once again that was a lingering effect of the snap install . deracinating snap and killing remaining processes took care of it
from docker.
It's really interesting that using snap
caused so many issues. We've found it to be problematic as well. Thanks for letting us know
from docker.
I am hitting this again on a new machine and new installs of everything - this time snap not involved. systemctl restart docker
didn't help. Actually this time its different, EAI_AGAIN (appropriately enough given that I seem to be the only person running into this, and 'Ere Am I again ) instead of ENOTFOUND.
Elasticsearch ERROR: 2019-03-17T11:07:18Z
Error: Request error, retrying
GET http://elasticsearch:9200/_nodes => getaddrinfo EAI_AGAIN elasticsearch elasticsearch:9200
at Log.error (/code/pelias/schema/node_modules/elasticsearch/src/lib/log.js:226:56)
at checkRespForFailure (/code/pelias/schema/node_modules/elasticsearch/src/lib/transport.js:259:18)
at HttpConnector.<anonymous> (/code/pelias/schema/node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
at ClientRequest.wrapper (/code/pelias/schema/node_modules/lodash/lodash.js:4935:19)
at ClientRequest.emit (events.js:182:13)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
Elasticsearch WARNING: 2019-03-17T11:07:18Z
Unable to revive connection: http://elasticsearch:9200/
Elasticsearch WARNING: 2019-03-17T11:07:18Z
No living connections
{ Error: No Living connections
at sendReqWithConnection (/code/pelias/schema/node_modules/elasticsearch/src/lib/transport.js:226:15)
at next (/code/pelias/schema/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)
at process._tickCallback (internal/process/next_tick.js:61:11) message: 'No Living connections' }
please install mandatory plugins before continuing.
digging into the pelias command definitions I tried docker-compose run 'schema' node scripts/create_index
by hand which just reproduces the error , while curl -i -H GET http://elasticsearch:9200/_nodes
hits curl: (6) Could not resolve host: elasticsearch
although the latter may be a command I would have to send to the docker container .
pelias compose top
returns
deploy@bolt88:/mnt/storage-box5/data/pelias/docker/projects/portland-metro$ pelias compose top
d51649bcddbd_pelias_elasticsearch
UID PID PPID C STIME TTY TIME CMD
-----------------------------------------------------------------------------------------------------
deploy 29155 29136 2 06:23 ? 00:00:25 /usr/lib/jvm/jre-1.8.0-openjdk/bin/java -Xms2g
-Xmx2g -XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+AlwaysPreTouch -server -Xss1m
-Djava.awt.headless=true -Dfile.encoding=UTF-8
-Djna.nosys=true
-Djdk.io.permissionsUseCanonicalPath=true
-Dio.netty.noUnsafe=true
-Dio.netty.noKeySetOptimization=true
-Dio.netty.recycler.maxCapacityPerThread=0
-Dlog4j.shutdownHookEnabled=false
-Dlog4j2.disable.jmx=true
-Dlog4j.skipJansi=true
-XX:+HeapDumpOnOutOfMemoryError
-Des.cgroups.hierarchy.override=/ -Xms512m
-Xmx512m
-Des.path.home=/usr/share/elasticsearch -cp
/usr/share/elasticsearch/lib/*
org.elasticsearch.bootstrap.Elasticsearch
-Ecluster.name=pelias-dev
-Ediscovery.type=single-node
-Expack.monitoring.enabled=false
-Ebootstrap.memory_lock=true
-Expack.security.enabled=false
deploy 29343 29155 0 06:23 ? 00:00:00 /usr/share/elasticsearch/plugins/x-pack/platfor
m/linux-x86_64/bin/controller
from docker.
BTW - if I have one project running, will this prevent others from running? E.g. I have a machine running pelias prepare all
(for project portland-metro) , can i now run pelias elastic create
in a different project (eg planet) ?
from docker.
Related Issues (20)
- shall i run pelias prepare all after pelias import all command HOT 5
- new polylines data
- new whole planet build result deviation HOT 3
- new whole planet build result deviation in address,venue HOT 1
- Venue data importers
- How to init pelias with the data for multiple countries HOT 2
- pelias elastic create returns invalid host header HOT 3
- PeliasModelError: invalid regex test, https://yavuzgallery.com should not match /https?:\/\// HOT 2
- Self hosted planet build result deviation HOT 5
- Elasticsearch Container keeps restarting HOT 7
- Can't import pelias docker for Quebec HOT 7
- Planet pelias json config openaddresses HOT 9
- Crash / Abort in Node create_thread on Ubuntu 20.04 HOT 1
- Pelias openaddress import seem not working
- North America openaddresses missing data and incomplete
- Missing Address Layer HOT 3
- network pelias_default was found but has incorrect label com.docker.compose.network set to "" HOT 2
- Duplicate key `csv-importer`
- A network with name pelias_default exists but was not created by compose HOT 4
- Cant start docker folowing documentation commands HOT 6
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 docker.