Skip to content

[Exception] example/bin/getstarted-debug-gnu #10

Description

@mingyitianxia

when I run example/bin/getstarted-debug-gnu, the follow bugs apper:
[root@5b9dbaaa148a cpp-elasticsearch-master]# example/bin/getstarted-debug-gnu
Official name is: localhost, IP addresses: 127.0.0.1 127.0.0.1 , session keep alive connection.
Couldn't connect, connection refused.
Exception caught while reading socket - Connection refused.
Exception in src/http/http.cpp l. 180 ->
error set by getsockopt.
get(0) failed in ElasticSearch::isActive(). Exception caught: error set by getsockopt.
Exception in src/elasticsearch/elasticsearch.cpp l. 14 ->
Cannot create engine, database is not active.
terminate called after throwing an instance of 'Exception'
Aborted (core dumped)

If you know the reason, please help me!
TKS!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions