Skip to content

Error thrown at pelias elastic create: EHOSTUNREACH #219

@darmentrout

Description

@darmentrout

I'm getting the following output when running the pelias elastic create command. I can reach that internal URL just fine in the browser as well as curl.

$ pelias elastic create
Creating central-ohio_schema_run ... done

--------------
 create index 
--------------

Elasticsearch ERROR: 2020-10-07T20:36:28Z
  Error: Request error, retrying
  GET http://elasticsearch:9200/ => connect EHOSTUNREACH 192.168.160.2:9200
      at Log.error (/code/pelias/schema/node_modules/elasticsearch/src/lib/log.js:239:56)
      at checkRespForFailure (/code/pelias/schema/node_modules/elasticsearch/src/lib/transport.js:298:18)
      at HttpConnector.<anonymous> (/code/pelias/schema/node_modules/elasticsearch/src/lib/connectors/http.js:171:7)
      at ClientRequest.wrapper (/code/pelias/schema/node_modules/lodash/lodash.js:4949:19)
      at ClientRequest.emit (events.js:223:5)
      at Socket.socketErrorListener (_http_client.js:415:9)
      at Socket.emit (events.js:223:5)
      at emitErrorNT (internal/streams/destroy.js:92:8)
      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
      at processTicksAndRejections (internal/process/task_queues.js:81:21)

Elasticsearch WARNING: 2020-10-07T20:36:29Z
  Unable to revive connection: http://elasticsearch:9200/

Elasticsearch WARNING: 2020-10-07T20:36:29Z
  No living connections

NoConnections [Error]: No Living connections
    at sendReqWithConnection (/code/pelias/schema/node_modules/elasticsearch/src/lib/transport.js:266:15)
    at next (/code/pelias/schema/node_modules/elasticsearch/src/lib/connection_pool.js:243:7)
    at processTicksAndRejections (internal/process/task_queues.js:76:11) {
  message: 'No Living connections'
}
unsupported elasticsearch version. try: >=7.4.2

pelias-docker: current version
docker-ce 3:19.03.13-3.el8
container-selinux noarch 2:2.135.0-1.module+el8.2.1+6849+893e4f4a
containerd.io 1.3.7-3.1.el8
docker-ce-cli 1:19.03.13-3.el8
libcgroup 0.41-19.el8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions