Skip to content

Issue with SniffingConnectionPool and non-http nodes #1957

@EricKeij

Description

@EricKeij

We ran into an issue when using the SniffingConnectionPool and having a node in the cluster with http disabled. This gives an exception saying "Failed sniffing cluster state". Looking at the inner exception it turns out that the actual error occurs in ParseToUri() in SniffResponse which executes a regex getting an empty httpAddress passed in.

The issue does not occur when stopping non-http nodes or when using the StaticConnectionPool and explicitly specify the nodes.

We are using NEST 2.0.4 and ES 2.2.0.

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