Skip to content

Client does not check if it is able to connect to qdrant #258

@Sebi2020

Description

@Sebi2020

The qdrant client library currently does not verify if it is able to connect to qdrant server. If it is able to connect is only detectable after issuing the first api call.

For example:

QdrantConfig::from_url("http://localhost:6334")
    .connect_timeout(Duration::from_secs(4))
    .build()
    .map_err(|e| Error::new(ErrorKind::Other, e))?;

succeeds immediately. Even if there is no server running at http://localhost:6334. This makes it difficult to observe connection errors. Tested on MacOS 26.1.

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