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

Open
#258 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
api

Research direction

Start by tracing QdrantConfig::from_url, connect_timeout, and build to see where connection setup currently stops, then compare that behavior with the first API call. Define the connection-error behavior for an unavailable server at http://localhost:6334 and verify it with a local connection test.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Rust
Stars
425
Forks
89
Avg merge
2h 48m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from qdrant/rust-client

All issues in qdrant/rust-client

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.